Hi everybody,
I was running an OH2.5 instance in an VM that just keeps getting bigger and eats up all the HDD space. I therefore wanted to start semi new, created a new VM (Ubuntu 20.04 running) and decided to switch to OH3.
Process:
- Created new VM
- installed Ubuntu20.04
- installed OH3 (through apt)
- installed Mosquitto2.0.6
4.1. modified the mosquitto.conf (addedlistener 1833
andallow_anonymous true
) - installed InfluxDB2.0.3
5.1. created openhab and grafana user and openhab bucket with openhab user RW access and grafana with Read access - backed up my OH2.5 instance
- restored that backup on the OH3 system
Outcome:
- the Tradfri, LG WebOS, Openweathermap, Network, Astro, systeminfo, and DWDunwetter bindings are working.
Problem:
- The MQTT binding seems to not communicate with the Mosquitto server, although the broker and all items are shown with a green “online” icon.
To test if the importing of the backup would be the problem, i created a new “MQTT Broker” (Things->MQTT Binding->MQTT Broker) added a new Generic MQTT Thing and added a switch channel (client is a tasmotized plug).
This is also shown as “online” but does not represent the current state, nor does it send a command to the mosquitto server.
The messages from the clients are received by the Mosquitto server (checked with “MQTT Explorer”) but the Mosquitto server receives no command from the Openhab server.
[Edit]: I have no error messages in the openhab or event logs. The mosquitto.log also shows no errors. [/Edit]
What could be the problem an how would i solve this?
I noticed that the imported mqtt things have an identifier mqtt:topic:thingname
whereas the things created through the UI have an identifier mqtt:topic:brokername:thingname
. Does this have any impact an needs to be changed?
Thank you for any help and thanks to the developers for their time and effort on this project.