# Copy to remote_ssh.env (same directory as fiwi.py on the machine where you run SSH from). # # Paths below must exist on the *remote* host (e.g. Pi), not on your workstation. # # On the Pi, in the venv with brainstem: # which python3 # realpath /path/to/fiwi.py # Example (Pi): FIWI_REMOTE_PYTHON=/home/pi/venv/bin/python3 # Example (same layout as this repo on the hub host): # Use remote ``python3`` unless brainstem is only in a venv, then e.g.: # FIWI_REMOTE_PYTHON=~/Code/FiWiManager/env/bin/python3 FIWI_REMOTE_PYTHON=python3 FIWI_REMOTE_SCRIPT=~/Code/FiWiManager/fiwi.py # Optional: comma-separated hosts for hybrid panel calibrate (with local hubs in one run): # FIWI_CALIBRATE_REMOTES=pi@192.168.1.50,pi@192.168.1.51 # # Optional SSH client tweaks: # FIWI_SSH_BIN=ssh # Non-interactive panel calibrate uses captured SSH (no password prompt). Use keys + optional: # FIWI_SSH_OPTS=-o BatchMode=yes -o ConnectTimeout=15 # # Optional: deferred remote calls (spawn ssh children; panel calibrate overlaps SSH via Popen): # FIWI_REMOTE_DEFER=1 # # Optional: same keys as config/*.ini [paths] / [patch_panel] (dotenv overrides INI defaults): # FIWI_CONFIG=uax24 # # Optional short name for the first remote (python -m fiwi.fiwi_relay, logs): # FIWI_REMOTE_HUB_LABEL=rpi5 # # Remote BrainStem hosts (comma-separated user@host); merged with FIWI_CALIBRATE_REMOTES for panel calibrate: # FIWI_REMOTE_HUBS=rjmcmahon@192.168.1.39 # FIWI_FIBER_MAP=maps/fiber_map.json # FIWI_DEFAULT_PANEL_PORTS=24 # FIWI_DEFAULT_PANEL_SLOTS=24 ; legacy alias, same meaning