Metadata-Version: 2.1
Name: rpi-remote
Version: 1.1.0
Summary: Rpi remote client
Author-email: Aron Radics <radics.aron.jozsef@gmail.com>
Project-URL: Homepage, https://github.com/radaron/rpi_remote_client
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: paramiko>=2.12.0
Requires-Dist: requests>=2.28.1
Requires-Dist: psutil>=5.8.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Requires-Dist: pylint; extra == "dev"

![PyPI - Version](https://img.shields.io/pypi/v/rpi-remote?style=for-the-badge&logo=python&logoColor=yellow&link=https%3A%2F%2Fpypi.org%2Fproject%2Frpi-remote%2F)

# Rpi Remote client

## Installation

### Prerequisites
```
sudo apt install openssl build-essential libffi-dev gcc pkg-config python3-dev libssl-dev
```
Install rust: https://www.rust-lang.org/tools/install

### Install package
```
python3 -m pip install --upgrade rpi-remote --user
```

### Create service
```
echo "[Unit]
Description=rpi_remote service
After=multi-user.target
Conflicts=getty@tty1.service
[Service]
User=${USER}
Type=simple
Environment="LC_ALL=C.UTF-8"
Environment="LANG=C.UTF-8"
ExecStart=${HOME}/.local/bin/rpi-remote
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target" | sudo tee /etc/systemd/system/rpi-remote.service
```
```
sudo systemctl daemon-reload
sudo systemctl enable rpi-remote.service
sudo systemctl start rpi-remote.service
```

## Edit config
Config file path: *~/.config/rpi_remote/config.ini*

## Check logs
```
journalctl -fu rpi-remote
```
