Two-button dog door controller
PropertiesTwo-button dog door controller
Two Zigbee remotes, one inside and one outside, and a door with opinions. A press can land while the door is open, shut, already moving, or out of sync with its own lock. So the script checks the door and the lock before it sends a pulse, then waits for the contact sensor before it believes a word of it.
- Type
- Home Assistant scripts and automation
- Location
- C:\Projects\The House
- Hardware
- Two Zigbee buttons, a door contact sensor, an opener switch that wants a short pulse, and a lock
Event log
Lines the scripts wrote, word for word:
- Hello from the safe toggle script
- Already closed; ensured locked; skipping pulse
- Closed & locked
Later versions picked up confirmation waits, timeouts, retry limits and a check for a door somebody had moved by hand. Every one of them is a scar.
Home Assistant last saw the toggle automation, the safe toggle script and the automatic open/close script fire on September 8, 2025. The automation was disabled when checked on December 3, 2026. Whether the door still answers, and to which controller, is an open question.
Cameras
I paired two cameras with the door toggle.