dermotduffy/frigate-hass-card

I am unable to get 2 way audio working with my reolink cameras

Opened this issue · 12 comments

Release with the issue:
v5.2

Browser and Operating System:
Android HA App

Description of problem:

Frigate card diagnostic information

{
  "ha_version": "2024.4.3",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
  "date": "2024-04-19T19:42:35.722Z",
  "frigate_version": {
    "171d821a2557c42e2e6c1bd05709be46": "5.1.0/0.13.2-6476f8a"
  },
  "lang": "en",
  "timezone": "America/Chicago",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.front_doorbell_camera",
        "live_provider": "go2rtc"
      }
    ],
    "menu": {
      "buttons": {
        "microphone": {
          "enabled": true,
          "type": "toggle"
        }
      }
    }
  }
}

Getting 2-way audio working can be challenging since it depends on so many factors. Start here: https://github.com/dermotduffy/frigate-hass-card?tab=readme-ov-file#using-2-way-audio

I did follow that setup instructions, but it still isn't working

I did follow that setup instructions, but it still isn't working

At the very least your config (as pasted in this issue) does not match the instructions.

Sorry, I should have mentioned that I found that doc after posting the bug and have since updated my config to be

cameras:
 - camera_entity: camera.front_doorbell_camera
   live_provider: go2rtc
   go2rtc:
     modes:
       - webrtc
menu:
 buttons:
   microphone:
     enabled: true
     type: toggle

This still doesn't work though

Make sure you are accessing Home Assistant over https. Do you have 2-way audio working with go2rtc? if you get it working with that, it should "just work" for the card. Make sure go2rtc supports 2-way audio for your camera.

I am trying to do this through the companion app. Does the companion app use https?

Ok @dermotduffy So I wasn't using https. I have now setup HA to use https. However, I still cannot get audio to work. Can you walk me through how to verify 2-way audio is working with go2rtc?

Ok I was able to get this working. I will need to clean up my config some more, but I did not have webrtc setup properly in frigate. After I got that setup, I was able to play audio from my phone's microphone onto the Reolink Doorbell. I still need to figure out how to get the audio from the doorbell back to my phone, but it is at least a step in the right direction.

Is the reolink doorbell the only reolink camera compatible with 2 way audio? The E1 Pro does support 2 way audio but idk if go2rtc supports that one.

I've got E1 Pro audio working with rtsp protocol and using rtmp with reolink NVR.

I would be cool to get the 2 way audio working as well, if you managed to do it, share the configs

Just chiming in to say no the doorbell isn't the only reolink camera to support two way audio.

I just recently installed the RLC-540A and have two way audio working with go2rtc and the frigate card.

Same config as the doorbell but using AAC instead of opus (according to VLC), and I'm using the rstp stream instead of http

Not to hijack a thread ... ... but we all should vote for the author to add Reolink camera recordings to media library feature #1027 😂

[Issue cleanup] I'm not sure if there's anything else to implement here on the card side? I will say that getting 2-way audio working with Reolink seems to be both difficult but also common. If anyone wanted to submit a documentation PR describing their setup to help future users, that would be amazing!