I use the MQTT event-bus to expose states and commands to the local MQTT broker (Mosquitto). This works pretty well, so oviously the connection between OH2 and Mosquitto works.
Unfortunately I cannot publish a message by using the MQTT action. I do not see any error, but the clients which subscribe on a topic which I publish with the MQTT action are not notified.
In the openhab log I can see this log entry:
20:16:05.126 [DEBUG] [org.openhab.action.mqtt.internal.Mqtt] - Message to broker: mqtt, topic: playground/test
This is the code of my rule:
publish("mqtt", "playground/test", "")
Everything seems to be working… but unfortunately it just seems to…
Any ideas? Thanks!