Use of outlet plug to monitor mains supply

Small UPS for the hub. If the plug doesnt answer, power is down. Might use this smartapp. Long shot, it’s only an idea.

LJ