question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

volume_set not working with tts.cloud_say

See original GitHub issue

Describe the bug

I am trying to set the volume level when using the tts.cloud_say service in home assistant.

I can see the volume is changed correctly as per the first action but then when the HomePod plays the tts it automatically changes the volume to what appears to be 0.2, after it finishes and playing it sets the volume back to what was set in the first action even though I do not specify a second volume set action.

It appears to be related to the fact the tts message is played using RAOP which has different volume controls but I cannot see how to set those so the tts messages are played at a volume they can be heard?

Error log

<place log here>

How to reproduce the bug?

Use these actions in a home assistant automation

action:

  • service: media_player.volume_set data: volume_level: 0.7 target: entity_id: media_player.living_room_homepod
  • delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0
  • service: tts.cloud_say data: entity_id: media_player.living_room_homepod message: Test Message

What is expected behavior?

The tts message is played at the volume set in the automation.

Operating System

HassOS

Python

3.9

pyatv

latest?

Device

HomePod Mini

Additional context

None

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:30 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
postlundcommented, Jan 19, 2022

sure will do when i get home tonight, how do i enable debug logs for you?

Instructions are here:

https://github.com/postlund/hass-atv-beta#debug-logs

If you already have a default level, please set that to warning or higher as it pollutes the log and makes it unreadable otherwise. If you have more than one device set up via the Apple TV integration, I suggest you disable the other ones while extracting logs for the same reason.

1reaction
pug306dcommented, Jan 7, 2022

I still have the original issue I reported, I emailed the logs for investigation. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cloud_say volume not working - Home Assistant Community
My problem is that if the TTS replays the volume is still 100%. It seems that it doesn't consider the volume which has...
Read more >
tts.say no longer working for any... cloud...google assistant etc
The problem. tts.cloud_say and tts.google_say were working in version before this latest. Now theyre not.... all i get is UNKNOWN ERROR.
Read more >
DS8000 Release 9.3 and z/OS 2.5 - IBM Redbooks
The DS8000 storage system reports problems of different severities. Those problems that are classified as acute are also treated as HyperSwap triggers. After ......
Read more >
Samsung MultiRoom M Series Speakers - Connected Things
If you do not have this application installed on your mobile device, ... The external TTS smart app doesnt seem to be working...
Read more >
Nabu Casa Cloud TTS
With Cloud TTS you are able to have text read aloud with natural sounding voices. ... make sure you are running the latest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found