I realize most people will not go out and purchase a Smartthings hub simply for the ability to send TTS to Echo devices, but I happened to have a Smartthings hub that I was no longer using, and I've been able to make it work. I can trigger any Echo devices (one, or a group) to speak any text simply by asking Homeseer to make a GET request to a URL. The text to be spoken is included as a token in the URL.
Here's how to do it:
Then write a script in Homeseer to issue the GET command triggered by whatever you want to serve as the Homeseer trigger.
It's somewhat amazing when you get it to work - it really opens up a whole new set of capabilities for Homeseer.
Hope this is helpful.
Here's how to do it:
- Install the webCoRE SmartApp on the Smartthings hub (this is laborious but not complex - there are very good instructions online)
- Install the Echo Speaks Smart App on the Smartthings hub (ditto aborious but good instructions online)
- Create a "piston" (a script, essentially) in webCoRE that looks something like this:
Code:execute with Echo - Office do playAnnouncement({$args.text}) [I](only while Away, Night, or Home)[/I]; end with; end execute;
- Find the URL that webCoRE assigns to the piston (it's shown in the 'Quick Facts' section where you create the piston - it's called the 'External URL').
- Use Homeseer to generate a GET command to the URL specified by the piston in the webCoRE app. The URL will contain your specific token ID, installation ID and piston ID. Append to that URL the token "?text=Hello, World" (without the quotation marks) or whatever text you would like Alexa to speak. Here's an example of my specific URL (with my IDs hidden):
Then write a script in Homeseer to issue the GET command triggered by whatever you want to serve as the Homeseer trigger.
It's somewhat amazing when you get it to work - it really opens up a whole new set of capabilities for Homeseer.
Hope this is helpful.
Comment