Hello,
I try to switch on my TRADFRI colour bulb with a rule like this and I tried different samples but it dos´t work. Error Message is: Wohnz_Lampe_ColorLight predicted to become 0,0,0
rule "Tradfri Wohnzimmer EIN"
when
//Item Steckd_EG_Wohnz_1 received command ON
Item test_switsch3 received command ON
then
val HSBType red = new HSBType(new DecimalType(329),new PercentType(100),new PercentType(70))
Wohnz_Lampe_ColorLight.sendCommand(red)
//Wohnz_Lampe_ColorLight.sendCommand(new HSBType("329,100,70"))
//Wohnz_Lampe_ColorLight.sendCommand(new HSBType(new DecimalType(329), new PercentType(100), new PercentType(70)))
end
Logfile:
2019-09-26 22:48:15.879 [ome.event.ItemCommandEvent] - Item 'test_switsch3' received command ON
2019-09-26 22:48:15.909 [vent.ItemStateChangedEvent] - test_switsch3 changed from OFF to ON
2019-09-26 22:48:15.948 [ome.event.ItemCommandEvent] - Item 'Wohnz_Lampe_ColorLight' received command 329,100,100
2019-09-26 22:48:15.961 [nt.ItemStatePredictedEvent] - Wohnz_Lampe_ColorLight predicted to become 0,0,0