Skip to content

Event-driven /wake#28

Merged
AlexNly merged 1 commit into
mainfrom
fix/event-driven-wake
Jul 9, 2026
Merged

Event-driven /wake#28
AlexNly merged 1 commit into
mainfrom
fix/event-driven-wake

Conversation

@AlexNly

@AlexNly AlexNly commented Jul 9, 2026

Copy link
Copy Markdown
Owner

The inline cold-start flow (hook, wait 90s, change-mode) raced the WS reconnect backoff and gave up entirely when the plug hook failed — observed in the wild when the plug had a WiFi dropout. /wake now arms a 15-minute pending intent that fires the moment the machine comes online, the same event path the morning auto-heat uses. Works even when the plug is unreachable and the machine gets powered by hand. Plug hooks retry 3x; a new client.nudge() cuts the reconnect backoff short so the switch to brew happens seconds after boot.

@AlexNly AlexNly merged commit 442dfe8 into main Jul 9, 2026
3 checks passed
@AlexNly AlexNly deleted the fix/event-driven-wake branch July 9, 2026 05:30
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