mqtt: host: 192.168.0.201 user: TODOmqttfrigateuserhere password: TODOmqttfrigatepasswordhere go2rtc: streams: FrontPTZ_rtsp_low: - rtsp://TODOuser:TODOpassword@192.168.0.49:554/h264Preview_01_sub - ffmpeg:rtsp_cam#audio=aac FrontPTZ_rtsp_high: - rtsp://TODOuser:TODOpassword@192.168.0.49:554/h264Preview_01_main - ffmpeg:rtsp_cam#audio=aac Doorbell_rtsp_low: - rtsp://TODOuser:TODOpassword@192.168.0.50:554/h264Preview_01_sub - ffmpeg:rtsp_cam#audio=aac Doorbell_rtsp__high: - rtsp://TODOuser:TODOpassword@192.168.0.50:554/h264Preview_01_main - ffmpeg:rtsp_cam#audio=aac BackBrickShed_rtsp_low: - rtsp://TODOuser:TODOpassword@192.168.0.74:554/h264Preview_01_sub - ffmpeg:rtsp_cam#audio=aac BackBrickShed_rtsp__high: - rtsp://TODOuser:TODOpassword@192.168.0.74:554/h264Preview_01_main - ffmpeg:rtsp_cam#audio=aac BackPergola_rtsp_low: - rtsp://TODOuser:TODOpassword@192.168.0.71:554/h264Preview_01_sub - ffmpeg:rtsp_cam#audio=aac BackPergola_rtsp__high: - rtsp://TODOuser:TODOpassword@192.168.0.71:554/h264Preview_01_main - ffmpeg:rtsp_cam#audio=aac detectors: coral: type: edgetpu device: usb objects: track: - person #- umbrella - cat #- bird - dog detect: enabled: true width: 640 height: 360 record: enabled: true retain: days: 24 mode: all events: pre_capture: 12 post_capture: 12 retain: default: 50 mode: motion snapshots: enabled: true crop: false retain: default: 90 audio: enabled: true min_volume: 240 listen: - bang # - cat # - dog - honk # - music - speech ffmpeg: output_args: record: preset-record-generic-audio-copy # hwaccel_args: # - -hwaccel # - vaapi # - -hwaccel_device # - /dev/dri/renderD128 # - -hwaccel_output_format # - yuv420p input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -an cameras: FrontPTZ: live: stream_name: FrontPTZ_rtsp_low ffmpeg: inputs: # for detection the direct rtsp, as web2rtc has a few seconds of delay - path: rtsp://TODOuser:TODOpassword@192.168.0.49:554/h264Preview_01_sub roles: - detect - path: rtsp://127.0.0.1:8554/FrontPTZ_rtsp_high input_args: preset-rtsp-restream roles: - audio - record motion: mask: - 1,0,1,0.361,0.856,0.175,0.847,0.292,0.5,0.119,0.445,0 - 0.072,0,0.376,0,0.129,0.234,0.057,0.285,0,0.208,0,0 threshold: 30 contour_area: 10 improve_contrast: true Doorbell: live: stream_name: Doorbell_rtsp_low detect: enabled: true width: 640 height: 480 ffmpeg: inputs: - path: rtsp://TODOuser:TODOpassword@192.168.0.50:554/h264Preview_01_sub roles: - detect - path: rtsp://127.0.0.1:8554/Doorbell_rtsp__high input_args: preset-rtsp-restream roles: - audio - record motion: mask: - 0,0.577,0.209,0.579,0.216,0.475,0.517,0.475,0.517,0.565,0.592,0.56,0.6,0.479,0.794,0.475,0.814,0.442,0,0.463 - 1,0.41,1,0.107,0.923,0.105,0.736,0.268,0.729,0.444 - 1,0.06,1,0,0.764,0,0.759,0.056 BackBrickShed: live: stream_name: BackBrickShed_rtsp_low ffmpeg: inputs: - path: rtsp://TODOuser:TODOpassword@192.168.0.74:554/h264Preview_01_sub roles: - detect - path: rtsp://127.0.0.1:8554/BackBrickShed_rtsp__high input_args: preset-rtsp-restream roles: - audio - record motion: mask: - 0.153,0.064,0.258,0.064,0.253,0,0.152,0 - 0.676,0.003,0.997,0.005,0.997,0.209,0.747,0.186 threshold: 40 contour_area: 15 improve_contrast: true BackPergola: live: stream_name: Pergola_rtsp_low ffmpeg: inputs: - path: rtsp://TODOuser:TODOpassword@192.168.0.71:554/h264Preview_01_sub roles: - detect - path: rtsp://127.0.0.1:8554/BackPergola_rtsp__high input_args: preset-rtsp-restream roles: - audio - record motion: mask: - 94,360,163,360,161,339,95,338 threshold: 32 contour_area: 13 improve_contrast: true version: 0.14 camera_groups: All_outdoor: order: 1 icon: LuTreeDeciduous cameras: - FrontPTZ - Doorbell - BackBrickShed - BackPergola