Power Outage Sensor

I made my own
But… anything like this will only work if you still have power to the hub (ups) and an internet connection (router & firewalls also on ups)