Open Quintin9801 opened 3 years ago
+1 please
So once you download the plug-in you should see this in your logs You should be able to tap on the part that’s underlined Blow Once you tap on that it’ll take you to this page Then you log into your Amazon account that your echo devices are linked to Then you log into your Amazon account that your echo devices are linked to and you should see this after you click sign in After that go back to your logs and you should see a large section of taxed in yellow After that go back to your logs and you should see a large section of text in yellow And it’ll start with this Copy and paste all the text in yellow after that (If you running iOS 15 Take a screenshot and then copy it from photos if you’re running something earlier download your logs And then copy it from that) After you have it copied you should be able to paste it In the section labelled cookie Then hit save and restart homebridge
What do we do if the yellow text doesn't appear in the logs? Is there a debug flag we have to have turned on? I think it would be easier if the name of the auth cookie was given (then I can use cookie lookup tools)
Edit: Okay, for anyone reading this. 1: it's not grabbing A cookie, it's grabbing MULTIPLE cookies, in a list. ALSO, if you have anything written into the "Cookie" field in the plugin's settings, that yellow text will not appear, keep that in mind.
Trying to setup this... When trying to get the cookies, and tapping into the address marked in red it doesn't open any page: It says it can't connect to the server... Any help is greatly appreciated
Edit: NEVER MIND! UP AND RUNNING!
After that go back to your logs and you should see a large section of taxed in yellow After that go back to your logs and you should see a large section of text in yellow And it’ll start with this Copy and paste all the text in yellow after that (If you running iOS 15 Take a screenshot and then copy it from photos if you’re running something earlier download your logs And then copy it from that) After you have it copied you should be able to paste it In the section labelled cookie
Thanks --- These instructions worked perfectly, except instead of receiving yellow text with my cookie information, I received the following error instead after successfully retrieving my amazon alexa cookie. Any thoughts here? I havent edited the .json beyond basic confg.
Failed to initialize. SyntaxError: Unexpected end of JSON input
at JSON.parse (
After that go back to your logs and you should see a large section of taxed in yellow After that go back to your logs and you should see a large section of text in yellow And it’ll start with this Copy and paste all the text in yellow after that (If you running iOS 15 Take a screenshot and then copy it from photos if you’re running something earlier download your logs And then copy it from that) After you have it copied you should be able to paste it In the section labelled cookie
Thanks --- These instructions worked perfectly, except instead of receiving yellow text with my cookie information, I received the following error instead after successfully retrieving my amazon alexa cookie. Any thoughts here? I havent edited the .json beyond basic confg.
Failed to initialize. SyntaxError: Unexpected end of JSON input at JSON.parse () at /usr/local/lib/node_modules/homebridge-alexa-player/node_modules/alexa-cookie2/alexa-cookie.js:532:67 at IncomingMessage. (/usr/local/lib/node_modules/homebridge-alexa-player/node_modules/alexa-cookie2/alexa-cookie.js:111:33) at IncomingMessage.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1344:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)
Getting this also
Problem
A guide on how to obtain an Amazon Authentication Cookie for setup would be great. I'm not quite sure where I should be looking in the network traffic when logging in.