Created
August 20, 2021 00:54
-
-
Save adampetrovic/62e349cb42e4d111c568af49b4be4aea to your computer and use it in GitHub Desktop.
Frigate Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| detectors: | |
| coral: | |
| type: edgetpu | |
| device: usb | |
| ffmpeg: | |
| input_args: >- | |
| -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt | |
| -use_wallclock_as_timestamps 1 | |
| hwaccel_args: | |
| - '-hwaccel' | |
| - vaapi | |
| - '-hwaccel_device' | |
| - /dev/dri/renderD128 | |
| - '-hwaccel_output_format' | |
| - yuv420p | |
| mqtt: | |
| host: hass.petrovic.network | |
| port: 1883 | |
| user: '' | |
| password: '' | |
| topic_prefix: frigate | |
| cameras: | |
| side_walkway: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| living_room: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/live0 | |
| roles: | |
| - detect | |
| - rtmp | |
| width: 1920 | |
| height: 1080 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| front_balcony: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - car | |
| filters: | |
| car: | |
| mask: | |
| - 128,0,133,138,262,117,307,134,553,254,317,383,407,480,0,480,0,0 | |
| person: | |
| mask: | |
| - 640,0,640,79,41,42,59,277,85,480,0,480,0,0 | |
| - 146,0,640,0,640,164 | |
| zones: | |
| front_door: | |
| coordinates: 137,234,168,229,221,341,377,480,118,480,98,426,81,389,73,317,53,187,46,54,128,39 | |
| driveway: | |
| coordinates: 640,480,411,480,317,387,490,289,640,375 | |
| parking_space: | |
| coordinates: 640,254,640,302,454,198,365,156,413,140,503,182 | |
| filters: | |
| car: | |
| threshold: 0.8 | |
| motion: | |
| mask: | |
| - 640,209,640,0,0,0,0,62,132,133,223,123,268,141,349,144,415,109 | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| required_zones: ['front_door', 'driveway'] | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| required_zones: ['front_door', 'driveway'] | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| required_zones: ['front_door', 'driveway', 'parking_space'] | |
| front_yard: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - car | |
| filters: | |
| car: | |
| mask: | |
| - 127,80,284,81,315,114,367,131,640,416,640,480,0,480,0,98 | |
| zones: | |
| driveway: | |
| coordinates: 509,154,640,291,640,363,616,402,553,326,504,265,489,266,427,193,387,153 | |
| walkway: | |
| coordinates: 640,412,571,480,515,480,350,230,369,213,409,185 | |
| front_grass: | |
| coordinates: 182,142,354,134,399,178,396,201,349,225,445,370,497,480,0,480,0,175 | |
| parking_space: | |
| coordinates: 202,0,377,35,391,93,206,75,65,81,0,86,0,0 | |
| filters: | |
| car: | |
| threshold: 0.8 | |
| motion: | |
| mask: | |
| - 109,76,301,75,414,88,381,0,640,0,640,158,514,140,473,141,466,155,381,142,371,132,351,132,332,132,280,132,177,136,108,145,0,161,0,84 | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| required_zones: ['walkway', 'driveway', 'front_grass'] | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| required_zones: ['walkway', 'driveway', 'front_grass'] | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| required_zones: ['walkway', 'driveway', 'front_grass'] | |
| garage: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - car | |
| - dog | |
| zones: | |
| driveway: | |
| coordinates: 431,21,547,47,521,136,451,102,397,86 | |
| parking_space: | |
| coordinates: 334,92,512,151,490,284,210,157 | |
| gym: | |
| coordinates: 160,480,534,480,541,452,178,249,107,295 | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| office: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| backyard: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| back_deck: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| utilities: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| laundry: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - rtmp | |
| width: 640 | |
| height: 480 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False | |
| doorbell: | |
| ffmpeg: | |
| inputs: | |
| - path: rtsp://*redacted*:554/Streaming/Channels/102/ | |
| roles: | |
| - detect | |
| - path: rtsp://*redacted*:554/Streaming/Channels/101/ | |
| roles: | |
| - clips | |
| - rtmp | |
| width: 704 | |
| height: 576 | |
| fps: 5 | |
| objects: | |
| track: | |
| - person | |
| - dog | |
| clips: | |
| enabled: True | |
| pre_capture: 5 | |
| post_capture: 1 | |
| retain: | |
| default: 14 | |
| snapshots: | |
| enabled: True | |
| timestamp: False | |
| bounding_box: True | |
| crop: False | |
| mqtt: | |
| enabled: True | |
| timestamp: False | |
| crop: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment