I would like to change hue bulb to (“11,100,100”), then start the alert with “LSELECT” and finally change the bulb to (“50,50,0”). It works with this exception: after changing the bulb to (“50,50,0”) a command is executed which changes the bulb to (“11,100,0”). I don`t know from where this command was launched. Any ideas ?
Color Color_EG_Wohnzimmer_WoZ1 "Lampe1 Color Wohnzimmer" <colorlight> (EG_Wohnzimmer,Lampen) {channel="hue:0210:00178876c049:1:color"}
Dimmer CoTemperatur_EG_Wohnzimmer_WoZ1 "Lampe1 Farbtemperatur Wohnzimmer" <qualityofservice> (EG_Wohnzimmer, Lampen) {channel="hue:0210:00178876c049:1:color_temperature"}
String Alert_EG_Wohnzimmer_WoZ1 "Lampe1 Alert Wohnzimmer" <alarm> (EG_Wohnzimmer, Lampen) {channel="hue:0210:00178876c049:1:alert"}
rule "Alert Test"
when
Time cron "0 7 20 * * ?"
then {
Color_EG_Wohnzimmer_WoZ1.sendCommand("11,100,100")
Alert_EG_Wohnzimmer_WoZ1.sendCommand("LSELECT")
Thread::sleep(30000)
Color_EG_Wohnzimmer_WoZ1.sendCommand("50,50,0")
}
end
2017-11-24 20:07:00.172 [ome.event.ItemCommandEvent] - Item 'Color_EG_Wohnzimmer_WoZ1' received command 11,100,100
2017-11-24 20:07:00.181 [vent.ItemStateChangedEvent] - Color_EG_Wohnzimmer_WoZ1 changed from 11,100,0 to 11,100,100
2017-11-24 20:07:00.217 [ome.event.ItemCommandEvent] - Item 'Alert_EG_Wohnzimmer_WoZ1' received command LSELECT
2017-11-24 20:07:00.225 [vent.ItemStateChangedEvent] - Alert_EG_Wohnzimmer_WoZ1 changed from NONE to LSELECT
2017-11-24 20:07:08.793 [vent.ItemStateChangedEvent] - Datum changed from 2017-11-24T20:06:08.763+0100 to 2017-11-24T20:07:08.770+0100
2017-11-24 20:07:17.160 [vent.ItemStateChangedEvent] - Alert_EG_Wohnzimmer_WoZ1 changed from LSELECT to NONE
2017-11-24 20:07:30.194 [ome.event.ItemCommandEvent] - Item 'Color_EG_Wohnzimmer_WoZ1' received command 50,50,0
2017-11-24 20:07:30.208 [vent.ItemStateChangedEvent] - Color_EG_Wohnzimmer_WoZ1 changed from 11,100,100 to 50,50,0
2017-11-24 20:07:32.248 [vent.ItemStateChangedEvent] - Color_EG_Wohnzimmer_WoZ1 changed from 50,50,0 to 11,100,0
2017-11-24 20:07:32.263 [vent.ItemStateChangedEvent] - Alert_EG_Wohnzimmer_WoZ1 changed from NONE to LSELECT
2017-11-24 20:07:47.265 [vent.ItemStateChangedEvent] - Alert_EG_Wohnzimmer_WoZ1 changed from LSELECT to NONE