Hue Bulb is Changing Temperature and Level on it’s own

I’ve been battling this for several days. I created a simple piston for testing purposes. The beginning temperature 2217K and level 35 were set in the Hue app. But the behavior is always the same, door opens, temp and level are set per the Piston and then on it’s own it changes to 273K and level 100%.

If I can get it working the plan is to have the door contact and a motion sensor set the color temperature and level depending on Mode.

The bulb is installed in a ceiling fan, the ceiling fan bulbs are connected to a Lutron Switch and the Fan is connected to a Lutron Fan Controller.

Switch 28 is the Lutron switch and Switch 29 is the Bulb.

I also have two Hue Lights strips, they have been in place for over a year. They don't exhibit this behavior.

Thoughts?

dev:3482023-01-17 08:33:36.089 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2732°K

dev:3482023-01-17 08:33:36.086 PMinfoOffice Ceiling Fan Bulb 1 level was set to 100%

dev:3482023-01-17 08:33:30.239 PMinfoOffice Ceiling Fan Bulb 1 was turned off

dev:3482023-01-17 08:33:02.683 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2933°K

dev:3482023-01-17 08:33:02.652 PMinfoOffice Ceiling Fan Bulb 1 level was set to 90%

dev:3482023-01-17 08:33:02.595 PMinfoOffice Ceiling Fan Bulb 1 was turned on

dev:3482023-01-17 08:32:16.051 PMinfoOffice Ceiling Fan Bulb 1 was turned off

dev:3482023-01-17 08:31:36.076 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2732°K

dev:3482023-01-17 08:31:36.074 PMinfoOffice Ceiling Fan Bulb 1 level was set to 100%

dev:3482023-01-17 08:30:58.272 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2933°K

dev:3482023-01-17 08:30:58.241 PMinfoOffice Ceiling Fan Bulb 1 level was set to 90%

dev:3482023-01-17 08:30:58.160 PMinfoOffice Ceiling Fan Bulb 1 was turned on

dev:3482023-01-17 08:30:36.079 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2732°K

dev:3482023-01-17 08:30:36.077 PMinfoOffice Ceiling Fan Bulb 1 level was set to 100%

dev:3482023-01-17 08:30:14.302 PMinfoOffice Ceiling Fan Bulb 1 was turned off

dev:3482023-01-17 08:28:00.312 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2933°K

dev:3482023-01-17 08:28:00.266 PMinfoOffice Ceiling Fan Bulb 1 level was set to 90%

dev:3482023-01-17 08:28:00.192 PMinfoOffice Ceiling Fan Bulb 1 was turned on

dev:3482023-01-17 08:27:36.789 PMinfoOffice Ceiling Fan Bulb 1 was turned off

dev:3482023-01-17 08:26:36.077 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2732°K

dev:3482023-01-17 08:26:36.075 PMinfoOffice Ceiling Fan Bulb 1 level was set to 100%

dev:3482023-01-17 08:26:23.674 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2933°K

dev:3482023-01-17 08:26:23.653 PMinfoOffice Ceiling Fan Bulb 1 level was set to 90%

dev:3482023-01-17 08:26:23.575 PMinfoOffice Ceiling Fan Bulb 1 was turned on

dev:3482023-01-17 08:26:06.632 PMinfoOffice Ceiling Fan Bulb 1 was turned off

dev:3482023-01-17 08:25:36.093 PMinfoOffice Ceiling Fan Bulb 1 color temperature was set to 2217°K

dev:3482023-01-17 08:25:36.090 PMinfoOffice Ceiling Fan Bulb 1 level was set to 35%

Have them connected to HomeKit at all? Adaptive Lighting.

Also FYI, your plan you describe can be achieved in the Room Lighting app. Unless you prefer to use Webcore.

Check the event tab on one of the devices, if the commands are being called on the hub it will list where the calls came from (another app, etc...)

Thanks. I have not added Hue to HomeKit yet and the bulb has only been added to webCoRE.

On the Event Tab under Produced by, it shows Hue Bridge Integration [Philips hue (241CE3)] and Office Light.

Can you post a screenshot of it? Sounds like maybe it is coming from the Hue Bridge?

Is "Office Light" the name of an app or a group or something that you are using to control the bulbs? I assume webcore is commanding the "Office Light" group and then that is commanding the bulb.

The 2732 temp and 100 level do not appear to be triggered from Hubitat. Looks like something else is triggering it directly to Hue, and then hue is reporting the status back to Hubitat. Do you have any leftover automations setup in the Hue app that might be conflicting? Or could be anything else connected directly to Hue, like Alexa, Google, IFTTT, etc...

