diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix index 7cbba46..ff88b6f 100644 --- a/modules/services/frigate/default.nix +++ b/modules/services/frigate/default.nix @@ -23,12 +23,12 @@ in ################### go2rtc = { streams = { - # wce-0001 = [ - # "rtsp://thingino:thingino@192.168.150.1:554/ch0" - # ]; - # wce-0001_sub = [ - # "rtsp://thingino:thingino@192.168.150.1:554/ch1" - # ]; + wce-0001 = [ + "rtsp://thingino:thingino@192.168.150.1:554/ch0" + ]; + wce-0001_sub = [ + "rtsp://thingino:thingino@192.168.150.1:554/ch1" + ]; wce-0002 = [ "rtsp://thingino:thingino@192.168.150.2:554/ch0" ]; @@ -93,29 +93,29 @@ in # Camera config # ################# cameras = { - #wce-0001 = { - # ffmpeg = { - # inputs = [ - # { - # path = "rtsp://127.0.0.1:8554/wce-0001"; - # roles = ["record"]; - # } - # { - # path = "rtsp://127.0.0.1:8554/wce-0001_sub"; - # roles = ["detect"]; - # } - # ]; - # }; - # live.stream_name = "wce-0001_sub"; - # motion = { - # enabled = true; - # mask = [ - # "0,0,0.196,0.002,0.195,0.045,0,0.043" # timestamp - # "0.898,0,0.896,0.045,1,0.048,0.999,0.002" # uptime - # ]; - # }; - # detect.enabled = true; - # }; + wce-0001 = { + ffmpeg = { + inputs = [ + { + path = "rtsp://127.0.0.1:8554/wce-0001"; + roles = ["record"]; + } + { + path = "rtsp://127.0.0.1:8554/wce-0001_sub"; + roles = ["detect"]; + } + ]; + }; + live.stream_name = "wce-0001_sub"; + motion = { + enabled = true; + mask = [ + "0,0,0.196,0.002,0.195,0.045,0,0.043" # timestamp + "0.898,0,0.896,0.045,1,0.048,0.999,0.002" # uptime + ]; + }; + detect.enabled = true; + }; wce-0002 = { ffmpeg = { inputs = [