Checklist: verify that sensor data reaches InfluxDB
New guided check "Sensor data in the database (InfluxDB)", also the last step of the Quick check on the green path. It queries InfluxDB (read token) for the newest point per measurement of the box and tells apart: sensor data arrives / status arrives without sensor data / offline now / never seen / check not possible. Polls every 30 s for up to 4 minutes. With a stopped RTC in the log it concludes that sensor readings are lost (stamped 1 Jan 2000): box A4:CB:8F:C9:47:3C sent only device_status and microphone. - service/influx.py: query, CSV parsing, classification (no new deps) - guides: new step type "influx" (host answers via influx_result) - Settings > InfluxDB access (or KOTA_INFLUX_TOKEN); token never logged - service status mapping for tech.influx.* findings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2b6d43eb45
commit
66cb804102
11 files changed
+676
-15
No files matched your search
@@ -12,3 +12,15 @@
|
||||
the firmware team should bump the version for the next build.
|
||||
- error_ids.csv updated from the firmware (E-CON-01).
|
||||
- Test that builds the main window (catches start-up errors).
|
||||
- New check **Sensor data in the database (InfluxDB)** (Guided troubleshooting; also the last step of the
|
||||
Quick check on the green path): queries InfluxDB online (read-only) for the box's newest points and tells
|
||||
apart "sensor data arrives", "status arrives but sensor data does not", "offline now" and "never seen".
|
||||
Polls every 30 s for up to 4 minutes. With a stopped RTC in the log it concludes that the sensor readings
|
||||
are lost (they are stamped 1 Jan 2000) - found on box A4:CB:8F:C9:47:3C, which reported only
|
||||
device_status and microphone. The result and the per-measurement times go into the report and the
|
||||
service note.
|
||||
- Settings > **InfluxDB access...**: address, organisation, bucket and a read token (or the
|
||||
`KOTA_INFLUX_TOKEN` environment variable). Defaults: influx.kota-app.com, org `kota`, bucket `sensorbox`.
|
||||
The token is never written to the session log or the service report.
|
||||
- macOS: Connect no longer restarts the box (pyserial dropped DTR before RTS, passing through the
|
||||
USB-Serial-JTAG reset state). Windows unchanged.
|
||||
Reference in new issue
Block a user