mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update mosquitto.markdown
This commit is contained in:
parent
c35dc84b2c
commit
b59f86dbe9
@ -9,4 +9,22 @@ sharing: true
|
|||||||
footer: true
|
footer: true
|
||||||
---
|
---
|
||||||
|
|
||||||
[Placeholder]
|
Setup a [mosquitto](https://mosquitto.org/) mqtt broker.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"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*.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user