extract_readings() only read the latestReading field embedded in the
stations-endpoint response. For some stations that field is always
null even though the measure's own /readings endpoint has current
data, so every non-backfill poll silently found 0 readings forever.
Now falls back to fetching the single latest reading directly from
the measure when the embedded field is missing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
--no-html skips dashboard generation for deployments where river.php
reads the SQLite DB directly. synology-task.sh is a ready-to-configure
wrapper for DSM Task Scheduler.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pulls up to 28 days of 15-minute readings per station using the
/measures/{id}/readings?since= endpoint.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>