home-assistant.github.io/source/_addons/mosquitto.markdown
2017-05-03 19:31:13 -07:00

840 B

layout title description date sidebar comments sharing footer
page Mosquitto MQTT broker Fast and reliable MQTT broker. 2017-04-30 13:28 true false true true

Set up a mosquitto MQTT broker.

{
  "plain": true,
  "ssl": false,
  "anonymous": true,
  "logins": [
    {"username": "testuser", "password": "mypw"}
  ]
}

Configuration variables:

  • plain (Optional): Listen to broker on port 1883 without SSL/TLS. Defaults to true.
  • ssl (Optional): Listen to broker on port 8883 with SSL/TLS. This requires certificates. Defaults to false.
  • anonymous (Optional): Allow anonymous connection. If logins is set, anonymous user can only read data. Defaults to true.
  • logins (Optional): A list of user that will be created with username and password.