Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mqtt:
- host: 192.168.1.135
- # Optional: port (default: shown below)
- port: 1883
- # Optional: topic prefix (default: shown below)
- # WARNING: must be unique if you are running multiple instances
- topic_prefix: frigate
- # Optional: client id (default: shown below)
- # WARNING: must be unique if you are running multiple instances
- client_id: frigate
- # Optional: user
- user: USER_FOR_MQTT
- # Optional: password
- # NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
- # eg. password: '{FRIGATE_MQTT_PASSWORD}'
- password: PASSWORD_FOR_MQTT
- # Optional: interval in seconds for publishing stats (default: shown below)
- stats_interval: 60
- cameras:
- front:
- ffmpeg:
- inputs:
- - path: rtsp://USER:PASSWORD@192.168.1.123/stream2
- roles:
- - detect
- - path: rtsp://USER:PASSWORD@192.168.1.123/stream1
- roles:
- - record
- detect:
- enabled: True
- max_disappeared: 25
- rtmp:
- # Required: Enable the live stream (default: True)
- enabled: False
- snapshots:
- # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
- # This value can be set via MQTT and will be updated in startup based on retained value
- enabled: True
- # Optional: print a timestamp on the snapshots (default: shown below)
- timestamp: False
- # Optional: draw bounding box on the snapshots (default: shown below)
- bounding_box: False
- # Optional: crop the snapshot (default: shown below)
- crop: False
- # Optional: height to resize the snapshot to (default: original size)
- height: 500
- # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
- required_zones: []
- # Optional: Camera override for retention settings (default: global values)
- retain:
- # Required: Default retention days (default: shown below)
- default: 40
- # Optional: Per object retention days
- objects:
- track:
- - person
- - dog
- - cat
- - bird
- back:
- ffmpeg:
- inputs:
- - path: rtsp://USER:PASSWORD@192.168.1.132/stream2
- roles:
- - detect
- - path: rtsp://USER:PASSWORD@192.168.1.132/stream1
- roles:
- - record
- detect:
- enabled: True
- max_disappeared: 25
- rtmp:
- # Required: Enable the live stream (default: True)
- enabled: False
- snapshots:
- # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
- # This value can be set via MQTT and will be updated in startup based on retained value
- enabled: True
- # Optional: print a timestamp on the snapshots (default: shown below)
- timestamp: False
- # Optional: draw bounding box on the snapshots (default: shown below)
- bounding_box: False
- # Optional: crop the snapshot (default: shown below)
- crop: False
- # Optional: height to resize the snapshot to (default: original size)
- height: 500
- # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
- required_zones: []
- # Optional: Camera override for retention settings (default: global values)
- retain:
- # Required: Default retention days (default: shown below)
- default: 40
- # Optional: Per object retention days
- objects:
- track:
- - person
- - dog
- - cat
- - bird
- record:
- # Optional: Enable recording (default: shown below)
- enabled: true
- # Optional: Number of days to retain recordings regardless of events (default: shown below)
- # NOTE: This should be set to 0 and retention should be defined in events section below
- # if you only want to retain recordings of events.
- retain:
- days: 7
- mode: motion
- # Optional: Event recording settings
- events:
- # Optional: Number of seconds before the event to include (default: shown below)
- pre_capture: 5
- # Optional: Number of seconds after the event to include (default: shown below)
- post_capture: 5
- # Optional: Objects to save recordings for. (default: all tracked objects)
- objects:
- - person
- - dog
- - cat
- - bird
- # Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
- required_zones: []
- # Optional: Retention settings for recordings of events
- retain:
- # Required: Default retention days (default: shown below)
- default: 20
- detectors:
- cpu1:
- type: cpu
- cpu2:
- type: cpu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement