Hey there, I am migrating to my new raspi 4 and I have a similar problem.
Mosquitto is working in the shell, but nothing happens, when toggling a switch in BasicUI. The output of “cat /etc/openhab2/services/mqtt.cfg” is:
mosquitto.url=tcp://192.168.1.187:1883
mosquitto.clientId=openHAB2
mosquitto.user=domeninini
mosquitto.pwd=********
mqtt:broker.retain=true
mqtt:broker.async=false
and the content of “/var/lib/openhab2/config/org/openhab/mqtt.config” is
broker.async="false"
broker.retain="true"
mosquitto.clientId="openHAB2"
mosquitto.pwd="*********"
mosquitto.url="tcp://192.168.1.187:1883"
mosquitto.user="domeninini"
service.pid="org.openhab.mqtt"
MQTT Binding is installed, then a new thing is added manually (MQTT Broker) with the following features:
(upload://88l9kAWQqIsSzxLkVFhU14DkOat.png)
My openhab version is 2.4.0-1.
What else could cause the problem ?