Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add the possibility to cast the tts response to media player devices #258

Open
lajoshanko opened this issue Aug 26, 2024 · 0 comments

Comments

@lajoshanko
Copy link

lajoshanko commented Aug 26, 2024

Since the M5Stack Echo and the ESP32 Box devices have pretty quiet speakers it would be nice to have a feature toggle to cast the voice response the media player devices.

Currently as a workaround the following config can be added to the esphome device config to cast the response to the device.
Where the entity_id is optionally populated from a template select from home assistant.

    - homeassistant.service:
        service: media_player.play_media
        data:
          entity_id: media_player.media_player_entity
          media_content_id: !lambda 'return x;'
          media_content_type: music
          announce: "true" 

Features on the esphome device config page:

  1. A feature toggle to turn the casting on/off.
  2. A select list of mediaplayers where the state is not off, unavailable, unknown.
  3. Maybe a feature toggle to mute the esphome device built-in speaker.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant