fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
550 stars 102 forks source link

Allow using the camera's speaker as a media_player entity #194

Open shlomki opened 3 years ago

shlomki commented 3 years ago

Enhancement request: I have a Reolink camera outside of my front door, as well as a smart lock. It could be really cool if I could play "The door is now open, welcome!" using the camera's speaker. In the Reolink app the use of the speaker is done through the "Talk" feature. Perhaps it would be possible to add the camera's speaker as a media_player entity? (Supporting models only, of course)

fwestenberg commented 3 years ago

Perhaps this is possible (I think it is). But I don't own a camera with talkback. If you provide technical details, it will certainly help.

shlomki commented 3 years ago

Gladly! how may I help? Let me know what details I could provide that would help (and maybe how to get them), and I will.

fwestenberg commented 3 years ago

How to use the API for this purpose. The camera should accept some audio stream, can you debug your browser or is it only possible via the app?

Supersqueaky commented 3 years ago

Hi, I'm interested in this possibly being a feature as well

The push to talk feature looks to only be available from the apps and I can't access it through the browser https://support.reolink.com/hc/en-us/articles/360003764334-Reolink-Cameras-Which-Support-2-way-Audio

piscinas commented 2 years ago

Hi, I’m interested to this function on HA! This was a good thing to have… Thanks in advance