maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
803 stars 233 forks source link

Adaptive Lighting #394

Closed Kristian8606 closed 3 years ago

Kristian8606 commented 3 years ago

https://support.apple.com/en-in/guide/iphone/iph0a717a8fd/ios

Is this a new characteristic and can you add it as an example @maximKulkin

maximkulkin commented 3 years ago

Color temperature is something that was there for some time already, although I'm not sure how "adaptiveness" work: should accessories tune it automatically based on clock, or it's iOS controllers who do that (by just adjusting color temperature).

Kristian8606 commented 3 years ago

Touch and hold a lighting accessory that supports Adaptive Lighting. Tap the Adaptive Lighting button. this part of the guide makes me think that the function will be supported by the firmware of the bulb. But you will need a characteristic that will display a button to activate the function.

HomeKidd commented 3 years ago

@maximkulkin HAP-NodeJS now has an example for Adaptive Lighting in the beta branch 😄 With Color Utils functions too

Required 3 Characteristics are here Actually just adding these to any HomeKit accessory doesnt work at all, not showing up with any of my accessories so the TLV encoding is definitely required😅