Advertisement
MarkusLund

Frigate Config for Tapo C200

Mar 24th, 2024
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.69 KB | None | 0 0
  1. mqtt:
  2.   host: 192.168.1.135
  3.   # Optional: port (default: shown below)
  4.   port: 1883
  5.   # Optional: topic prefix (default: shown below)
  6.   # WARNING: must be unique if you are running multiple instances
  7.   topic_prefix: frigate
  8.   # Optional: client id (default: shown below)
  9.   # WARNING: must be unique if you are running multiple instances
  10.   client_id: frigate
  11.   # Optional: user
  12.   user: USER_FOR_MQTT
  13.   # Optional: password
  14.   # NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
  15.   #       eg. password: '{FRIGATE_MQTT_PASSWORD}'
  16.   password: PASSWORD_FOR_MQTT
  17.   # Optional: interval in seconds for publishing stats (default: shown below)
  18.   stats_interval: 60
  19. cameras:
  20.   front:
  21.     ffmpeg:
  22.       inputs:
  23.         - path: rtsp://USER:PASSWORD@192.168.1.123/stream2
  24.           roles:
  25.            - detect
  26.         - path: rtsp://USER:PASSWORD@192.168.1.123/stream1
  27.           roles:
  28.            - record
  29.     detect:
  30.       enabled: True
  31.       max_disappeared: 25
  32.  
  33.    
  34.     rtmp:
  35.      # Required: Enable the live stream (default: True)
  36.       enabled: False
  37.     snapshots:
  38.      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  39.       # This value can be set via MQTT and will be updated in startup based on retained value
  40.       enabled: True
  41.       # Optional: print a timestamp on the snapshots (default: shown below)
  42.       timestamp: False
  43.       # Optional: draw bounding box on the snapshots (default: shown below)
  44.       bounding_box: False
  45.       # Optional: crop the snapshot (default: shown below)
  46.       crop: False
  47.       # Optional: height to resize the snapshot to (default: original size)
  48.       height: 500
  49.       # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
  50.       required_zones: []
  51.       # Optional: Camera override for retention settings (default: global values)
  52.       retain:
  53.        # Required: Default retention days (default: shown below)
  54.         default: 40
  55.         # Optional: Per object retention days
  56.     objects:
  57.       track:
  58.        - person
  59.         - dog
  60.         - cat
  61.         - bird
  62.      
  63.   back:
  64.     ffmpeg:
  65.       inputs:
  66.         - path: rtsp://USER:PASSWORD@192.168.1.132/stream2
  67.           roles:
  68.            - detect
  69.         - path: rtsp://USER:PASSWORD@192.168.1.132/stream1
  70.           roles:
  71.            - record
  72.     detect:
  73.       enabled: True
  74.       max_disappeared: 25
  75.  
  76.     rtmp:
  77.      # Required: Enable the live stream (default: True)
  78.       enabled: False
  79.     snapshots:
  80.      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  81.       # This value can be set via MQTT and will be updated in startup based on retained value
  82.       enabled: True
  83.       # Optional: print a timestamp on the snapshots (default: shown below)
  84.       timestamp: False
  85.       # Optional: draw bounding box on the snapshots (default: shown below)
  86.       bounding_box: False
  87.       # Optional: crop the snapshot (default: shown below)
  88.       crop: False
  89.       # Optional: height to resize the snapshot to (default: original size)
  90.       height: 500
  91.       # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
  92.       required_zones: []
  93.       # Optional: Camera override for retention settings (default: global values)
  94.       retain:
  95.        # Required: Default retention days (default: shown below)
  96.         default: 40
  97.         # Optional: Per object retention days
  98.     objects:
  99.       track:
  100.        - person
  101.         - dog
  102.         - cat
  103.         - bird    
  104.  
  105. record:
  106.  # Optional: Enable recording (default: shown below)
  107.   enabled: true
  108.   # Optional: Number of days to retain recordings regardless of events (default: shown below)
  109.   # NOTE: This should be set to 0 and retention should be defined in events section below
  110.   #       if you only want to retain recordings of events.
  111.   retain:
  112.     days: 7
  113.     mode: motion
  114.   # Optional: Event recording settings
  115.   events:
  116.    # Optional: Number of seconds before the event to include (default: shown below)
  117.     pre_capture: 5
  118.     # Optional: Number of seconds after the event to include (default: shown below)
  119.     post_capture: 5
  120.     # Optional: Objects to save recordings for. (default: all tracked objects)
  121.     objects:
  122.      - person
  123.       - dog
  124.       - cat
  125.       - bird
  126.     # Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
  127.     required_zones: []
  128.     # Optional: Retention settings for recordings of events
  129.     retain:
  130.      # Required: Default retention days (default: shown below)
  131.       default: 20
  132.    
  133. detectors:
  134.   cpu1:
  135.     type: cpu
  136.   cpu2:
  137.     type: cpu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement