How to send Text to Speech to the Voice PE

Tried numerous things and also asked Chat GPT, none worked.

How can I send text to the PE device to be spoken:

    action: tts.speak
    metadata: {}
    data:
      cache: true
      entity_id: media_player.home_assistant_voice_09fe61_media_player
      media_player_entity_id: media_player.home_assistant_voice_09fe61_media_player
      message: Hello

Go here…

Start reading

Start conversation is intended to be interactive. Announce is not.

Or you can use TTS. Like I believe you’re trying to do…

Also asking chatgpt about Homeassistant is rife with caveats. Mostly the project way outpaces Ai training so it’s always ol data and they pull examples from here on the community site which… Let’s just say has a lot of people looking for help and posting incorrect answers.

Thanks for the quick response, still does not appear to work. tried:

action: assist_satellite.announce
target:
  entity_id: assist_satellite.home_assistant_voice_09fe61_assist_satellite
  message: Dinner is ready!
data:
  message: Time to wake up!

And

action: assist_satellite.announce
target:
  entity_id: assist_satellite.home_assistant_voice_09fe61_assist_satellite
  message: "Dinner is ready!"
  preannounce: false

Get error and not clear what the syntax should be:

Failed to perform the action assist_satellite.announce. extra keys not allowed @ data['sequence'][0]['target']['message']. Got 'Dinner is ready!' extra keys not allowed @ data['sequence'][0]['target']['preannounce']. Got False

OOps, got it now:

service: assist_satellite.announce
target:
  entity_id: assist_satellite.home_assistant_voice_09fe61_assist_satellite
data:
  message: "Dinner is ready!"
  preannounce: false

Thanks VERY much @NathanCu

1 Like