Good morning
I would like it so when one of my Hue bulbs turns ON, some other stuff turns on too.
Here is my rule:
rule "Fireplace Wall Lights ON"
when
Item LR_Fireplace_Toggle changed to ON
then
sendCommand(LR_Left_Wall, ON)
sendCommand(LR_Right_Wall, ON)
logInfo("Rules", "FIREPLACE->WALL ON")
end
LR_Fireplace_Toggle is actually a busch-jaeger relay switch, Hue type 0000.
It works if I switch on fireplace via basicUI, but not if I turn on the fireplace via app/alexa etc
It’s as if openhab isn’t seeing it change. In fact it doesn’t change in paperUI control, my other hue stuff does.
I see the state of the switch change in Hue app no problem.
Is my rule correct? Any other suggestions?
Please have a shot look into the events log /var/log/openhab2/events.log is the state change there metioned if you trigger the switch manually or from another app?
If yes than it is a rule problem, even if i am not seeing any spetecular things there. If not than the change is not recognized by the binding and you have to look there.
A little bit more information about the item definition might be helpful.
I read it again and maybe i am not clear with you setup.
You have a hue and a wallswicth from Busch-Jäger. How ist the Busch-Jäger switch controlled by openHAB? Is the Hue switches (hard) on/Off with the Busch-Jäger Switch?
Sorry,
I have a Busch-Jaeger switch with relay. The switch itself is never touched.
This device appears in Hue app as an ON/OFF light.
I can turn it on and off via the app or alexa no problem.
It was discovered as a “thing” by paperUI.
In my home.items file, item is created like so:
Cool, thanks
It’s probable some issue with the Hue binding, I can’t imagine many people are using Busch=Jaeger switches due to the massive price of them.
€200 for this single switch. :-/