mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
Update mosquitto.markdown
This commit is contained in:
parent
911c873002
commit
629171738c
@ -18,7 +18,11 @@ Set up a [mosquitto](https://mosquitto.org/) MQTT broker.
|
|||||||
"anonymous": true,
|
"anonymous": true,
|
||||||
"logins": [
|
"logins": [
|
||||||
{"username": "testuser", "password": "mypw"}
|
{"username": "testuser", "password": "mypw"}
|
||||||
]
|
],
|
||||||
|
"customize": {
|
||||||
|
"active": false,
|
||||||
|
"folder": "mosquitto
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -30,6 +34,7 @@ Configuration variables:
|
|||||||
- **ssl** (*Optional*): Listen to broker on port 8883 with SSL/TLS. This requires certificates. Defaults to `false`.
|
- **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`.
|
- **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*.
|
- **logins** (*Optional*): A list of user that will be created with *username* and *password*.
|
||||||
|
- **customize** (*Optional*): If you enable it, it read additional config files (`*.conf`) from `/share/mosquitto`.
|
||||||
|
|
||||||
### {% linkable_title Home Assistant configuration %}
|
### {% linkable_title Home Assistant configuration %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user