Random phantom light flashes

Hi All,

I have a very strange issue I cannot work out whats going on, wondering if someone could point me in the right direction.

Randomly overnight (not every night) a bulb in our house will flash. Hubitat is picking this up in the event log (one attached below).

Few bits to fill you in:

  • There is no automation to do this
  • There is no attached motion sensor (its a bedroom)
  • There was no powercut (at least that my UPS could pick up)
  • The bulb is directly connected to Philips Hue and passed to Hubitat via Hue Bridge Integration
  • Its also happened at least one other bulb, cant confirm more as they're the only two I can see while sleeping
  • Happens randomly, a week or two can go by without anything
  • There are absolutely no automations or motion sensors in hue app itself

Anyone any ideas? Is there a way in Hubitat logs to see WHAT triggered an event or WHERE is was triggered from?

Thanks

Kraeg

Are the bulbs concerned getting a bit old? I had all sorts with one of mine, including flashing unexpectedly and turning on weird colours. I just replaced it with a new bulb and all was back in order again.

Sadly not, they're the Philips hue white ambiance bulbs, running the latest firmware. Maybe 2-3 years old?

If you have Amazon Alexa or Google Home integrated either directly your Hue bridge, or via Hubitat, please check to make sure those systems are not changing the light using a Routine. On Alexa, also be sure to disable the "Hunches" feature, which tries to make a best guess and start automating things for you. This feature has caused many a user to pull their hair out while trying to figure out problems exactly like yours. :wink:

3 Likes

Thanks, will double check my Alexa setup. I do have a few routines but don't believe they touch any these lights.

The hunches feature isn't in the UK yet so doubtful that for me

1 Like

Just been through my routines in the Alexa app, nothing to do with any lights.

I also don't have the Hue skill installed, everything is done via the Hubitat link.

Be handy if you could click on an entry in the log and it tell you what requested the action or was it simply reading the state of the bulb or .....

For "info" logs (which it sounds like you might be talking about here) or event history (in your screenshot above), that's generally what this means. It represents device states, not necessarily what commands were sent to it. (Normally, the point of sending a command is to change the state, but if the device doesn't report its new state back, this won't update. Hue Bridge bulbs are a bit different; the state still doesn't update unless Hubitat hears back from the Bridge with a non-error response, which in nearly all cases should mean it was successful, but a true description of the current state doesn't come in until the next poll...but normally this would still match.)

Some drivers log when commands are run on them if you enable debug logging. These aren't one of those, nor are most I can think of (I think this is a newer convention, and one I happen to like).

I'm assuming you've already checked the Hue app itself in case you've set up any schedules or other automations there? The "In use section" for these devices on Hubitat (or any groups they might be a part of) would also be a good place to look.

I wonder if, as a debugging step, you could remove the bulbs from Hue integration for a few days? That would eliminate anything on HE from causing the issue.

1 Like

I also have the same problem. I also use a Hue hub, but the problem don't affect the bulbs connected to it, but some Zigbee switches and, sometimes, my Harmony Hub. The switches turn on and of, and if I'm using some Harmony activity it is also turned off. It always happens at night, between 23:00 and 02:00...

I use the Echo Skill and have some Alexa routines, but some time ago I deleted all the routines and redid everything, but it didn't work. I already did the same with HE, but the problem still happens randomly.

The logs doesn't show nothing weird, just the device's change of state. I really don't know what to do!

The second issue @ogiewon mentioned above wouldn't be a routine you created; it would be the "Hunches" feature that some people find surprisingly enabled. This basically attempts to create routines for you based on what it thinks you might like, I believe based on things you've in the past. If you live in a region that supports this, it's definitely worth checking out: Amazon.com Help - Turn Hunches for Your Smart Home Devices On or Off

2 Likes

Yep, I saw that. But I live in South America - Brazil -, where this resource isn't still available...

Edit: I changed my account to an USA address, as I did before to use some skills that aren't available here, like Logitech Harmony. For my surprise, I had the Hunches feature enabled, althought I had never activated it. Thanks a lot, @ogiewon and @bertabcd1234! My wife was almost killing me... :laughing:

1 Like

Bit of a dramatic step, even worse when it only happens about once a week at most - but its looking like this might be the only way.

Mines similar times, it could be affecting other switches but I wouldn't know as those don't wake me up :smiley:

This is only in the US, so (hopefully) wont be doing anything in the rest of the world. I don't see why Amazon would allow light switches to turn on in the middle of the night anyway, that would be a very stupid oversight.....not putting it past them - but hopefully not

Instead of removing the Hue lights from Hubitat, you could simply disable the affected devices by clicking the red X in the list of Hubitat Devices. You may need to enable this feature in the upper right section of the device list, if it is not already available.

You could look through the EVENTS for other lights in your house, to see if Hubitat is reporting them 'randomly' turning on or off.

:thinking: Well, if Alexa noticed that you routinely turn on a switch in the middle of the night, and then back off a few minutes later, it might deduce that this is something you always do and it would come up with a 'hunch'. Not sure their algorithm cares about the time of day, as many users work night shifts and sleep during the daylight hours.

1 Like

A few more random thoughts... Since these a Hue bridge connected lights, it would be good to think about what other systems, aside from Hubitat, and connected to your Hue bridge? For example, do you have Home Assistant or SmartThings connected to your Hue bridge? What about Amazon Alexa, Google Home, or Apple HomeKit? NodeRED?

The great thing about a Hue bridge, IMHO, is that is allows easy integration with so many other systems. Any of these could be the cause of seemingly 'random' lighting changes.

Sadly not. Hubitat is my central controller, so Hue is tied into that and Alexa is tied into the Hubitat.

Used to have SmartThings a few years ago now, but its all off, deleted, disabled, set alight and buried somewhere where nobody will find it.

I try and keep things as simple as possible, I just wish the logging in Hubitat was far more descriptive as to whats going on - be nice if there was an "Enhanced Logging" feature we could turn on for a device that records everything, things like what caused a state change (was is the device, an app, external command etc) as well as anything else it triggered etc.

I guess its going to turn into one of them switch hunts that I will never figure out without destroying hubitat or finding loads of people with the same issue to narrow it down

Gotcha. Okay, so when you go into the Hubitat device for the bulb in question, near the bottom you’ll see “In use by” - what is listed in that section? Can you post screenshots of the rules or automations that this particular light is part of? This may help the community to assist in troubleshooting the issue.

So, three dashboards and Amazon Alexa... :thinking:

As a simple troubleshooting step, you could simply remove it from the Hubitat "Amazon Echo Skill" and see if the behavior changes or not. That would rule out Amazon Alexa (as long as the Hue Skill is not also enabled in your Alexa account, which you already mentioned that it is not...)

Also, inside the Hue app on your phone, how do you have this light configured to handle power restoration? I have mine set to return to whatever they were last set to. If they were off, they stay off....if they were on, they come back on.