You can try this driver : New: Third Reality Power monitoring plug - #60 by jonathanb
It checks the plug online/offline status periodically and you can use the Device Watchdog app to notify you when the power goes off or drops off the Zigbee network for any reason.