openhab does not seem able to send or receive anything from my MQTT, i raised the logging to debug and i have the below in my log
01:53:53.746 [ERROR] [org.apache.felix.configadmin ] - Cannot use configuration org.openhab.mqtt for [org.openhab.io.transport.mqtt.MqttService, org.osgi.service.cm.ManagedService, id=376, bundle=230/mvn:org.openhab.io/org.openhab.io.transport.mqtt/1.9.0-SNAPSHOT]: No visibility to configuration bound to mvn:org.openhab.action/org.openhab.action.mqtt/1.9.0-SNAPSHOT
any suggestions ?
UPDATE:
strange, i just uninstalled MQTT Actions and it worked, even after i re-installed the MQTT actions still working
i do not know what happened
Same problem for me and same working solution.
Your post saved my day!
13:04:42.858 [ERROR] [org.apache.felix.configadmin ] - Cannot use configuration org.openhab.mqtt for [org.openhab.io.transport.mqtt.MqttService, org.osgi.service.cm.ManagedService, id=308, bundle=208/mvn:org.openhab.io/org.openhab.io.transport.mqtt/1.10.0-SNAPSHOT]: No visibility to configuration bound to mvn:org.openhab.action/org.openhab.action.mqtt/1.10.0-SNAPSHOT
Did an apt-update and upgrade, MQTT just stopped working completely (running mosquitto, and confirmed that manually publishing at command line things still worked, so issue had to be OH2 binding). I had made no changes to OH config whatsoever, even tried a complete reboot of OpenHAB2 - no go. After finding this post, I uninstalled MQTT 1.11 binding, got the āno visibility to configurationā¦ā error, and still nothing would work, so uninstalled MQTT actions and bingo, everything works again. Reinstalled MQTT actions and still working.
Same problem here (and same solution) after changing mqtt host IP/name in cfg. look like the problem I see with caldav. @Kai : Is there already an issue raised for this bug ?
I am not aware of any reported issue and I honestly wouldnāt even know in which issue tracker to enter it⦠First place would probably be openhab1-addons.
For me all works fine when I removed mqtt actions (I also had to change something in mqtt.cfg to get it to connect again).
But if I install mqtt action agian, it all stops working again. Not really sure how and why, but mqtt communication works without mqtt action plugin now.
Great that there is a easy solution, but a bit unfortunate that bug builds up a fear of updating the system
I confirm! If both are installed, binding and action, then after the update the mosquito does not work. When you delete an action, the mosquito starts to work. This happens a very long time ago.
can you try to restart the mosquito service after Openhab service is fully started and all the bindings and UI are fully loaded ?
in my case it always works after a simple restart for the service
This problem still exists. There is a namespace type conflict, as it is clearly referencing the action in the logs as the reason for failing.
Cannot use configuration org.openhab.mqtt for [org.openhab.io.transport..MqttService, org.osgi.service.cm.ManagedService, id=316, bundle=208/mvn:org.openhab.io/org.openhab.io.transport.mqtt/1.11.0]: No visibility to configuration bound to mvn:org.openhab.action/org.openhab.action.mqtt/1.11.0