I am waiting to see if the "Echo Speaks" integration on ST has solved the expiring cookie problem or not. If they have, it shouldn't be too hard to figure out how and port that bit of code.
Of course, anyone could port the ST Groovy Code to Hubitat and use "Echo Speaks" on Hubitat as well, if they are motivated.
Droping this here for anybody who might want to try it. These instructions are missing a step. google responds with " I didn't understand you can you repeat". If you use the instructions on his github it works great. https://github.com/tartanguru/alexa-assistant
Wife and I had a ball asking them both the same questions. Try "Open the pod bay doors"
@ogiewon can you imagine why loading Webcore app pieces here in HE would stop your text to speech driver from working? As soon as I add those piece Alexa no longer talks. When I remove webcore she pipes back up again. It does not matter if rules are added to Webcore, just the process of adding that app breaks things.
I have updated my GitHub repository with v0.4.1 of the Alexa TTS Manager App and Child Alexa TTS Driver. Make sure you update both of these files if you choose to upgrade your installation.
High Level Release notes from the first post are below.
I would like to thank @stephack for his contributions to this integration! If you have any Virtual Container questions, he's definitely the expert.
I am sure there is a way... it’s just not something I have time to work on. Also, I still like the simplicity of not needing another server. If you’re following the “Echo Speaks” thread on ST, I think you’ll agree that the solution is still a work in progress. Perhaps once that system stabilizes, someone will work on porting it to Hubitat.
Hi, I don't have a hubitat device but some have translate my project DLNA Speaker from SmartThings, I have mod the dlna speaker code to Echo devices, still a basic functions but it's functional.
I have uploaded v0.4.2 of the Alexa TTS Manager App to my GitHub repo. The only change since v0.4.1 is improved live logging and push notifications for expired cookies. Now, when you issue a Speak command with an expired cookie, you will see an error in the live logging and will receive a push notification if you have configured a Notification Device, like Pushover.
Trying to get it working but getting this error:
Encountered an error. http resp.status = '200'. http resp.contentType = 'text/html'. Should be '200' and 'application/json'. Check your cookie string!
Using the chrome method to get the cookie, removed the " and added a ; at the end.
Not sure what i'm doing wrong.
I sometimes get the following errors and the messaging fails:
error'speakMessage()': Error making Call (getMessage): Bad Request error'speakMessage()': Error making Call (Status): 400 error'speakMessage()': Error making Call (Data): [message:Rate Exceeded]
Any ideas why? I'm sending the message to 3 echos, so it's not excessive.