fix(wavelog): push live tuned frequency, not just band center

The CAT push only fired on band select (band center). Fine-tuning inside
OpenWebRX did not update Wavelog. Hook the per-operator live-state updates
(/v1/openwebrx/plugin/live-state) so the actual tuned frequency/mode is
pushed, trailing-debounced (WAVELOG_MIN_INTERVAL_MS, default 3000 ms) so
tuning does not flood the Wavelog API. Band-select push kept as immediate
feedback on band change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ARCG Admin (Claude)
2026-10-22 21:16:17 +02:00
parent 4ced7418cd
commit 061045999b
3 changed files with 75 additions and 10 deletions

View File

@@ -93,3 +93,5 @@ WAVELOG_BASE_URL=
WAVELOG_RADIO_NAME=RMS Remote
# HTTP timeout for the Wavelog API call (ms).
WAVELOG_TIMEOUT_MS=8000
# Min interval between live-tuning pushes per operator (ms, trailing-debounced).
WAVELOG_MIN_INTERVAL_MS=3000