twrecked / hass-aarlo

Asynchronous Arlo Component for Home Assistant
GNU Lesser General Public License v3.0
385 stars 78 forks source link

Anyone know if its possible to play audio over a camera? #688

Open developersteve opened 1 year ago

developersteve commented 1 year ago

I couldnt see it listed anywhere but it would be great to be able to play audio on a camera as a response to certain events, person detected etc.

twrecked commented 1 year ago

We can't do it at the moment. But, if we can use the microphone from the web interface we should be able to use it in Home Assistant. I'll take a look.

developersteve commented 1 year ago

Yup its available, this would take hassio security to a whole other level being able to play automated sound back through the camera ... oh the fun to be had 😄

developersteve commented 1 year ago

So we just need the endpoint and audio format?

twrecked commented 1 year ago

It's maybe a little more complicated than that but not much. There are no fixed endpoints to the cameras with Arlo, you normally have to request them as needed.

If you open the browser developer tools (usually CTRL+SHIFT+I) you can examine the packets going between the browser and the back end servers. I don't have time to look at this right now but if you're comfortable programming or with web stuff the packets going back and forth are pretty easy to understand.

developersteve commented 1 year ago

Yup will dig around it a bit and drop a PR in

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 365 days with no activity. This issue will be automatically closed within 28 days if there is no further activity.