Hi guys, im trying to get working my light controller, the way it works it it creates a number value based on the ButtonID and deviceID
So for Example if deviceID is 20,
and ButtonID is 41,
this would create the string 20-41
The buttons i am using a Momentry so im guessing i would need to setup in rules to check the status of the device(light in OpenHab) and then toggle the output to the other. and then have openHab change its status according
My Light controller only publishes so it doesn’t care for a reply of the status of the light it will just send the same String each time the button is pressed.
My Arduino code for generating and publishing to MQTT is
i guess the only filtering that would need to be done is on different buttons 20-41 is button 41 on panel 20.
so id assume i could setup a second rule to monitor 20-42 and all the other buttons using a Mega i can get 48 buttons per board.
(Stuart Hanlon, UK importer of Velbus hardware)
Have a good read of those topics I’ve linked to.
I’m certain you’ll find something in there to help you.
Very generous people have spent a lot of time fine tuning the issues in each one.