Hello,
I’m having some difficulty getting Homekit to correctly control the color temperature of Philips hue bulbs. I’m using the newer metadata rather than tags. This is my items file:
// Wall Downlights
Group WallDownlights "Wall Downlights" {alexa="Endpoint.Light"}
Color WallDownlightsColor "Wall Downlights Color" (WallDownlights) {channel="hue:0210:0017887862a1:5:color", alexa="BrightnessController.brightness,PowerController.powerState,ColorController.color", homekit="Lighting, Lighting.Hue, Lighting.Brightness, Lighting.Saturation"}
Dimmer WallDownlightsColorTemperature "Wall Downlights Color temperature" (WallDownlights) {channel="hue:0210:0017887862a1:5:color_temperature", alexa="ColorTemperatureController.colorTemperatureInKelvin", homekit="Lighting.ColorTemperature"}
String WallDownlightsAlert "Wall Downlights Alert" (WallDownlights) {channel="hue:0210:0017887862a1:5:alert"}
Switch WallDownlightsEffect "Wall Downlights Color loop" (WallDownlights) {channel="hue:0210:0017887862a1:5:effect"}
However in the log I get:
2020-09-27 22:35:28.930 [WARN ] [.accessories.HomekitAccessoryFactory] - Accessory of type Lighting must have following characteristics [ON_STATE]. Found only []
2020-09-27 22:35:28.933 [WARN ] [mekit.internal.HomekitChangeListener] - Could not add device WallDownlightsColorTemperature: Missing mandatory characteristics
If I remove homekit="Lighting.ColorTemperature"
from the WallDownlightsColorTemperature
item it works but when I change color temperature in the home app, they set their colour temperature in RGB as opposed to using the actual CCT part of the bulb. This results in very ‘off’ looking whites (cool whites look dark blue, warm whites look pink). I have been unsuccessful in using the Lighting.ColorTemperature
characteristic on the hue bulbs color temp item. Alexa on the other hand, works perfectly.
Any help is appreciated!
Thanks!