Files
Gadgetbridge/app
Peter KandThomas Kuehne 35c3766f27 Zepp OS: emit skeleton responses for all v5 weather datasets
The Bip 6 widget shows "open Zepp to get weather" when our v5 response
omits or empty-stubs any dataset the firmware asked for. Fixes three gaps:

- Implement createDailyAirQuality with a 7-day skeleton (placeholder
  AQI 50, level "good"; real ingestion gated on WeatherSpec extension).
- Replace EmptyResponse "{}" for hourlyAirQuality and dailyTide with
  populated shape stubs (metadata + empty items list).
- Add a defensive else branch for unknown dataset names that returns a
  metadata+empty-items skeleton and logs the key at WARN, so future
  firmware additions surface in logs without silently dropping keys.

See docs/bip6-weather-widget-research.md for the diagnosis.

Source: https://github.com/PeterXMR/Gadgetbridge

(cherry picked from commit 8b9d4f319ecc69dcb3c9ebbe77c35a06df7ebbbc)
2026-06-07 05:32:51 +00:00
..