I use the Canary method, actually have a bulb called PowerCanary. It is on constant power with no switch, so it is turned off via ST. It is never used, so if it IS ever on (ais on, not turns on) that means there was a power outage. I can then trigger appropriate actions based on mode (i. e. away means turn everything to our away settings, if Home it just notifies me and I can take care of it). Its a very basic piston and has worked flawlessly over about 6 power outages or so. Not fancy, but works.