0.5.7 — 2026-10-17¶
Analytics charts read in the selected gateway's time, on a real time axis.
Fixed¶
- Analytics shows the selected gateway's time, not another gateway's. The time zone was read once at start-up, before the gateway list had loaded, so it came from the default gateway (a mock on one site, which put every label 10 hours out). It now follows the gateway you select. (#144)
- The Analytics chart is drawn on a real time axis. Spacing is proportional to time, a period with no samples shows as a gap, and lines are straight between samples instead of smoothed shapes that weren't readings. Axis labels are 24-hour HH:MM, with a short date ("16 Oct") on a second line where the day changes. (#145)
- Custom range takes a date and a time, in the gateway's zone. A day used to start at UTC midnight. The default is today 00:00 to now, and a Today button resets it. (#145)
- The caption says what the chart shows: points, bucket size, the first and last sample, the time zone, and "no data before …" when the history is shorter than the range. (#145)
- Export CSV/JSON exports the range on screen, including a custom range;
GET /api/admin/metrics/exportacceptsstartandend. (#145)