pm2 stop AlexaCookie
pm2 delete AlexaCookie
rm -r /yourpathhere
mkdir /home/youruser
cd /home/youruser
Place the github files here (dont reuse the old ones, dowload new from repo)
chmod +x AlexaCookie.js
npm install
Share the npm install output if any errors encountered.
found more instructions.. i knew there was more.. follow this for qnap after getting git and npm
as outlined above.
run the git command to pull in the alexa-cookie from the /share/qnapshared directory
as follows: git clone https://github.com/bdwilson/docker
then chmod 955 the build.sh and run.sh
then run sudo ./build.sh as outlined and check that there are no errors.
then run sudo ./run.sh there should be no errors
then check in the container app you should see it running
if so try
ipaddess:81 and you should see a login page.
Is the account that you used to generate the Alexa Cookie the same as the primary owner account of that specific Alexa device? What type of Echo are you using?
And you get the error on all devices? Or just one specific device? What country are you in?
Have you tried not using the NodeJS Server to update the cookie? It might be a good idea to try the manual cookie process, as a test to simply see if things work.
I just ran a quick test (as I rarely use this) and everything seems to still be working fine.
I typed hello on all of the devices and they all generate the sames messages. I am in the US, It does work if I grab a cookie from Chrome (manually). It does successfully grab a cookie from the docker container too.
Well then, it sounds like your docker may be out of date? Just a guess. Amazon has made some tweaks over the years that have affected the AlexaCookie NodeJS server - actually, the underlying shared code that @gabriele's code uses, IIRC.
@ilewis1180 - as @dJOS indicates, it still works. That being said, I believe the developer uses/recommends Sonos for TTS notifications. The Hubitat Sonos integration is fully local and even works with the inexpensive Ikea Symfonisk speakers, which are $99 new, and <$75 used on eBay.
i'm incorrect. Hubitat uses Amazon's Poly TTS, so I imagine the first time a phrase is used, Hubitat must use the Amazon AWS cloud to create an mp3. I'm imagine the hub either caches or stores the resulting mp3 for future use.
The connection between Hubitat and Sonos remains local all the time.
This is correct. Hubitat does indeed cache the audio files returned from AWS Poly TTS. So, the Sonos integration is a much more ‘local’ solution than using an Echo. Also, ‘it just works’ with no extra devices/servers required.