MQTT 2.4 setup tutorial


#1

The new MQTT binding in 2.4 comes with new features such as an embedded broker. Here are the setup instructions:

  1. Install the latest version of the binding and the broker (broker is in misc).
  2. The MQTT binding will discover the embedded broker.
  3. Create a new Generic MQTT Thing.
  4. Select the embedded broker as the bridge, and click the checkbox.
  5. Click the plus icon for creating a new channel. Select type of item (door sensor --> contact, etc)
  6. Find the topic that your devices are publishing and put it into the state topic. If you have a control device, add the topic of the command that you use.
  7. Link any relevant items to that channel