otbr
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
# ###################################################
|
||||
|
||||
Reference in New Issue
Block a user