fix(rpi4): fix home-assistant tasmota integration

This commit is contained in:
Felix Schröter 2020-10-22 19:16:43 +02:00
parent 79f03b3318
commit 92237b9269
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -48,12 +48,13 @@ in
];
hashedPasswordFile = "/etc/nixos/secrets/mqtt/hass";
};
#"tasmota" = {
# acl = [
# "topic readwrite tasmota/#"
# ];
# hashedPasswordFile = "/etc/nixos/secrets/mqtt/tasmota";
#};
"tasmota" = {
acl = [
"topic readwrite tasmota/#"
"topic readwrite homeassistant/#"
];
hashedPasswordFile = "/etc/nixos/secrets/mqtt/tasmota";
};
"owntracks" = {
acl = [
"topic readwrite owntracks/#"
@ -97,7 +98,7 @@ in
};
mqtt = {
broker = "localhost";
port = "8883";
port = config.services.mosquitto.port;
username = "hass";
password = "!secret mqtt_password";
discovery = true;