How can I use any audio stream as input for Voice Assistant?

HI. I would like to configure Voice assistant and, for that, I need an microphone. I know I could use an local jack or usb microphone , an esp32 … But I want to use the audio stream that Ip Webcam provide as an input for my Voice Assistant. More precise, I have 3 old phones with Ip Webcam installed on that I’ll like to use for sending commands to Voice Assistant.
It is possible ?
Any ideea how to use an audio stream with Voice Assistant ?

Thank you.

I think you could get it working with Stream Assist:

https://github.com/AlexxIT/StreamAssist

Thanks. I already took a look to this integration but this is a partial solution. I use it to receive the audio stream from Ip Webcam but i can’t send an audio stream response .

I search a lot but I couldn’t find a complete solution. Like an single app to install on old phone that expose an microphone to HA / stream audio and can act as a media_player entity. (Lannouncer) could be another partial solution.

Here:

You may have to search for the APK as Google Play said it wasnt available on some of my devices.

This came from : https://youtu.be/bZgH4NDmBpk?si=sOL3AZHdBX00m2tF

Thank you cpg716. That’s another partial solution. I already use Stream Assist in combination with the stream audio provided by Android IP Webcam but, I repeat, a complete solution I didn’t find yet. And, when I say complete solution I refer to an app that provide an audio stream to be processed and act as an media_player/accept incoming audio stream with the response.

Have you checked out Browser Mod?
It’s a really great tool, I suggest a read through of the docs to understand what it offers.

It should also work as a solution for your question here.

1 Like