dermotduffy / frigate-hass-card

A Lovelace card for Frigate in Home Assistant
MIT License
498 stars 57 forks source link

[Config Support] Reolink Doorbell 2-way Audio - Microphone button missing? #1477

Open ReticentRobot opened 1 month ago

ReticentRobot commented 1 month ago

I don't think is a bug or a feature request, so using the blank issue - I hope that is right, please let me know if not.

I am trying to get 2-way audio working on my Reolink Doorbell WiFi. I've looked at the configs I can find here and on the main Frigate GitHub, the recommended Reolink config, etc. - but I haven't been able to cobble anything together from those that enables the two-way audio for me. I'm accessing via Nabu Casa, if that makes any difference. I'm sure I'm just missing something but I don't know what.

Here is my config.yml

  enabled: true
  host: 192.168.1.102
  user: mqtt-client
  password: mypass
detectors:
  coral_usb:
    type: edgetpu
    device: usb
  coral_pci:
    type: edgetpu
    device: pci

go2rtc:
  streams:
    front_doorbell:
      - ffmpeg:http://192.168.1.30/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=mypass#video=copy#audio=copy#audio=opus
      - rtsp://192.168.1.30/Preview_01_sub
    front_doorbell_sub:
      - ffmpeg:http://192.168.1.30/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=mypass
cameras:
  front_doorbell:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/front_doorbell
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/front_doorbell_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/front_doorbell_sub?audio
          input_args: preset-rtsp-restream
          roles:
            - audio
      hwaccel_args: preset-vaapi
    detect:
      enabled: true
    record:
      enabled: true
      retain:
        days: 7
        mode: all
    snapshots:
      enabled: true
    motion:
      mask:
        - 632,92,487,254,486,368,793,485,896,390,896,209,821,0
    zones:
      zone_0:
        coordinates: 43,672,338,388,337,224,457,254,464,395,535,672
version: 0.14

and my lovelace yaml:

cameras:
  - camera_entity: camera.front_doorbell
menu:
  style: overlay
  buttons:
    microphone:
      enabled: true
      alignment: opposing
      type: toggle
    recordings:
      enabled: false
    frigate:
      enabled: false
    cameras:
      enabled: false
    snapshots:
      enabled: false
    mute:
      enabled: true
live:
  microphone:
    always_connected: false

Can anyone point me in the right direction?

TechnoGangsta commented 3 weeks ago

Port forward port 8555 to your frigate host IP. That should get it going for you.