home-assistant.github.io/source/_addons/mosquitto.markdown
2017-05-03 23:04:10 +02:00

829 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

Setup a mosquitto mqtt broker.

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

Configuration variables:

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