Skip to main content

Rpi remote client

Project description

PyPI - Version

Rpi Remote client

Installation

Install/Upgrade 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

Configuartion

Config file path: ~/.config/rpi_remote/config.ini

This file automatically generated when the service starts. See the example below.

[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

journalctl -fu rpi-remote

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpi_remote-2.1.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

rpi_remote-2.1.1-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page