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

Cookie initialisation #183

Open IanIreland opened 6 months ago

IanIreland commented 6 months ago

I currently use Proxy authentication. I have re-initialise it regularly to keep it working. I decided to try cookies. However, when I follow the instructions the landing page for alexa.amazon.com (and alexa.amazon.co.uk) it simply takes you to a page to download the app. Is to get another way to get a cookie?

bernardstef commented 6 months ago

Hi ! I have the same problem ..... Thanks for the help !

MrEcosse commented 6 months ago

Seems to have stopped saving the cookie for me too. Perhaps HA has prevented writing to the location?

quadhammer commented 6 months ago

Ditto here. I need to reauthorize every day now.

quadhammer commented 6 months ago

Perhaps HA has prevented writing to the location?

This sounds likely. I'm using the built-in add-on of node red, inside home assistant, and my file path for the proxy method is:

/homeassistant/node-red/test3.txt

Home Assistant is also inside a VM if that makes a difference.

rlust commented 5 months ago

Does this file location work?

quadhammer commented 5 months ago

Does this file location work?

Well, for about 12 hours, then I have to restart Node Red.

22 Apr 16:57:55 - [error] [alexa-remote-account:Name] Error while checking Authentication: Error: getaddrinfo EAI_AGAIN pitangui.amazon.com

That seems to pop up too.

Turning "Auto Query Activities" off and on fixes it, but I need it on permanently.

obaldius commented 5 months ago

I placed the authentication file in the share folder which allows writting. Thanks guys

distanzcheck commented 4 months ago

Hello, Where / What is the share folder? Thank you

obaldius commented 4 months ago

Hello, Where / What is the share folder? Thank you

If you have hassos, whithin the config of the Alexa node:

File path: "/share/yourauthenticationfile"

screenshot

quadhammer commented 4 months ago

I placed the authentication file in the share folder which allows writting. Thanks guys

I didn't change my path, but it seems to work pretty reliably now. I'll give the 'share' folder a try if it starts playing up, thanks.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.