MQTT Binding: I don´t understand

That comes with the MQTT V2 binding, so you already have it. I’m currently on the phone so can’t help much, but did write a sort of generic tutorial.

@rlkoshak also wrote this which might help.

And @Max_G very recently asked the same questions.

Use the above links to help, but in general:

  1. Create a Bridge Thing to connect openHAB to Mosquitto
  2. Create Things for each device.
  3. Within each Thing create Channels for each property of the device (temperature reading, relay etc)
  4. Link your items to your Thing Channels using the channel= syntax, instead of the mqtt= syntax.
1 Like