Skip to content

Correct what the pump alerts are actually tied to - #42

Merged
matuszeg merged 1 commit into
mainfrom
alert-correction
Aug 25, 2026
Merged

matuszeg merged 1 commit into
mainfrom
alert-correction

Conversation

@matuszeg

Copy link
Copy Markdown
Owner

#40 said /pump_outlet_alerts was not a pump event, on the grounds that every occurrence sat inside the device's reconnect burst. That was reading half the pattern.

Ten of the thirteen occurrences in fourteen days of the shim's access log are followed by a /bbs_json 10 to 12 seconds later, and yesterday's resolved into a recorded 10.0 s backup self-test. The three that were not all sit beside repeated /oauth/token attempts, and one of those was tonight: motor current and an alert arrived, no run report followed.

The tempting conclusion is that the alert is sent when the pump starts, which would be the "pump is running now" signal this protocol is documented as not having. This deliberately stops short of claiming that. Every backup run ever observed here lasted 10.0 to 12.2 seconds, so an alert sent at the start of a run and an alert sent with a fixed delay ahead of the report produce identical logs. Separating them needs a run of a different length, which needs water this pit does not hold with the ground dry, so the answer waits on a wetter spring rather than on any work.

Docstring only, no behaviour change.

The note saying these are not a pump event was wrong. Ten of the thirteen
in fourteen days of the shim's log are followed by a run report 10 to 12
seconds later, and yesterday's resolved into a recorded 10.0 s backup
self-test. The three that were not all sit beside repeated login attempts.

The tempting reading is that the alert is sent when the pump starts,
which would be the "running now" signal this protocol is supposed to
lack. It is not proven and cannot be yet: every backup run ever seen here
ran 10.0 to 12.2 seconds, so a start-of-run alert and a fixed delay in
front of the report are indistinguishable. It needs a run of some other
length, which needs water this pit does not currently hold.
@matuszeg
matuszeg merged commit d5092f7 into main Aug 25, 2026
3 checks passed
@matuszeg
matuszeg deleted the alert-correction branch August 25, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant