ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
897 stars 91 forks source link

Lamps are changing back to Adaptive Light color after setting a scene that is exposed as switch #1090

Closed smart7324 closed 2 years ago

smart7324 commented 2 years ago

Issue

Hi, first of all thanks a lot for your great work!

I have one issue/question: As long as adaptive Light is enabled for some lamps in a room and I'm setting a new scene that is exposed as a switch, the lights change to that scene, but then directly changing back to the Adaptive light color. Is there any chance in disabling Adaptive light before setting the scene via switch in HomeKit. Because for now using Adaptive light is completely useless for me, as I can't set scenes by voice afterwards, as they are changing back... I hope it is understandable.

ebaauw commented 2 years ago

Adaptive lighting should be disabled automatically when you change the colour. As per the specs, it should also be disabled when manually setting the colour temperature, but Homebridge Hue doesn’t honour that. I had a hard time distinguishing that from adaptive lighting changing the colour temperature. I think I managed to correct that in Homebridge deCONZ

smart7324 commented 2 years ago

Ok, so I’m using a Hue Bridge. Will this also work in Homebridge Huev2?

Maybe you could add something like „disable adaptive lighting“ for the group as soon as a group scene is recalled via a switch under the group accessory. That’s just an idea of a non-developer ;)

ebaauw commented 2 years ago

Yes, I'll use the same logic for Homebridge Hue 2.

Did you enable adaptive lighting on a group accessory? I could probably disable that rather easily on scene recall. If you mean disable adaptive lighting on each of the accessories corresponding to lights in that group: that won't be doable.

smart7324 commented 2 years ago

Ok, sounds great!

Yes, I activated it on a group accessory.

For instance my room: „Arbeitszimmer“ is exposed as a group as I set groups: true and rooms: true in config. If I now set my group „Arbeitszimmer“ to adaptive light and after that recall a scene, that is exposed under this group accessory as a switch, the scene sets just fine, but it gets overwritten by the adaptive light color after some seconds again.

I have one other little question at this point: The scenes that are exposed as switch (under a group accessory) don’t count to the 150 accessory’s limit, right? So I can expose all my 200 hue scenes without hitting any HomeKit limit this way?

ebaauw commented 2 years ago

Each scene is exposed as additional service on the group accessory. There is a limit of 100 services per accessory, so with the Accessory Information and Lightbulb services, there’s only room for 98 scenes per group.

smart7324 commented 2 years ago

Ok, that’s far enough for me. My maximum is 36 scenes in one room 👍

ebaauw commented 2 years ago

In v0.13.38.

smart7324 commented 2 years ago

Wow, thank you! Will test it later :)

smart7324 commented 2 years ago

Perfectly working!