Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shwarnock opened this issue Apr 19, 2024 · 12 comments
Open

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

shwarnock opened this issue Apr 19, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@shwarnock
Copy link

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"
        }
      }
    }
  }
}
@shwarnock shwarnock added the bug Something isn't working label Apr 19, 2024
@dermotduffy
Copy link
Owner

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

@shwarnock
Copy link
Author

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

@dermotduffy
Copy link
Owner

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.

@shwarnock
Copy link
Author

shwarnock commented Apr 20, 2024

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

@dermotduffy
Copy link
Owner

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.

@shwarnock
Copy link
Author

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

@shwarnock
Copy link
Author

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?

@shwarnock
Copy link
Author

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.

@elfux
Copy link

elfux commented May 6, 2024

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

@DMedina559
Copy link

DMedina559 commented Jun 14, 2024

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

@skynet01
Copy link

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

@dermotduffy
Copy link
Owner

[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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants