Hi, I’m using openHab 3.1.0, running on an official openHab docker image (OS = Linux). I have a simple use case: I would like turn an LED on my arduino on/off using a toggle switch on BasicUI. Communication protocol used is MQTT. I also have a mosquitto MQTT broker installed in my setup and I have already been able to publish temperature readouts to the OpenHab successfully.
My current implementation (not working) is the following (see the configuration at On/Off Switch – Google Drive)
- I have configured a generic MQTT Thing
- I have defined a channel to handle the on/off switch
- I have defined a semantic model
- Added this switch on BasicUI
Whenever I change the state of the switch on the BasicUI, nothing is published under the smartbox1_humidityPowerControl_cmd topic. I’m wondering whether I have missed any crucial steps in my configuration. Help me out. Thanks.