mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-04-30 10:42:16 +02:00
Adds a new endpoint to update radio and repeater configuration via HTTP API, supporting both persisted storage and live in-memory updates. Supported settings: - Radio: tx_power (2-30 dBm) - Delays: tx_delay_factor, direct_tx_delay_factor, rx_delay_base - Repeater: node_name, latitude, longitude, max_flood_hops, flood_advert_interval_hours, advert_interval_minutes Features: - Validates all input parameters with appropriate ranges - Saves to config.yaml for persistence - Updates daemon's in-memory config for immediate effect (no restart needed) - Returns live_update status so clients know if restart is required This enables web dashboards like pyMC Console to configure the repeater without requiring SSH access or service restarts for most settings. Co-Authored-By: Warp <agent@warp.dev>