code snippet

 avatar
unknown
yaml
2 years ago
2.4 kB
13
Indexable
mqtt:
  host: 192.168.178.61         # YOUR MQTT IP
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: user               # YOUR MQTT USERNAME
  password: hidden        # YOUT MQTT PASSWORD
  stats_interval: 60

##########################################################################

go2rtc:
  streams:
                    ## CHANGE RTSP USERNAME AND PASSWORD
    reolink:
      - rtsp://admin:hidden@192.168.178.104:554/h264Preview_01_sub
      - ffmpeg:rtsp://admin:hidden@192.168.178.104:554/h264Preview_01_sub#audio=pcm#audio=volume


## THIS PREVENTS THE AUDIO COMING OUT FROM THE DOORBELL SOUNDING MUFFLED
  ffmpeg:
    bin: ffmpeg
    volume: "-af \"volume=30dB\""

##########################################################################

cameras:

  reolink:
    ffmpeg:
      inputs:
                    ## CHANGE RTSP USERNAME AND PASSWORD

        - path: rtsp://admin:hidden@192.168.178.104:554/h264Preview_01_sub
          roles:
            - detect
            - record
      output_args:
        record: preset-record-generic-audio-copy
    zones:
      reolink_zone:
        coordinates: 0,480,800,480,543,323,362,329,0,61     # WATCH MY FRIGATE VIDEO SHOWING YOU WHAT THIS IS
    motion:
      mask:
        - 613,309,800,361,800,0,275,0,297,339               # WATCH MY FRIGATE VIDEO SHOWING YOU WHAT THIS IS
        
ui:
  live_mode: webrtc
  
  
  
################################################## lovelance card

type: custom:frigate-card
cameras:
  - camera_entity: camera.reolink
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc
menu:
  buttons:
    microphone:
      enabled: true
      alignment: opposing
      type: momentary
    timeline:
      enabled: false
    cameras:
      enabled: false
    frigate:
      enabled: false
    download:
      enabled: false
    media_player:
      enabled: false
    mute:
      enabled: true
      alignment: opposing
    camera_ui:
      enabled: false
    image: {}
  style: overlay
  position: left
  button_size: 80
live:
  controls:
    thumbnails:
      mode: none
  auto_mute: all
  preload: false
dimensions: {}
media_gallery:
  controls:
    thumbnails:
      size: 140
      show_favorite_control: false
      show_timeline_control: false
      show_download_control: false
    filter:
      mode: none
Editor is loading...