From 9ff0b408a4b4e72a1e291da3d0d6d9f8dbebf9bb Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sat, 14 Mar 2026 18:32:04 -0400 Subject: [PATCH] doorbell --- .../server/modules/frigate/default.nix | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/system/machines/server/modules/frigate/default.nix b/system/machines/server/modules/frigate/default.nix index cd2d095..fb632d0 100644 --- a/system/machines/server/modules/frigate/default.nix +++ b/system/machines/server/modules/frigate/default.nix @@ -20,8 +20,8 @@ in rtsp.listen = ":8554"; webrtc.listen = ":8555"; streams = { - #doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0"; - #doorbell_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=1"; + doorbell = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=0#backchannel=1"; + doorbell_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.167/cam/realmonitor?channel=1&subtype=1"; living_room = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=0#backchannel=1"; living_room_sub = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=1&subtype=1"; kitchen = "rtsp://admin:ocu%3Fu3Su@192.168.1.147/cam/realmonitor?channel=2&subtype=0#backchannel=1"; @@ -54,12 +54,22 @@ in }; cameras = { doorbell = { - enabled = false; # Camera offline - detect.enabled = false; - ffmpeg.inputs = [{ - path = "rtsp://127.0.0.1:8554/doorbell"; - roles = [ "record" ]; - }]; + enabled = true; + detect = { + enabled = true; + width = 640; + height = 480; + }; + ffmpeg.inputs = [ + { + path = "rtsp://127.0.0.1:8554/doorbell"; + roles = [ "record" ]; + } + { + path = "rtsp://127.0.0.1:8554/doorbell_sub"; + roles = [ "detect" ]; + } + ]; }; living_room = { enabled = true;