Hi all,
i have the problem that my openhab rules, wich invole a philips hue tap switch, dont get reliable triggered (sometimes i have to push 5-6 times to get a result).
i can see in the events.log that the hue tap gets updated, but the rule dont get triggered.
i use openhab 2.5.5 (with 2.5.4 and 2.5.0 i had the same problem) on docker with influxdb as persistence (both on synology host).
my rule looks like this:
rule "Licht Wohnzimmer"
when
Channel "hue:0830:90f326aa:tap_switch_event" triggered 34.0
then
WZ_Licht_Rule.sendCommand(if (WZ_Licht_Rule.state == OFF) ON else OFF)
end
the rule that then get triggerd is this:
rule "Licht Wohnzimmer Starten"
when
Item WZ_Licht_Rule changed to ON
then
WZ_Decke_RGB_Color.sendCommand("27,57,100")
WZ_Vitrine_Steckdose.sendCommand(ON)
WZ_Licht_Rule.sendCommand(ON)
WZ_Ambient_RGB_Color.sendCommand("0,100,50")
HueGo1Effect.sendCommand(ON)
end
rule "Licht Wohnzimmer Beenden"
when
Item WZ_Licht_Rule changed to OFF
then
WZ_Decke_RGB_Color.sendCommand(OFF)
WZ_Ambient_RGB_Color.sendCommand(OFF)
WZ_Vitrine_Steckdose.sendCommand(OFF)
WZ_Licht_Rule.sendCommand(OFF)
WZ_Mood_Licht_Rule.sendCommand(OFF)
WZ_TV_Lightbar_Left_Color.sendCommand(OFF)
WZ_TV_Lightbar_Right_Color.sendCommand(OFF)
HueGo1.sendCommand(OFF)
end
with BasicUI or android app, i dont have the problem. only with the hue tap.
has anyone an idea for this?
thanks