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

Add ability to use textToSpeech #105

Open
bjgeiser opened this issue May 7, 2020 · 0 comments
Open

Add ability to use textToSpeech #105

bjgeiser opened this issue May 7, 2020 · 0 comments

Comments

@bjgeiser
Copy link

bjgeiser commented May 7, 2020

Devices such as the new local Sonos integration no longer include the custom capability playText and its derivatives. As devices more move to local execution such as the new Sonos they no longer have access to the TTS cloud service required to generate the TTS sounds. The solution to this problem is to have the SmartApp use the textToSpeech API as seen here in BigTalker:

https://github.com/rayzurbock/SmartThings-BigTalker-Orig/blob/db50483c97dab7ff92c3ada9232814b8e38b4d27/BigTalker.groovy#L2969

Once the sounds is generated it can then be sent to any capability that can play a url. For Sonos and most other the speakers this would be the Audio Notification capability.

Supporting this in WebCore will enable it to again play TTS sounds to Sonos and future local speakers from pistons.

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