Skip to content

1.2

Choose a tag to compare

@mews-se mews-se released this 04 Sep 17:06
· 7 commits to main since this release

The API the iOS app needs. Nothing changes on the page or in Grafana: four new ways to read what was already being logged.

  • /api/sessions/<id>/samples: every stored sample of one session, per-phase voltages and currents included
  • /api/sessions takes limit (default 200, max 1000) and before=<id>, so a client can page through the whole history
  • /api/wifi?hours=N: the Wi-Fi signal history
  • /api/lifetime?days=N: the charger's lifetime counters, the last reading of each day, up to a year back

No database changes. Just pull the new image.