I have have installed matt binding using paper ui, I have installed openhab2 on rasberry pi configured Switch item as following:-
Switch mySwitch “mySwitch” {mqtt=">[mosquitto:/office/light:command:OFF:0],>[mosquitto:/office/light:command:ON:1]", autoupdate="false}
my mqtt broker is running on other linux machine (Not Rasberry Pi).
My mqtt.cfg is like:-
mosquitto.url=tcp://192.168.29.4:1883
mosquitto.qos=0
mosquitto.retain=false
here 192.168.29.4 is ip of machine where mqtt broker is running.
I have installed MQTT.fx and subscribe to topic /office/light but noting is shown
I have also check openhab logs it shows me:-
- Loaded MQTT config for item ‘mySwitch’ : 0 subscribers, 2 publishers
nothing after that
please help