Comments (5)
Hi @KrisHoobergs,
Sorry you've been having issues. As I understand the built it join/unjoin feature in Home Assistant (the same one being used by Chime TTS) does not always play nicely with Sonos. Other Sonos users have reported that a workaround is to use the Sonos integration's snapshot/restore feature, in conjunction with Chime TTS:
- service: sonos.snapshot
data:
with_group: true
entity_id: all
- service: chime_tts.say
data:
chime_path: custom_components/chime_tts/mp3s/bells.mp3
message: This is a test
tts_platform: google_cloud
join_players: true
enabled: true
target:
entity_id:
- media_player.lounge_sonos
- media_player.porch_sonos
- media_player.diningroom_sonos
- media_player.halfbath_sonos
- media_player.kitchen_sonos
- media_player.office_sonos
- media_player.garage_sonos
- service: sonos.restore
data:
with_group: true
entity_id: all
from chime_tts.
Hi @nimroddolev ,
Sorry to hear that, this was just one of the main reasons I was using this. Do you know if the syntax above is correct because I can't get it to work?
from chime_tts.
Hey @KrisHoobergs, I can't verify that the above YAML works as I don't have any Sonos speakers. It was posted by another user in the Home Assistant forum. Perhaps you could follow up in the forum and hopefully another user might be able to help you further.
from chime_tts.
Hi @nimroddolev ,
I just got the code for the Sonos speaker working, thanks. I'll close this one.
from chime_tts.
Thatβs great π
Would you mind posting it here for future reference? Perhaps I can incorporate it or add documentation to help others the issue.
from chime_tts.
Related Issues (20)
- Service call times out. Announce stops working until HA restart. HOT 2
- doesn't play anything HOT 2
- OpenAI TTS API Key HOT 1
- Plays default chime AND custom chime HOT 3
- Add individual volume on each segment HOT 1
- Warnings in Log "Detected blocking call to open inside the event loop by custom integration 'chime_tts' " HOT 1
- not working if template containes round or int or the likes HOT 8
- chime_tts.say_url "...does not support 'response_variable'..." HOT 1
- Error "No TTS platforms were detected" when saving any configuration HOT 3
- Stopped working since a few days HOT 12
- Latest Update ignores volume setting when announce is set true HOT 3
- Every ChimeTTS use through MPD integration results in ban attempt HOT 3
- chime_tts.say_url eventually fails and won't continue until Home Assistant is restarted HOT 18
- Use public URL path with cast and Sonos media_players instead of the media content id HOT 8
- Unable to save reference to cache in v1.1.4-beta4 HOT 3
- Announcements to resume previous playback after chime finishes on Google Cast HOT 1
- Piper voice support HOT 5
- Duplicate keys for cache options in clear_cache services.yaml HOT 1
- Setting the voice only works if also setting the language
- Canceling the script execution causes the service to stop working until restart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chime_tts.