2023-04-01 14:48:12 +00:00
|
|
|
{
|
|
|
|
self,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2023-06-12 15:06:55 +00:00
|
|
|
pub-solar.home-assistant = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
extraComponents = ["androidtv" "fritz" "fritzbox" "fritzbox_callmonitor" "met" "mqtt"];
|
|
|
|
extraPackages = python3Packages:
|
|
|
|
with python3Packages; [
|
|
|
|
# androidtv
|
|
|
|
adb-shell
|
|
|
|
aiofiles
|
|
|
|
androidtv
|
2023-04-01 14:48:12 +00:00
|
|
|
|
2023-06-12 15:06:55 +00:00
|
|
|
# hacs
|
|
|
|
aiogithubapi
|
2023-04-01 14:48:12 +00:00
|
|
|
|
2023-06-12 15:06:55 +00:00
|
|
|
# totop
|
|
|
|
pyotp
|
|
|
|
];
|
|
|
|
|
|
|
|
mqtt = {
|
2023-04-01 14:48:12 +00:00
|
|
|
enable = true;
|
2023-06-12 15:06:55 +00:00
|
|
|
users = {
|
|
|
|
ha = {
|
|
|
|
acl = [
|
|
|
|
"readwrite #"
|
|
|
|
];
|
|
|
|
hashedPassword = "$7$101$jLA9PReG5btNSvw8$O0c3UzCfcBcvqVH8kMZIwEims7p1L4o/DmOTHO9w9731ggC5SyUpJGQIDiUbv+IrTl/H0+Fz9QF/jvY0QCuxuA==";
|
|
|
|
};
|
|
|
|
nono = {
|
|
|
|
acl = [
|
|
|
|
"readwrite #"
|
|
|
|
];
|
|
|
|
hashedPassword = "$7$101$votbflBI1KrRRzBy$hCC/qo7Ggaf2vaLv7lo5uPnyrTCb0i6hPQvXuL/OrrUpzP+KNl6efEU7yQ0cDH6/rJ16Fe2PWSTcW+pL8dlgmg==";
|
2023-04-01 14:48:12 +00:00
|
|
|
};
|
2023-06-12 15:06:55 +00:00
|
|
|
z2m = {
|
|
|
|
acl = [
|
|
|
|
"readwrite #"
|
|
|
|
];
|
|
|
|
hashedPassword = "$7$101$iZE7WOCQIaLtuoVN$M7AAB/mMmhkuXQVmu2RPoJzm744bmwxGTJwE0eoqlPAjyQHbjmOWfEuKoo9jnQCoQu2T96gS8znsUNizGgPWiQ==";
|
2023-04-01 14:48:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-06-12 15:06:55 +00:00
|
|
|
zigbee2mqtt = {
|
2023-04-01 14:48:12 +00:00
|
|
|
enable = true;
|
2023-06-12 15:06:55 +00:00
|
|
|
device = "/dev/ttyS0";
|
|
|
|
adapter = "deconz";
|
|
|
|
};
|
2023-04-01 14:48:12 +00:00
|
|
|
|
2023-06-12 15:06:55 +00:00
|
|
|
config = {
|
|
|
|
homeassistant = {
|
|
|
|
name = "Berrendorf";
|
|
|
|
time_zone = "Europe/Berlin";
|
|
|
|
temperature_unit = "C";
|
|
|
|
unit_system = "metric";
|
|
|
|
latitude = "50.9279036523298";
|
|
|
|
longitude = "6.583225751885932";
|
2023-04-01 14:48:12 +00:00
|
|
|
};
|
2023-06-12 15:06:55 +00:00
|
|
|
http = {
|
|
|
|
ip_ban_enabled = false;
|
|
|
|
use_x_forwarded_for = true;
|
|
|
|
trusted_proxies = [
|
|
|
|
"127.0.0.1"
|
|
|
|
"10.254.0.21"
|
|
|
|
"10.0.1.5"
|
|
|
|
"10.0.1.6"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
energy = {};
|
|
|
|
frontend = {};
|
|
|
|
history = {};
|
|
|
|
map = {};
|
|
|
|
my = {};
|
|
|
|
mobile_app = {};
|
|
|
|
network = {};
|
|
|
|
notify = {};
|
|
|
|
person = {};
|
|
|
|
ssdp = {};
|
|
|
|
sun = {};
|
|
|
|
system_health = {};
|
|
|
|
zeroconf = {};
|
2023-04-01 14:48:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|