Skip to content

Setting up devices to work with MQTT

Sandeep Gupta edited this page Dec 4, 2019 · 1 revision

General setup required

Your device needs to work with MQTT as such you need to make sure you set it up correctly.

Key things to rememeber.

  1. enable MQTT
  2. enter the correct MQTT broker host address and port
  3. enter username and password of MQTT broker
  4. enter the device name and topic (which is sometimes all part of the same thing in topic)

you should then use MQTT-spy to confirm you have messages flowing between the device and MQTT broker.

Tasmota specific setup

refer to https://github.com/arendst/Tasmota/wiki/MQTT for information on setting up MQTT in Tasmota.

key thing to remember is to set the MQTT Full Topic to be smartthings/%prefix%/%topic%/