Have everything working, except after a graceful hub shutdown, I am attempting to figure out how to get a notification on my phone, when power is restored. Any suggestions appreciated.
My setup
-
Ring Extender Gen2 device, using a modified version of bcopeland's driver that resets the status of powerSource after a graceful shutdown when hub reboots. (Currently the Extender plugs into a Kasa plug, allowing its powerStatus to be reset after graceful shutdown reboot. With the modified driver The Kasa plug is no longer needed for resetting the powerSource settting.)
-
C4 Hub, plugged into a Kasa WiFi plug, plugged into an APC UPS
-
An RM rule controlling the graceful shudown
My current thoughts are:
-
Find the Kasa API (If it exists) then dive into it, and use a separate Kasa plug for power notifications, if possible
-
check if the always plugged into mains with battery backup tablets using Fully have any capability for doing a power notification. Did not find anything.
-
My APC UPS is ancient, no wifi or notifications, just power backup
-
An (existing) Android app that has power notification capability