Gday,
Does anyone have a relay node connected to openHab via the MQTT Broker gateway?
Could you point me in the right direction with the code to send to turn it on/off.
- My MQTT broker gateway is working, I have a couple of PIRs & a Distance node working.
- openHab is working
- Node ID is 52
- Sketch is the current latest 1.5 versions for both relay node and gateway
But I can't seem to understand what to send to turn the relay node on or off.
I have this but it is not working,
Switch TestGD "Test GD" {mqtt=">[mysensors:MyMQTT/52/1/V_LIGHT:command:ON:1],>[mysensors:MyMQTT/52/1/V_LIGHT:command:OFF:0]"}
This is from the serial monitor,
send: 52-52-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=ok:0
send: 52-52-0-0 s=255,c=0,t=18,pt=0,l=5,sg=0,st=ok:1.5.4
send: 52-52-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
read: 0-0-52 s=255,c=3,t=6,pt=0,l=1,sg=0:M
repeater started, id=52, parent=0, distance=1
send: 52-52-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=ok:0
send: 52-52-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=ok:1.5.4
send: 52-52-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
read: 0-0-52 s=255,c=3,t=6,pt=0,l=1,sg=0:M
sensor started, id=52, parent=0, distance=1
send: 52-52-0-0 s=255,c=3,t=11,pt=0,l=5,sg=0,st=ok:Relay
send: 52-52-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
send: 52-52-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
Regards,
George