← Every Lab Note
Lab Note #3 · · 3 min read

The WAF Report

Title card: the rule said off under 40 W, the amp idles at about 66 W, now it turns off after 30 minutes with no AirPlay

No alerts means everything’s working, right? Nope.

In the first Lab Note I said the rule for this lab is the WAF, the Wife Approval Factor: don’t break the lights, the locks or bedtime. What I hadn’t figured out is that you can fail the WAF without breaking anything. An automation just has to stop working and not mention it.

What I found

In late October I found three.

The record player. The tube amp sits on a smart plug, and an automation was supposed to switch it off after 30 minutes under 40 watts. Sensible. Except the amp draws about 66 watts whether it’s playing or not, so it never got under 40. The rule last fired on September 27th. I found out a month later, when the amp had been on since the morning and nothing had played since early evening.

The motion light. A motion sensor started flapping on and off about every 30 seconds, 9,100 times in two days. As far as the house knew, that room was never empty, so the light stayed on until the midnight automation turned it off.

The door notification. This one never worked at all. It called a script with a space in its name, so the script could never exist. Home Assistant logged a warning and carried on.

None of them threw an error. Each one rested on an assumption that was wrong from the start or quietly stopped being true.

The snag

The record player fix was easy: turn the plug off once the AirPlay stream hasn’t played for 30 minutes, with a check every 15 minutes in case Home Assistant restarts. Tested. Plug off, 0 watts.

There’s a turntable on that amp too, and vinyl doesn’t go through AirPlay, so Home Assistant will never know a record is spinning. Lucky for me, the turntable needs tuning before it plays anything. Right now the amp is just for streaming, and the fix covers everything we actually use. When the records come out, that rule will cut the amp about 30 minutes into an album. That’s a problem for future me.

And look at which failure nobody caught. A light on until midnight and an amp left running are failures you can see. A notification you never got is not.

Quiet isn’t healthy. Quiet is just quiet.

What’s the longest one of your automations has been dead before someone noticed? And who noticed? Tell me in the comments.

-Kyle

Join the conversation on LinkedIn