bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
75 stars 20 forks source link

Have to re-initialize constantly, daily #201

Open magyartj opened 2 weeks ago

magyartj commented 2 weeks ago

My Alexa Routine nodes are constantly asking me to "open http://192.168.x.xx:3456 in your browser", that IP being the IP address of my Home Assistant install. I go to that webpage in a browser and enter my Amazon username/password and then it tells me "Amazon Alexa Cookie successfully retrieved. You can close the browser.". It then starts working, but within a day, I notice my Alexa isn't speaking again. Have to do it all over again.

I see this in the Node-Red Add-On log during startup:

13 Sep 13:26:59 - [warn] [alexa-remote-account:66fb228ef256d965] ENOENT: no such file or directory, open 'authorizationAlexa'
13 Sep 13:26:59 - [info] [alexa-remote-account:66fb228ef256d965] intialising with the PROXY method and NO saved data...
13 Sep 13:26:59 - [warn] [alexa-remote-account:66fb228ef256d965] open http://192.168.1.9:3456 in your browser

And then when a flow triggers that tries to use it, I see this:

13 Sep 13:39:47 - [error] [alexa-remote-routine:Alexa Speak Living Room Only] Account not initialised!

After I go to the URL and log in, I see this in the log:

13 Sep 13:59:38 - [info] [alexa-remote-account:66fb228ef256d965] intialising with the PROXY method and saved data...

I never see a "Success" message or anything else, which there should be a log entry whether it succeeds or fails. Anyway.

It's quite an annoyance to have to do this daily. I don't exactly recall when this started happening, but I would estimate about 2-3 months ago; I have been procrastinating to figure out a solution until now. And I haven't found one.

Babelbernd commented 1 week ago

Same here, every 24 hours i have to re-initialize. @bbindreiter is there any workaround for this issue?