ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
135 stars 7 forks source link

Adaptive lightning #67

Closed ursusHU closed 2 years ago

ursusHU commented 2 years ago

In the predecessor Hue plugin it was possible to modify the default warmth (?) of the lights. This way in the evening I really had "orange" coloured lights automatically, and during the day white light. It really worked perfectly. In the homebridge-deconz plugin I couldn't find such possibility, so I have white lights also at night. (eg. instead of 430 mired 323 mired @22:00) Is there any way to modify this? Thanks in advance.

ebaauw commented 2 years ago

Not yet.

Would you want that to be a global setting (as with Homebridge Hue) or a setting per light?

ursusHU commented 2 years ago

Thank you! Any idea when this feature can be expected? For me the global setting was perfect, currently I can’t think of any use case where I would use different settings for each light, but I have ikea bulbs everywhere.

ebaauw commented 2 years ago

In v0.0.21.

torandreroland commented 2 years ago

@ebaauw: Should there be a "brightnessAdjustment", around here?

torandreroland commented 2 years ago

@ebaauw: I'm getting constant "assertion failed" in the logs now for lights that are not supporting adapting lightning when they are on. Could it be because initAdaptiveLighting is called for state updates?

ebaauw commented 2 years ago

Should there be a "brightnessAdjustment", around here?

Yes, my bad.

I'm getting constant "assertion failed" in the logs now for lights that are not supporting adapting lightning when they are on.

Do you mean for lights that don’t carry Color Temperature?

Could it be because initAdaptiveLighting is called for state updates?

Oops, there should be a check that adaptive lighting is supported, before creating the adaptive lighting handler.

torandreroland commented 2 years ago

Yes, they don’t support color temperature.

ebaauw commented 2 years ago

Could you try beta v0.0.22-0? I'm sorry, I don't have a setup ready to test this myself, with a light without colour temperature support.

ebaauw commented 2 years ago

Published v0.0.22.

torandreroland commented 2 years ago

Thank you! The new version works perfectly.