FiWiManager/config/default.ini

34 lines
1.4 KiB
INI

; Default Fi-Wi profile — loaded when FIWI_CONFIG is unset and this file exists.
; Put shared defaults here; use a named profile (uax24.ini, uax4.ini, or your own) for hardware-specific values.
; Select a profile: export FIWI_CONFIG=uax24 (or set FIWI_CONFIG in remote_ssh.env)
; Precedence: shell, remote_ssh.env, this INI, code defaults.
[meta]
description = Generic default profile
[paths]
; Under the Fi-Wi install root (directory containing fiwi.py). Backups: same folder, timestamp suffix.
fiber_map = maps/fiber_map.json
[patch_panel]
; Front-panel port count when the map has no patch_panel.slots yet
default_ports = 24
[remote_ssh]
; On the *remote* hub. Use ``python3`` unless BrainStem only exists in a venv; then e.g.
; ``~/Code/FiWiManager/env/bin/python3`` after: cd ~/Code/FiWiManager && python3 -m venv env && env/bin/pip install -r requirements.txt
remote_python = python3
remote_script = ~/Code/FiWiManager/fiwi.py
ssh_bin = ssh
ssh_opts =
; Extra calibrate-only hosts (merged with [remote_hubs] hosts → FIWI_CALIBRATE_REMOTES)
calibrate_remotes =
remote_defer = 0
[remote_hubs]
; Optional label for the first host (e.g. rpi5) — see python -m fiwi.fiwi_relay
; label = rpi5
; BrainStem hubs on other machines: comma-separated user@host (→ FIWI_REMOTE_HUBS).
; Used with panel calibrate hybrid order (local ports first, then each remote).
hosts = rjmcmahon@192.168.1.39