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 = {
enable = true;
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" ];
};
};

View file

@ -19,73 +19,41 @@ in
settings = {
mqtt.enabled = false;
cameras = {
# "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" = {
doorbell = {
detect.enabled = false;
ffmpeg = {
inputs = [
{
ffmpeg.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";
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;
forceSSL = true;
};
};
}