Closed Asbjoern closed 4 years ago
What item type did you use for the color temperature channel?
I have not yet connected any items to any channels. But I would use a Dimmer like the hue binding.
Nope. Use a Number Item. I'm pretty sure you have the channel linked. Otherwise the REFREESH command (that lead to your exception) should not have been issued.
But I think I found atleast one other issue.
Good to know. I really like specifying the temperature in Kelvin instead of percent!
Great news. It is now online! You were right about channels being linked. There must have been some residual link or naming conflict between the hue and deconz binding?!
The light was also named kontorloft in the hue binding. I had removed the hue thing but not the links. Once I removed the hue links:
Dimmer Kontor_Brightness "Lysstyrke" <slider> (gColorTempSw){ channel="hue:0220:1:kontorloft:brightness" }
Dimmer Kontor_ColorTemperature "Farvetemperatur" <colorpicker> { channel="hue:0220:1:kontorloft:color_temperature" }
The log responed with deconz links removed.
2020-07-02 19:59:25.761 [temChannelLinkRemovedEvent] - Link 'Kontor_Brightness => deconz:colortemperaturelight:bridge:kontorloft:brightness' has been removed.
2020-07-02 19:59:25.764 [temChannelLinkRemovedEvent] - Link 'Kontor_Brightness => hue:0220:1:kontorloft:brightness' has been removed.
2020-07-02 19:59:25.767 [temChannelLinkRemovedEvent] - Link 'Kontor_ColorTemperature => hue:0220:1:kontorloft:color_temperature' has been removed.
2020-07-02 19:59:25.769 [temChannelLinkRemovedEvent] - Link 'Kontor_ColorTemperature => deconz:colortemperaturelight:bridge:kontorloft:color_temperature' has been removed.
I will close the issue unless you would like to keep it open to look into the naming thing?
That’s strange. I‘ll investigate that.
Expected Behavior
Light should go online and work.
Current Behavior
After adding light to configuration file
The thing status never goes online. It is stuck stuck at CONFIGURATION_PENDING Log here:
If I restart the binding I get an exception right after initialization of the lamp:
Behavior is the same with other colortemperaturelights and lights work with the hue binding.
If I let the lamp be auto discovered it goes online instantly:
Steps to Reproduce (for Bugs)
colortemperaturelight kontorloft "LysKontor Loft" @ "Kontor" [ id="10" ]
Context
I am trying to migrate my light away from the hue binding now that the Deconz binding support lights.
Your Environment