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

Allow TTS notification to speak as loud as possible using alarm stream, then restore volume #1139

Merged
merged 1 commit into from Nov 3, 2020

Conversation

dshokouhi
Copy link
Member

@dshokouhi dshokouhi commented Nov 3, 2020

Summary

Sometimes a user may find their device might be speaking too low due to the volume level. Using TTS we are able to detect when a stream is going to start and when it has been completed. We can then change the volume level and set it to the max and restore it once completed. This can be useful for a user who wants an important notification spoken as loud as possible.

Screenshots

N/A

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#381

Any other notes

Example:

    - service: notify.mobile_app_<your_device_id_here>
      data:
        title: "The house is on fire and the cat's stuck in the dryer!"
        message: TTS
        data:
          ttl: 0
          priority: high
          channel: alarm_stream_max

@JBassett JBassett merged commit 0c93155 into home-assistant:master Nov 3, 2020
@dshokouhi dshokouhi deleted the alarm_stream_max branch November 3, 2020 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants