Added teslamate configuration
This commit is contained in:
parent
00319bf5ee
commit
478198d88e
13 changed files with 253 additions and 3 deletions
|
@ -17,6 +17,7 @@ in {
|
|||
age.secrets = {
|
||||
hass_mqtt.file = ../../../../secrets/hass_mqtt.age;
|
||||
theengs_ble_mqtt.file = ../../../../secrets/theengs_ble_mqtt.age;
|
||||
teslamate_mqtt.file = ../../../../secrets/teslamate_mqtt.age;
|
||||
};
|
||||
|
||||
services.mosquitto = {
|
||||
|
@ -28,6 +29,7 @@ in {
|
|||
acl = [
|
||||
"readwrite home/#"
|
||||
"readwrite homeassistant/#"
|
||||
"read teslamate/#"
|
||||
];
|
||||
passwordFile = config.age.secrets.hass_mqtt.path;
|
||||
};
|
||||
|
@ -38,6 +40,10 @@ in {
|
|||
];
|
||||
passwordFile = config.age.secrets.theengs_ble_mqtt.path;
|
||||
};
|
||||
teslamate = {
|
||||
acl = ["readwrite teslamate/#"];
|
||||
passwordFile = config.age.secrets.teslamate_mqtt.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue