Skip to content

StreamAssist installation and configuration

Donny F edited this page Aug 16, 2024 · 20 revisions

Stream Assist integration is used to receive the RTSP stream from the Android device to do wake word detection. Stream Assist depends on a Home Assistant Assist being configured.

Detailed install video: https://youtu.be/DkRCgv2LzR8

Stream Assist project repo: https://github.com/AlexxIT/StreamAssist

Install Home Assistant Community Store (HACS): https://github.com/dinki/View-Assist/wiki/Install-Home-Assistant-Community-Store-(HACS)

Installation and configuration

To install Stream Assist:

  • Open HACS
  • Go to Integrations
  • Click the 3 dots (upper top corner)
  • Choose Custom repositories
  • Copy paste AlexxIT/StreamAssist
  • Go to Category: Integration
  • Click Add
  • Choose Stream Assist
  • Click Install To configure Stream Assist:
  • Go to settings
  • Choose devices and services
  • Click + Add Integration button at bottom right
  • Search for Stream Assist
  • Give the device a name (eg streamassist-livingroom)
  • Enter the Stream URL for the microphone software you are using being sure to replace the example IP address with your IP tablet device's IP address
    • Example format for RTPMic rtp://192.168.0.152:55555
    • Example format for IPWebcam video and audio rtsp://192.168.0.152:8080/h264_ulaw.sdp or rtsp://192.168.0.152:8080/pcm_ulaw.sdp
    • Example format for IPWebcam audio only http://192.168.0.152:8080/audio.wav
  • The media player device should be set to the device you'd like the audio to play from. I am using the media player device exposed from Fully Kiosk (eg media_player.tabletfullkiosk )
  • You can choose a sound effect to alert when Assist is expecting a command. You can find many free sound effects at Pixabay. Here is one you may like. Pixabay has tons of free sounds. The one I chose for testing is:

https://pixabay.com/sound-effects/system-notification-199277/

Enter this value to add it to your configuration:

media-source://media_source/local/system-notification-199277.mp3

Docker users may need to modify their paths like this:

media-source://media_source/media/system-notification-199277.mp3

NOTE Currently a bug exists in Stream Assist where it does not show all information needed for configuration. You may need to go back into the device configuration a second time to get all options to show up.


For help finding your tablet's IP address, see this guide: https://github.com/dinki/View-Assist/wiki/Find-IP-of-Android-device

Additional installation and configuration can be found here: https://github.com/AlexxIT/StreamAssist?tab=readme-ov-file#installation


Also, be mindful that the mic switch is on. I have seen this turn off when rebooting the Android device and need to write an automation to ensure it is always on on boot.

View Assist Old Wiki

Clone this wiki locally