Random State change

Anybody else have a ghost in the machine sometimes? I’ll have switches randomly change state on me and turn on random lights and ceiling fans in the house. Usually this has occurred when doing a z-wave mesh repair, so I assumed it was b/c of that, but yesterday morning at 7:32 AM I had an event that turned on about half the lights and fans in the house. This morning I discovered that it was not confined to just z-wave devices as it also flipped virtual switches, because my switch that manually controls my morning routine was turned on and the lights in the bedroom turned on at 5am today (a holiday in the US). Suffice to say, WAF is low right now.

I can see all these switches that were flipped at 7:32 yesterday morning in their event logs, but thats all the detail I have since hubitat doesn’t keep detailed logs without a window open.

Most of the issues I’ve had so far I can accept as growing pains, but this one annoys the hell out of me. Half the switches in the house should not be randomly turning on.

1 Like

There has to be an app someplace that's doing this, the hub won't just send random commands to devices on its own.
I would start with whatever group or app and or virtual device that's associated with the lights in question.

I have apps that have access to all my devices, like the alexa skill, for example, but there are no automations that include all of these devices. my virtual switch is only ever manually turned on. something is wreaking havoc.

Probably a stupid question, but have you checked the history in the Alexa app to see if there is an entry at 7:32? That will rule out one app.

1 Like

Another thing to check once you've verified @mike.maxwell suggestions is a bad hub, bridge or device associated with the devices that seem to be turning on by themselves. I found devices that were turning on without my interaction or a rule associated. They were all Insteon devices in my case and I had a bad hub as it turned out. Replaced the hub and all the unexpected events immediately ceased.

1 Like

There is nothing in the alexa history.

The thing that throws me is that virtual switches got turned on, including a virtual switch that is only controlled manually (or by alexa). So its nothing physical. I have no way to know if the hub is the problem. I really wish there were better logs.

I had the same thing happen yesterday morning. It was around 6:45 am, and the baby started whining (which she usually does around that time anyway). I went up to check on her, and her Hue light was on. I checked my SmartThings logs (no mention of an app or piston turning the light on), and Hubitat (also no mention of any app turning it on), and Alexa (no commands were issued that morning yet).

I agree better logging would help. I'm away from my LAN right now, but does Hubitat at all log which app is triggering an event on a device like ST does?

Keep in mind even a small power failure will default any hue bulb to on.

After that point the bulb will get its status refreshed in its events table.

1 Like