OpenHAB Missing Binding

205 Views Asked by At

I installed mosquitto on my Raspberry Pi.
I installed the MQTT Binding, MQTT Binding (1.x) using PaperUI.
I created an item:
Number mqtt_kitchen_gas "Gas Level [%.1f]" {mqtt="<[mosquitto:Home/Floor1/Kitchen/Gas_Sensor:state:default]"}
I opened a terminal window and sent: mosquitto_pub -u openhabian --pw xxxx -t "Home/Floor1/Kitchen/Gas_Sensor" -m 10

The value "10" appeared in the Gas Level field.
I could change "10" to any number and that would appear in the field.
All was good with the world.

Then I rebooted and looked for the binding MQTT. It is not listed under Configuration, Bindings. (GPIO, another binding I installed is listed.) Also, if I search the Add-ons for MQTT it shows MQTT Binding (1.x) is installed (can be uninstalled) and I can still change the Gas Level field using the above mosquitto_pub.

Maybe I shouldn't worry about it since it works but maybe I have something wrong with my installation and it will come back to bite me.
Any opinions?

1

There are 1 best solutions below

2
J. Luckenbach On

I am not completely sure (about 75% :D), but i think that the MQTT 1.x Binding simply doesn't provide any configuration that could be done in paper ui. That could be the reason why it isn't displayed in the config section.

Since it appears in the addons section and works, everything should be fine. I am using this binding too and it works properly for ages. Of course i checked my configuration area in paper ui and it isn't shown there for me too.

Anyways its always fine to check the logs regularly for problems. If there are none, installation is fine.