feat(home-assistant): add MQTT support and Teslamate connection
This commit is contained in:
parent
c95d66caab
commit
1206a18e22
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
domain = "tesla.giugl.io";
|
domain = "tesla.giugl.io";
|
||||||
@ -51,6 +51,14 @@ in
|
|||||||
secretsFile = config.age.secrets.teslamate.path;
|
secretsFile = config.age.secrets.teslamate.path;
|
||||||
virtualHost = domain;
|
virtualHost = domain;
|
||||||
postgres.enable_server = true;
|
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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user