So after browsing WiFi PowerPet Door - I decided to take the work they had done (for MQTT) and make my own version as a native integration (no MQTT required).
Functionally, this will enable Home Assistant to integrate with the High Tech Pet’s Power Pet Door. This is at https://github.com/corporategoth/ha-powerpetdoor
This is my first integration I’ve created for Home Assistant.
What can it do:
- It will create a ‘switch’ as the entity for the door
- You can monitor the door’s open/closed state (both in general and in detail).
- You can monitor the state of the inside and outside sensors, and power state.
- You can open and close the door - both with ‘hold’ (ie. keep the door open when you open it) and not (ie. it will auto-close).
- You can enable and disable the inside and outside sensors (if you are not in ‘AUTO’ mode).
- You can power on and off the door completely (well, “completely”, even when off it stays connected to wifi).
- It will auto change the icon for the door depending whether the door is opened or closed (though maybe this should be based on power mode, or a sensor, not sure).
- See the status of the ‘auto’ mode (it’s called “timersEnabled” - their term not mine)
- Toggle on and off Auto mode.
What you can’t do:
- Adjust the inside or outside range for collar detection (these are actual rheostat dials, not digitally controlled buttons - so this will likely never be possible).
- Adjust other settings (eg. timezone).
- Configure automatically with integrations (yup, this first version is still a configuration.yaml job).