#Respeaker lite respond on another speaker

1 messages · Page 1 of 1 (latest)

lime pelican
#

Hey all, I have been trying to mess around with a respeaker lite as a VA, but I cant seem to get it to respond on another speaker.
I've tried a few variations of Media play, or cloud say but none are working. Does anyone have this working using formatBCE's code?

Any assistance would be appreciated as I am currently losing my mind lol

Currently I have this set, but if I understand it right its called to the id so I am not sure this config will work like this
on_tts_end:
- script.execute:
id: send_tts_uri_event
- homeassistant.service:
service: media_player.play_media
data:
entity_id: media_player.sound_bar
media_content_id: !lambda 'return x;'
media_content_type: music
announce: "true"

toxic edge
#

That tts_uri_event is there to catch it on HA side, and use in automation to send TTS anywhere you want. 🙂

#

Right now you have that completely misconfigured

lime pelican
#

That makes a lot of sense haha, thanks for all your work!

#

You wouldn't happen to know the correct way to send this TTS by chance? 🫠

#

Id assume I would need to place something in the script section so it works for everything else

toxic edge
toxic edge
lime pelican
toxic edge
# lime pelican Thanks so much! Take your time

Here you go.
Replace #YOUR_MEDIA_PLAYER_ID# with your target entity.
Then either replace #YOUR_RESPEAKER_DEVICE_ID# with your Respeaker satellite device ID (you can find it in the URL, when you go to device page in Home Assistant). This will make sure that only this one Respeaker responses will be redirected to the other speaker. If you only have one satellite, you may just delete that line (device_id: #YOUR_RESPEAKER_DEVICE_ID#) completely.

alias: Play TTS in office
description: ""
triggers:
  - trigger: event
    event_type: esphome.tts_uri
    event_data:
      device_id: #YOUR_RESPEAKER_DEVICE_ID#
conditions: []
actions:
  - action: media_player.play_media
    metadata: {}
    data:
      announce: true
      media_content_type: music
      media_content_id: "{{ trigger.event.data.uri }}"
    target:
      entity_id: media_player.#YOUR_MEDIA_PLAYER_ID#
mode: single
lime pelican
#

Thanks so much! I'll give this a shot

toxic edge
#

Guess i will add this to the repo

toxic edge
toxic edge
#

Added blueprint to make life easier.

lime pelican
#

Damn this is awesome, really appreciate it.

May still need to test some things as it's able to cast to google devices but not play on a Sonos which I've found TTS almost instant while the cast takes awhile. This may be something on my end though