sdesalve / hassio-addons

MIT License
86 stars 21 forks source link

FeatureRequest - Add support for using microphone input which is sent via voip #92

Open marc4s opened 8 months ago

marc4s commented 8 months ago

would a perfect in case of alarm to hear what is going on instead of checking cameras or sensors

sdesalve commented 8 months ago

Your camera or microphone will give an audio stream? If they does, put that URL as mp3 audio to play 😉

Let me know if it works

Best regards and thanks for your appreciated donation!

marc4s commented 8 months ago

you are welcome! can you give me an hint where/which option i can put the url into?

marc4s commented 8 months ago

ah audio_file_url

sdesalve commented 8 months ago

https://github.com/sdesalve/hassio-addons/tree/master/dss_voip#option-audio_file_url-required-if-message_tts-is-not-specified

marc4s commented 8 months ago

I have a reolink camera and if I put those URLs (sure correct IP and PW) theaddon is crashing(directly restarting due to watchdog)

rtmp://192.168.xx/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=PW https://192.168.xx/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=PW rtsp://admin:PW@192.168.xx:554/h264Preview_01_main

sdesalve commented 8 months ago

Try to use VLC to convert RTSP to mp3

https://community.home-assistant.io/t/extract-audio-stream-from-rtsp-play-in-browser/21858