Show last completed telemetry transmission age

This commit is contained in:
mikecarper committed 2026-10-23 15:12:42 -07:00
1 parent ea4b53ceee
commit 84cae8a774
8 files changed
+234 -4

No files matched your search

+14
View File
@@ -856,6 +856,20 @@ battery packet overlaps its predecessor by 34.5 hours. Packets are paced two
seconds apart. A queue failure is retried after 30 minutes only for the packet
that did not queue; successfully queued packets are not duplicated.
`get telemetry.tx` includes the source ID, path, and age of this node's last
completed telemetry transmission:
```text
> on 2d id=0123456789ABCDEF i2c=0 last=30m p=direct
```
`last` uses seconds, minutes, or hours (`30s`, `30m`, `2h`; two days is `48h`).
It counts completed sends and retries of this node's `TTB1`, `TVB1`, `IVB1`,
`N1B1`, or `N2B1` packets, including manual sends while the schedule is off.
Queue acceptance and relayed telemetry do not update it, and it does not confirm
observer receipt. It shows `last=never` until the first completed send after a
reboot. The age uses uptime, so clock corrections do not affect it.
`send telemetry.tx now` is an administrator-only test action. It queues
temperature and battery-voltage snapshots plus the available I2C voltage
chunks over the configured path. It also queues one main-radio `N1B1` packet
+8
View File
@@ -71,6 +71,14 @@ can be Missing; failed measurements do not silently shorten the timeline.
The existing automatic transmission cadence is unchanged. Recording a new
noise-floor position every 15 minutes does not transmit a packet every 15 minutes.
Use `get telemetry.tx` to see the source ID, path, and `last=30s`, `last=30m`,
or `last=2h` for the age of this node's latest completed telemetry transmission.
The age includes completed retries and manual sends while the schedule is off,
but excludes queue acceptance and relayed packets; it does not confirm observer
receipt. It shows `last=never` until the first completed send after each reboot.
The age uses uptime rather than the clock, and durations of a day or more remain
in hours, such as `last=48h`.
Schedule changes are saved transactionally; a failed write does not truncate
the previous preferences. A legacy route must be successfully migrated into
`data.tx` before its schedule can run. Corrupt, unreadable, or ambiguously