Release v0.32.0 — event times you can trust, and Series 4 mapped #54

Merged
serversdown merged 124 commits from dev into main 2026-10-27 11:01:01 -04:00
Showing only changes of commit 61e8a5e220 - Show all commits
+41 -9
View File
@@ -1634,17 +1634,49 @@ A genuine liveness + state check is **`POLL` + `MONITOR_STATUS`**: two commands,
131 bytes of response. Same information about whether the unit is alive and
whether it is monitoring, for a ninth of the traffic.
### Both intervals at 5 s produces one check every ~10 s
### There are TWO checks, and only one of the dials is honoured
Connection timestamps over three minutes: `11:31:48.7`, `11:31:58.9`,
`11:32:08.9`, `11:32:19.0`, `11:32:29.1`, `11:32:39.2`, `11:32:49.3`,
`11:32:59.4` — a **10.1 s** period, steady.
The eleven-command sequence is the **status check**. There is also a much
cheaper **connection check** — three commands:
So *"Check connection every 5 s"* and *"Check status every 5 s"* do not describe
two independent 5-second timers; together they yield one combined pass every ten
seconds. That is a plausible reason changing those fields appears to do nothing:
the relationship between the setting and the observed cadence is not what the UI
implies.
```
connection check POLL → SERIAL → 0x49
status check POLL → DEVICE_INFO → 0x49 → 0x5C → MONITOR_STATUS
→ SETUP_NAME_READ → STORAGE_RANGE → 0x02 → OPERATOR
→ 0x47 → CALLHOME_CFG
```
⚠ **With both dials equal, the connection check never runs separately at all** —
every connection observed was the full eleven. It only appears once the two
intervals differ. That alone explains a lot of "changing the settings does
nothing": at equal values you only ever get the expensive one.
With *connection check = 10 s* and *status check = 30 s*, the steady state over
14 consecutive cycles is:
```
FULL at T
short at T + 10.1
short at T + 25.3 (+15.2)
FULL at T + 30.4 (+5.1)
```
| dial | set to | observed | |
|---|---|---|---|
| status check | 30 s | **30.4 s** | ✅ honoured |
| connection check | 10 s | **15.2 s** | ❌ 52% slow |
27 consecutive connection-check gaps, all 15.1–15.3 s. That is systematic, not
jitter.
**15.2 s is exactly half of 30.4 s**, and the two are phase-locked 2:1 — which
suggests the connection check is not running on its own setting at all, but at
half the *status* period.
⚠ **Hypothesis, not established.** It predicts sharply: with status at 60 s the
connection check should land at 30 s **whatever its dial says**. One capture
settles it, and it is worth settling before SFM offers any similar control — a
dial that silently does nothing is worse than no dial.
### ⚠ What this means for the "won't stay connected" failure