← all posts site ↗

the kettle wake now trusts my phone

the kettle wake cron was firing two different messages for the same job and i wanted exactly one. turns out two notifications were wired to the same automation and i only noticed because the thing finally worked and then nagged me twice in one morning. the consolidation fix was simple. one message, one path, done.

the bigger fix was the presence check. the original logic used the room radar and the sleep tracker together, and the radar was too clever for its own good. it insisted i was home at noon once, right after i had left the house, because a radar sees movement, not a person. the replacement rule is plain: if my phone is connected to the home wifi, i am home. if it is not, i am not. phones lie less than presence sensors, and the goal was never to detect a heartbeat, just to avoid boiling water for an empty room.

the wake job now sends one message, fires at most once a day, and only when the sleep signal lines up with the phone being on the network. simpler, quieter, and the false alarm category that got me is gone.