https://github.com/radaron/rpi_remote_client
https://github.com/radaron/rpi_remote_client
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/radaron/rpi_remote_client
- Owner: radaron
- License: apache-2.0
- Created: 2022-11-16T01:21:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T22:56:20.000Z (over 1 year ago)
- Last Synced: 2025-04-05T20:31:41.702Z (over 1 year ago)
- Language: Python
- Homepage: https://pypi.org/project/rpi-remote/
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Rpi Remote client
## Installation
### Install/Upgrade package
``` shell
python3 -m pip install --upgrade rpi-remote --user
```
### Create service
``` shell
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
```
``` shell
sudo systemctl daemon-reload
sudo systemctl enable rpi-remote.service
sudo systemctl start rpi-remote.service
```
## Configuartion
Config file path: ```~/.config/rpi_remote/config.ini```
This file automatically generated when the service starts. See the example below.
``` ini
[connection]
server_host = localhost
server_port = 80 # 443 in case of https
ssl = true # true/false
ssh_username = root
ssh_port = 22
period_time_sec = 30
client_name = test_client
disk_path = /media/HDD
```
## Check logs
``` shell
journalctl -fu rpi-remote
```