Hello
I tried to add my Broadlink with the mqtt binding to Openhab. But now I don`t know how to add it. I have my mqtt broker installed in the binding and it is Online. So now here is my Problem:
I have this code for the mqtt binding v1.11 but I dont know how to change it, so it can work with the new one.
This fbacker/broadlink-mqqtt-bridge is a service, you can see such service in http://localhost:3000, on this web server you should see if the broadlink service has been connected to your mqtt broker, in my case (mosquitto). You must make sure about this before of all.
You need to read the doc material for the new MQTT (v2) Binding to see some examples:
i) MQTT - Bindings | openHAB
ii) MQTT Arrives in the Modern openHAB 2.x Architecture | openHAB
iii) Migrating MQTT1 items to MQTT2.4 items
iv) multiple posts within the community forum with generic examples of MQTT v2 configurations (text based and/or PaperUI based)
v) The specifics of your broadlink-MQTT-Bridge setup will have to be figured out by yourself. If you get stuck, post what you have tried and ask for help.
vi) After you have successfully configured your OH2 system to work with MQTTv2 configs for this Bridge, type up a tutorial so can share the knowledge
This forum is about openHAB. And openHAB bindings.
You should know what MQTT state and MQTT command topics are. This is MQTT specific.
A hint: openHAB will publish to command topics and will receive and assign new states from state topics.
If you knew this already and think that the binding docu should be improved, please help and propose a change.