Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions modules/profiles/home-automation/frigate/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ let
"ffmpeg:kitchen#audio=aac"
"tapo://admin:{FRIGATE_TAPO_SHA256}@${cameraAddress}"
];
api.origin = "*";
};
mqtt = {
enabled = true;
Expand Down Expand Up @@ -47,7 +48,7 @@ let
};
record = {
enabled = true;
retain = { days = 0; };
retain.days = 0;
alerts = {
retain = {
days = 30;
Expand All @@ -62,8 +63,8 @@ let
};
};
};
detect = { enabled = true; };
objects = { filters = { person = { min_score = 0.8; }; }; };
detect.enabled = true;
objects.filters.person.min_score = 0.8;
};
in {
sops = {
Expand Down Expand Up @@ -123,5 +124,5 @@ in {
];
};

networking.firewall.allowedTCPPorts = [ 5000 8971 8090 ];
networking.firewall.allowedTCPPorts = [ 1984 5000 8090 8971 ];
}
17 changes: 10 additions & 7 deletions modules/profiles/home-automation/home-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,16 @@
pyqrcode
];

customComponents = with pkgs.home-assistant-custom-components; [
frigate
(pkgs.callPackage ./components/ha_nationalgrid.nix {
aionatgrid =
pkgs.python3Packages.callPackage ./packages/aionatgrid.nix { };
})
];
customComponents = with pkgs.home-assistant-custom-components;
[ frigate hass_web_proxy ] ++ [
(pkgs.callPackage ./components/ha_nationalgrid.nix {
aionatgrid =
pkgs.python3Packages.callPackage ./packages/aionatgrid.nix { };
})
];

customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules;
[ advanced-camera-card ];

config = {
default_config = { };
Expand Down
Loading