Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.zip
selfhosted·Selfhostedbyjaybone

Frigate support for audio mic / speaker / intercom to listen or talk when away from home

I'm using Frigate with these TAPO cams:

Tapo 2K+ Indoor/Outdoor Wired Security Camera, Baby Monitoring, C120

The CAMS support the RTSP protocol, which works with Frigate.

Yes the cams support audio mic and speaker when connected to the TAPO service and using the TAPO phone app.
But I do not want to use TAPO's service and their app / servers.
I keep my cams on a separate router / subnet which does not have internet access.

Only my Frigate server has a network interface on that subnet, so it can access the cams feeds via RTSP.

Now I would like audio intercom so I can listen to audio or talk through a speaker using the Frigate phone app.

I don't see such an option in Frigate.
I see there is something called "go2rtc" but I'm not sure if these cameras support this. Or even how that protocol works.
I'm willing to buy a new cam, different model or manufacturer if necessary is fine.

How can I achieve this?

View original on lemmy.zip
16

3 replies

Found a solution.

See also: https://community.home-assistant.io/t/solved-2-way-audio-with-frigate-tapo-cameras-c320ws/793219

The following configuration works.

Note the go2rtc -> streams ->
Is the same as the cameras ->
They use the same IP address.
This is a Tapo C120 cam.

Note the "tapo://" protocol (this enabled 2-way audio) requires only the password, and device IP without a port number or URI path.

config.yaml

go2rtc:
  streams:
    living_room:
      - rtsp://username:[email protected]:554/stream1
      - tapo://[email protected]

cameras:

  living_room:

    enabled: true

    ffmpeg:
      inputs:
        - path: rtsp://username:[email protected]:554/stream1
          roles:
            - detect
...
...

1

I have audio recording/listening working with frigate, but not any talking back through the doorbell. Which makes sense since it's an rtsp stream from the doorbell. In order to be able to talk out of the camera you'd have to expose internal apis which many doorbells don't do.

ffmpeg:

output_args:

record: preset-record-generic-audio-aac
2

You reached the end

Frigate support for audio mic / speaker / intercom to listen or talk when away from home | Spyke