I have an assortment of UPS units around the house, supporting various DVRs, game console, computers and TVs. Power hiccups around here often enough that having them dramatically cut down on the number of blown power supplies and other electronic device failures.
It's been on my 'to do' list for ages to rig up something with a pi zero attached to the USB socket on all these to have more direct monitoring and control. Something like NUT or apcupsd on them and it'd be possible to do network-wide monitoring via wifi.
It gets messy, though, as few devices have means to support being told to power back up again. I'd have to get into an assortment of smart outlets or something to deal with the devices that don't have Wake-on-LAN functionality. It's kind of a chicken/egg scenario as once you power off a UPS you can't really power it back up again unless you either tap the button or have the connected computer on the USB power do it. But that won't have power because, presumably, it was running from the UPS.
There's a couple of other factors to consider, namely how much capacity the UPS has and whether or not power is "really back" or not.
The added hassle, for me anyway, is that our generator doesn't make a true sine wave that the UPS units want in order to recharge themselves.
So power really has to be back 'for sure' otherwise the UPS units may not have enough capacity to handle a full power-on and power-off cycle again (or more than once if power is really intermittent).