This commit is contained in:
mjallen18
2026-01-12 15:13:02 -06:00
parent 42e771ef1f
commit 639ce36cb0
3 changed files with 50 additions and 20 deletions

View File

@@ -53,8 +53,8 @@
firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 8192 ];
allowedUDPPorts = [ 8192 ];
allowedTCPPorts = [ 8192 8080 8081 ];
allowedUDPPorts = [ 8192 8080 8081 ];
};
};
@@ -68,24 +68,31 @@
# # Services # #
# ###################################################
services.home-assistant = {
enable = true;
automation = {
lightswitch = {
living-room-lights = {
id = 1741726347213;
alias = "Living Room Light Switch";
mqttDeviceId = "958ff6b3c9df0db21e418aaf6410b996";
lightEntityId = "light.living_room_lights";
};
bedroom-lights = {
id = 1741726231261;
alias = "Bedroom Light Switch";
mqttDeviceId = "de0f34498214842dcccaa6b08967d6b5";
lightEntityId = "light.bedroom_lights";
services = {
home-assistant = {
enable = true;
automation = {
lightswitch = {
living-room-lights = {
id = 1741726347213;
alias = "Living Room Light Switch";
mqttDeviceId = "958ff6b3c9df0db21e418aaf6410b996";
lightEntityId = "light.living_room_lights";
};
bedroom-lights = {
id = 1741726231261;
alias = "Bedroom Light Switch";
mqttDeviceId = "de0f34498214842dcccaa6b08967d6b5";
lightEntityId = "light.bedroom_lights";
};
};
};
};
otbr = {
enable = true;
restPort = 8081;
port = 8080;
};
};
# ###################################################