Is anyone running on the latest (#937) openHAB2 Snapshot and using MQTT Binding?
I can’t seem to get it to work… I updated recently from 936 to 937 and I installed regex transformation and I don’t see what I am doing wrong (maybe I need to take a break and reboot my brain…). It was working before (with event-bus also)…
/etc/openhab2/services/mqtt.cfg
:
HomeR.url=tcp://localhost:1883
HomeR.clientId=openhab2
HomeR.user=openhab
HomeR.pwd=something_here
HomeR.qos=0
HomeR.retain=true
HomeR.async=true
OH2 console:
openhab> log:set TRACE org.openhab.binding.mqtt
openhab> log:set TRACE org.openhab.io.transport.mqtt
openhab> list -s |grep MQ
198 | Active | 80 | 1.10.0.201706010110 | openHAB MQTT Binding | org.openhab.binding.mqtt
205 | Active | 80 | 1.10.0.201706010110 | openHAB MQTT Transport Bundle | org.openhab.io.transport.mqtt
openhab> bundle:restart 198
openhab> bundle:restart 205
openhab.log:
2017-06-03 18:27:09.060 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STOPPING - org.openhab.binding.mqtt
2017-06-03 18:27:09.069 [DEBUG] [.binding.mqtt.internal.MqttActivator] - MQTT binding has been stopped.
2017-06-03 18:27:09.069 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STOPPED - org.openhab.binding.mqtt
2017-06-03 18:27:09.070 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STARTING - org.openhab.binding.mqtt
2017-06-03 18:27:09.070 [DEBUG] [.binding.mqtt.internal.MqttActivator] - MQTT binding has been started.
2017-06-03 18:27:09.071 [DEBUG] [org.openhab.binding.mqtt ] - BundleEvent STARTED - org.openhab.binding.mqtt
2017-06-03 18:27:19.033 [DEBUG] [org.openhab.io.transport.mqtt ] - BundleEvent STOPPING - org.openhab.io.transport.mqtt
2017-06-03 18:27:19.038 [DEBUG] [org.openhab.io.transport.mqtt ] - BundleEvent STOPPED - org.openhab.io.transport.mqtt
2017-06-03 18:27:19.039 [DEBUG] [org.openhab.io.transport.mqtt ] - BundleEvent STARTING - org.openhab.io.transport.mqtt
2017-06-03 18:27:19.044 [DEBUG] [org.openhab.io.transport.mqtt ] - BundleEvent STARTED - org.openhab.io.transport.mqtt
No connection is being initiated from OH2 to Mosquitto…
Logs are empty… Restarted the OH2 service… checked that the Broker is alive and well… all look good to me…
I will try in another machine also to see if I can replicate this situation
any ideas?