Hi
I’ve been trying to connect a Sonoff Flashed with ESPURNA to OpenHub. I’m having problems to create the switch in home.items.
These are the screen captures with my setup,
I’m creating the item with the code
Switch SONOFF_1 “LED Light” {mqtt=">[broker:living/SONOFF_1:command:ON:1],>[broker:living/SONOFF_1:command:OFF:0],<[broker:living/SONOFF_1:state:ON:1],<[broker:living/SONOFF_1:state:OFF:0"} [ “Switchable” ]
But it is not connecting to OpenHab2. Could anyone let me know where my error is?