I simplified by saying UPS. It is actually a solar panel inverter with battery backup. I was looking for a device to put on the UPS side that sensed an outage on the grid side. I prefer an event triggered at time of outage rather than the polling technique you recommend. thanks