The “Voice Cmd As Text” can be used to send a command to an Echo device, and it will be interpreted as if it was spoken to directly. No need for another speaker to speak to it. Here is an example that resulted in my Echo Show 8 telling me the time:
My local Container with Echo-Speaks seems like it restarts about every 15 minutes. I see an error in my hubitat logs ( [warn] EchoApp (v4.2.4.0) | Amazon Cookie Refresh FAILED 408). This recently started and I'm not sure why. How do I isolate and rectify the problem? Thanks for your help!
Thanks for your help and response. I renewed the cookie at various times along the way and saw it complete in Hubitat, but 15 minutes later it would try again and fail. After trying various things for the past 2 days it appears to be resolved now. I'm really not sure what corrected it because I tried a lot of different things. Possibly a reboot of my Hubitat or fresh configuration of my echo-speaks container. Nonetheless, Thanks for your help...it's working fine now. Much appreciated!
My set up uses a local docker container. I haven't been able to log in in ages. From a UI perspective, I never see any errors but in the server logs, I do. Login seems fine, reports "All is well" but the log tells a different story:
echo-speaks | Alexa-Cookie: Response (401)
echo-speaks | Get User data Response: ""
echo-speaks | 7-18-2024 - 12:50:56pm error: generateAlexaCookie: Unexpected end of JSON input
echo-speaks | 7-18-2024 - 12:50:56pm debug: Alexa Login Status: There was an error
echo-speaks | 7-18-2024 - 12:50:56pm info: ** ServerVersion Sent to Hubitat Endpoint Successfully! **
echo-speaks | getRemoteCookie...
echo-speaks | 7-18-2024 - 12:51:00pm debug: /config page requested
echo-speaks | 7-18-2024 - 12:51:01pm info: Checking for Server Version Updates...
echo-speaks | Alexa-Cookie: Use as Login-Amazon-URL: amazon.com
echo-speaks | Alexa-Cookie: Use as Base-Amazon-URL: amazon.com
echo-speaks | Alexa-Cookie: Use as User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
echo-speaks | Alexa-Cookie: Use as Accept-Language: en-US
echo-speaks | Alexa-Cookie: Proxy-Mode enabled if needed: 10.0.0.229:8091 to listen on 0.0.0.0
echo-speaks | Proxy Init: loaded temp data store ■■■ fallback former data
echo-speaks | Proxy Init: reuse frc from former data
echo-speaks | Proxy Init: reuse map-md from former data
echo-speaks | Proxy Init: reuse deviceId from former data
echo-speaks | 7-18-2024 - 12:51:01pm error: generateAlexaCookie: You can try to get the cookie manually by opening http://10.0.0.229:8091/ with your browser.
echo-speaks | 7-18-2024 - 12:51:01pm debug: Alexa Login Status: There was an error
echo-speaks | 7-18-2024 - 12:51:01pm info: ** ServerVersion Sent to Hubitat Endpoint Successfully! **
echo-speaks | 7-18-2024 - 12:51:01pm info: Server Version is Up-to-Date.
The four top lines seem to be the main culprit here. I tried an incorrect login and I can see it fail at a login screen so I know my correct login works.
I don't know that there is a way to do cookies manually anymore as alexa.amazon.com has changed and is no longer a login. I am at a loss, I tried a bunch of things and I really don't want to use Heroku for this when I have a good homelab setup going.
Has anyone gotten this to work recently from a fresh install?
My cookie refresh app isn't working for ages, but since Echo Speaks is working, I haven't touched it.
However, I've been experiencing some "anomalies" that I don't know if they are related to the cookie.
Sometimes my hub can't answer to my voice commands. I noticed it for the first time on Mondays mornings, after my weekly hub reboot (4AM Mondays). Since I was issuing the reboot command using a http request I thought it could be the case. So I installed the Reboot app and it got back to work without issues.
But - there's always a but - today I had the same issue with no apparent reason.
This is a screenshot from the Echo Speaks app:
It says that the authorisation is fine, but the cookie refresh no - no surprise, since every 15 minutes I got these messages at the hub log:
I want to create a Docker container with the cookie refresh app, but I have other priorities now so I need to postpone it. But it's working, so, no rush!
Another question I wonder, is there a way to actually get alexa responses to voice command, for example you send "Set my thermostat to off" and Alexa will respond "It is off" can I get this response somehow?
I think Alexa does that on it's on. At least it does for my Virtual thermostats I use. The one I have set up in my Shop always responds back with what I asked her to set my thermostat to.
I just tried it and when I said Alexa, "set shop office thermostat to off", she responded "it's off". I have no special rules set up for that, it is just using the standard Alexa skill.
Don’t believe Amazon let’s you get that anymore, but if it does it will be listed in the device attributes (Current States) - so check there to see if you see it.