UmberHubManager/remote_ssh.env.example

22 lines
1.0 KiB
Plaintext

# Copy to remote_ssh.env (same folder as hub_manager.py on the machine where you RUN commands, e.g. Fedora).
#
# CRITICAL: HUB_MANAGER_REMOTE_PYTHON and HUB_MANAGER_REMOTE_SCRIPT must be real paths
# that exist ON THE RASPBERRY PI (after you ssh in), NOT on Fedora.
#
# On the Pi, in the venv where you `pip install brainstem`:
# which python3
# realpath /where/you/put/hub_manager.py
# Paste those outputs below. Do not use placeholder paths like "your-venv".
#
# Environment variables override these lines if both are set.
HUB_MANAGER_REMOTE_PYTHON=/home/rjmcmahon/Code/acroname/env/bin/python3
HUB_MANAGER_REMOTE_SCRIPT=/home/rjmcmahon/Code/acroname/hub_manager.py
# Optional: comma-separated Pi (or other) hosts for hybrid calibrate (local + remote in one run):
# python3 hub_manager.py panel calibrate
# HUB_MANAGER_CALIBRATE_REMOTES=pi@192.168.1.50,pi@192.168.1.51
#
# Remotes still need the two lines above: without them, SSH uses `python3` on the Pi and you get
# "No module named 'brainstem'" and 0 remote calibrate steps.