homeassistant-satellite
homeassistant-satellite copied to clipboard
Send audio
Hi,
Is it possible to send a wav file to play on the the satellite, like a doorbell or alarm?
The satellite can play feedback (awake / done) sounds as explained in the README, but it cannot play a sound at an arbitrary moment.
IMHO the latter is probably outside the scope of a satellite, it has little to do with voice and there are lots of other ways to do it in HA (MPD or an ssh script are probably the easiest).
The one use case I can think of for this is I have an intent "Ask Google {question}" for crap like "how tall is this celebrity". Google asst returns a .wav that currently I can play on any media player in home assistant. It would be nice to be able to play this wav on the speaker that was asked the question.
That should come back in the TTS response though, shouldn't it @collinstork ?
It does for some, but I believe that for some responses, google returns html instead of plain text so for this
service: google_assistant_sdk.send_text_command
data:
command: how tall is mark hamill
media_player: media_player.living_room
the response is
responses:
- text: null
but the audio response is still returned & played thru the media player specified.
+1 satellites would be useful if they were media players in HA Thanks
Yes, since having the mic/speaker as a satellite, it would be nice to use TTS as an automation and have it played on the satellite speaker since it is there.