Aone Double Sockets AU-A1ZBDSS

Sadly nothing simple.
I’ve got a couple of ways of trying to detect the power outage:

  1. If the max last seen on a given circuit is over a minute.
  2. If the total power draw on a set of sockets is zero whilst some are showing as on.

Currently those trigger an alert, then I manually check which are showing as on (as they show as on after a power cut even though they’re actually off) then double toggle them.

I eventually plan to automate the last part but as just wanting to ensure the logic for the trips works well enough first …