Detect a Power Outage

Manually. I would never rely on IFTTT for anything

3 Likes

As promised, here's an update. I installed the YoLink Power Detector and it was recognized in Hubitat as a Generic Component Unknown Sensor. It reports valueStr of "alert" and "normal" that can be used to trigger events power loss and power restore. It detects as fast as I can unplug and plug back in. The real test will be the next power drop.

2 Likes

Happened to me for first time today.
At least they were just momentary, and returned to correct status.
So, for me, I suppose any rule should contain a duration for battery status.

edit: For some reason, the power loss notification kicks off every time the wood stove notice goes off. Repeatable, with simulated trip. Also happened with garage door notice. First time this has happened. Could be that it's cold outside (-4F) and the chime siren is plugged into an outlet on an exterior wall.

edit2: Stopped behavior when warmed up and relocated to interior wall. Could be the warmth, could be just unplugging, or could be that it's just crazy.

edit3: Tried cooling it off in freezer, putting it back. Acted up again! Temperature, perhaps battery condition related.