From f1245d2d243bfd3b478b47a12a7f288ce0f71a08 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 23 Sep 2025 14:30:06 -0400 Subject: [PATCH] playing around with new camera --- modules/services/frigate/default.nix | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix index 4dc38b8..0b3ba11 100644 --- a/modules/services/frigate/default.nix +++ b/modules/services/frigate/default.nix @@ -42,6 +42,12 @@ in wce-0003_sub = [ "rtsp://thingino:thingino@192.168.150.3:554/ch1" ]; + wce-0004 = [ + "rtsp://192.168.0.210:554/media/live/1/1" + ]; + wce-0004_sub = [ + "rtsp://192.168.0.210:554/media/live/1/2" + ]; }; }; ############# @@ -98,7 +104,6 @@ in } ]; }; - live.stream_name = "wce-0001_sub"; motion = { enabled = true; mask = [ @@ -128,7 +133,6 @@ in } ]; }; - live.stream_name = "wce-0002_sub"; motion = { enabled = true; mask = [ @@ -151,7 +155,6 @@ in } ]; }; - live.stream_name = "wce-0003_sub"; motion = { enabled = true; mask = [ @@ -161,6 +164,24 @@ in }; detect.enabled = true; }; + wce-0004 = { + ffmpeg = { + inputs = [ + { + path = "rtsp://127.0.0.1:8554/wce-0004"; + roles = ["record"]; + } + { + path = "rtsp://127.0.0.1:8554/wce-0004_sub"; + roles = ["detect"]; + } + ]; + }; + motion = { + enabled = true; + }; + detect.enabled = true; + }; }; }); in {