feat(home-assistant): add MQTT support and Teslamate connection

This commit is contained in:
Giulio De Pasquale 2024-12-09 14:17:06 +00:00
parent c95d66caab
commit 1206a18e22
2 changed files with 1064 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, ... }:
let
domain = "tesla.giugl.io";
@ -51,6 +51,14 @@ in
secretsFile = config.age.secrets.teslamate.path;
virtualHost = domain;
postgres.enable_server = true;
grafana = { enable = true; port = grafanaPort; listenAddress = "127.0.0.1"; urlPath = "/grafana"; };
grafana = {
enable = true;
port = grafanaPort;
listenAddress = "127.0.0.1";
urlPath = "/grafana";
};
mqtt = {
enable = true;
};
};
}