Office Light is the name of the webCoRE Piston.

Nothing else is connected to Hue, just the other two light strips that have been there for over a year. I don't have any automations setup in the Hue app.

Can you disable the piston.

And then try all this from the device page (give it a little time between commands, not rapid fire).
First just turn it on, give it a minute, then set the temp to something different.
Then turn it off, then back on again with just the on command. Let it sit.
See if it adjusts the temp at all by itself.
Then turn it off again.
This time instead of turning it on, just send the temp command to your 2933K
It should set the temp AND turn on (unless it has prestaging). Again let it sit see if it adjusts itself again.

Just thinking one of those sequences might tell us what is going on.

I paused the Piston.
With the switch set to off I turned on the Bulb and set temp level.
Waited a few minutes, no change. Turned on the switch, a few minutes later the bulb changed temp and level.
Set bulb level and temp again with switch on. Waited, no change. Turned off switch, waited, no change.
Turned on switch and after a few minutes the bulb temp and level changed.

So the switch when you turn that off I assume it is cutting power to the bulb? I am confused because it looks like you turned the power switch off, adjusted the bulb (while it was off somehow?) and then turned the switch on?

All the bulb adjustments appear to be coming form Hue? Did you change in the Hue app or on the device page of the bulb in Hubitat?

Also, cant you set defaults for the hue bulbs when power is restored? Is your default 100% at 2732K?

It is generally not a good idea to connect a smart bulb to a switch (or dimmer) that cuts off power to the bulb. Ideally smart bulbs always have power connected.

Some smart bulbs have a setting for what to do when power is restored, as in a power outage.

1 Like

Yes, when the switch is turned off it cuts power to the bulb,
You can adjust the bulb settings under the device, the bulb is not on because the switch is off, but you can still adjust the bulb settings. See picture,

I made all changes from the device page, none were made from the Hue app.
I don't have any default settings set on the bulb or switch. When the bulb was added all settings were left untouched.

How is the bulb going to get the commands when you make changes when it has no power?
I am not sure if you can queue up commands to the bulbs before you restore power to them.

@bertabcd1234 Can you lend your Hue expertise on this one? I only have two bulbs and they are white only so I am not totally sure how/if this would work.

As @didymus stated, smart bulbs work best when they are always powered. You would be best off getting a switch there that has a "Smart Bulb Mode" where it keeps the bulbs powered all the time and then you link the button presses to rules that turn them on and off.

2 Likes

I don't expect it to get commands when there is no power to the bulb. I'll try leaving the switch on all the time to see what the behavior is.

This is definitely recommended. Hue bulbs will default to whatever power recovery setting you select in the Hue app for each bulb. The bulbs also create a Zigbee mesh that will not function properly if power is cut to the bulbs. You may not immediately see a problem, but you will eventually.

2 Likes

Just to add my .02. I don't think it can be done with the lutron switches, but zooz switches can be set to disable local control for smart bulbs. The switch is still available for triggers and events, but it never physically cuts power to the device. They work great for exactly this situation.

1 Like

@jtp10181 Thanks for all the ideas and help.

For what it's worth, the Power On setting for the bulb in the Hue app is set to Light Behavior at Power On. So I'm not sure why it was always going back to 2732K at 100%. But, I get that powering on and off the switch could cause weirdness.

Leaving the Lutron switched powered on all the time seems to have stopped the Hue Integration from changing the bulb to 2732 at 100%. I know I tried not turning off the switch at one point, but who knows what else might've been going on.

@Ken_Fraleigh The Zigbee mesh is a good callout, didn't think about this.

@scoob8000 I won't be switching, because I have lots of Lutron switches, but I am curious what you mean by the zooz switches can be set to disable local control for smart bulbs.

Smart switches that have a "smart bulb mode" (Inovelli and Zooz Zen7x most popular/common) allow the smart bulb/fixture to have constant 100% load power so they're always online, but otherwise behave like a regular switch...

Flicking the sw/ off sends a command to turn off the smart bulb (but no de-power it). Same with flicking the switch on.

Most smart switches (e.g. lutron, wifi switches) do not have this feature -- they manage load power to the fixture just like a dumb switch or dimmer -- off = 0 load power, on = 100%, dimming = reduced load power.

@hydro311 Thanks, I didn't know any switch had the feature.

1 Like

That isn’t a setting. The setting default is a Hue scene like “bright” ~2900K 100%. I set mine to power loss recovery.

1 Like