improved docs for mqtt config

This commit is contained in:
Kai Kriegel 2022-12-27 15:26:23 +00:00
parent 7e253a090f
commit f0127d2111

View File

@ -18,7 +18,15 @@ listens =
```
### `mqtt_url`
Contains the Address for the MQTT Server BFFH connects to
Contains the Address for the MQTT Server BFFH connects to.
The Address has the format `<protocol>://[user]:[password]@<server>:[port]`
* `protocol` is required and can be one of: `mqtt`,`tcp`,`mqtts`,`ssl`
* `user` and `password` are optional
* `server` is required and can be an ip address or a hostname
* `port` is optional
**Example:**
```
mqtt_url = "tcp://localhost:1883"