added cameras

This commit is contained in:
Bryan Ramos 2026-03-12 05:22:12 -04:00
parent 05ed364b26
commit 30991dd537
2 changed files with 40 additions and 66 deletions

View file

@ -100,7 +100,12 @@ in
services.dnsmasq = { services.dnsmasq = {
enable = true; enable = true;
settings = { settings = {
address = "/.ramos.codes/192.168.0.154"; # Only specific subdomains go to local server
address = [
"/git.ramos.codes/192.168.0.154"
"/frigate.ramos.codes/192.168.0.154"
"/test.ramos.codes/192.168.0.154"
];
server = [ "1.1.1.1" "8.8.8.8" ]; server = [ "1.1.1.1" "8.8.8.8" ];
}; };
}; };

View file

@ -19,73 +19,41 @@ in
settings = { settings = {
mqtt.enabled = false; mqtt.enabled = false;
cameras = { cameras = {
# "doorbell" = { doorbell = {
# ffmpeg = {
# inputs = [
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0";
# roles = [ "record" ];
# }
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=1";
# roles = [ "detect" ];
# }
# ];
# };
# };
"living_room" = {
detect.enabled = false; detect.enabled = false;
ffmpeg = { ffmpeg.inputs = [{
inputs = [ path = "rtsp://admin:ocu?u3Su@192.168.0.134/cam/realmonitor?channel=1&subtype=0";
{ roles = [ "record" ];
}];
};
living_room = {
detect.enabled = false;
ffmpeg.inputs = [{
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=1&subtype=0"; path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ]; roles = [ "record" ];
} }];
];
}; };
kitchen = {
detect.enabled = false;
ffmpeg.inputs = [{
path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0";
roles = [ "record" ];
}];
};
parking_lot = {
detect.enabled = false;
ffmpeg.inputs = [{
path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ];
}];
};
porch = {
detect.enabled = false;
ffmpeg.inputs = [{
path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
roles = [ "record" ];
}];
}; };
# "kitchen" = {
# ffmpeg = {
# inputs = [
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=0";
# roles = [ "record" ];
# }
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.181/cam/realmonitor?channel=2&subtype=1";
# roles = [ "detect" ];
# }
# ];
# };
# };
# "parking_lot" = {
# ffmpeg = {
# inputs = [
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=0";
# roles = [ "record" ];
# }
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.59/cam/realmonitor?channel=1&subtype=1";
# roles = [ "detect" ];
# }
# ];
# };
# };
# "porch" = {
# ffmpeg = {
# inputs = [
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=0";
# roles = [ "record" ];
# }
# {
# path = "rtsp://admin:ocu?u3Su@192.168.0.43/cam/realmonitor?channel=1&subtype=1";
# roles = [ "detect" ];
# }
# ];
# };
# };
}; };
}; };
}; };
@ -95,5 +63,6 @@ in
useACMEHost = domain; useACMEHost = domain;
forceSSL = true; forceSSL = true;
}; };
}; };
} }