Bei mir sieht die Section so aus:
Die Minimalkonfiguration ist
falls der Broker auf dem selben Rechner läuft. Sonst muss zumindest broker_host konfiguriert werden.
mqtt ist None, solange keine Verbindung zum Broker besteht.
Code:
mqtt: module_name: mqtt # broker_host: smarthomeng.local broker_monitoring: true # qos: 1 # acl: '' last_will_topic: devices/shng-module/$online last_will_payload: 'False' birth_topic: devices/shng-module/$online birth_payload: 'True' # bool_values: ['Falsch', 'Wahr'] user: xxx password: yyy
Code:
mqtt: module_name: mqtt
mqtt ist None, solange keine Verbindung zum Broker besteht.
Kommentar