There are three at the moment:
They all share common properties:
<connector-type>
- host: <MQTT broker host>
port: <MQTT broker port> # optional, defaults to 1883
root-topic: <root topic for all messages for this connector>
username: <MQTT broker username> # optional, but recommended
password: <MQTT broker password> # optional, but recommended
auto-reconnect: <boolean flag> #optional, see below
sensors:
...
switches:
...
Instructs the MQTT library to try to reconnect automatically. Generally, it is a good thing, but it may backfire during initial setup because the library does it quietly and will do it forever, with the rest of the system appearing stuck. Use with care.
See sensors & switches.