Hi!
I’ve been offline for 6 months and I’m not starting to launch a new Openhab2 setup for my new home.
Lots of things have changed, I’ve noticed. However I can’t get the mqtt binding to work.
I have the mosquitto broker installed on 10.0.1.11
I have openhab on 10.0.1.22
I have a publisher on 10.0.1.20
I look in the logs on the broker and when I start openhab no client is connecting.
I can manually using mosquitto_pub publish stuff to the broker from the openhab instance, so there is no firewall issue.
I have the following mqtt.cfg:
mosquitto.url=tcp://10.0.1.11:1883
mosquitto.clientId=openhab
mosquitto.qos=0
mosquitto.retain=false
mosquitto.async=true
and mqtt-eventbus:
broker=mosquitto
It says in the mqtt-eventbus broker name should be in openhab.cfg (but that feels outdated?)
In karaf:
openhab> feature:list | grep MQ
esh-tp-paho │ 0.9.0.SNAPSHOT │ │ Uninstalled │ distro-2.2.0-SNAPSHOT │ MQTT v3 Client
openhab-transport-mqtt │ 2.2.0.SNAPSHOT │ │ Uninstalled │ distro-2.2.0-SNAPSHOT │ MQTT Transport
openhab-action-mqtt │ 1.11.0.SNAPSHOT │ x │ Started │ addons-2.2.0-SNAPSHOT │ MQTT Action
openhab-binding-mqtt1 │ 1.11.0.SNAPSHOT │ x │ Started │ addons-2.2.0-SNAPSHOT │ MQTT Binding
openhab-binding-mqttitude1 │ 1.11.0.SNAPSHOT │ │ Uninstalled │ addons-2.2.0-SNAPSHOT │ OwnTracks (formerly MQTTitude) Binding
openhab-persistence-mqtt │ 1.11.0.SNAPSHOT │ │ Uninstalled │ addons-2.2.0-SNAPSHOT │ MQTT Persistence
Feels like I’m missing something very basic, and it’s like openhab is not using my config files?
Nothing in the logs about mqtt either.