therealryanbonham / badnest

25 stars 27 forks source link

cant find the correct cookie #11

Open yfaber opened 3 years ago

yfaber commented 3 years ago

already copied and pasted all cookies and this isn't working, can anyone help?

Nardol commented 3 years ago

What error do you have? In the case it could be useful, see https://github.com/therealryanbonham/badnest/pull/10

Nardol commented 3 years ago

OK, I was too confident when posting my first comment.

I don't know if @yfaber has the same issue but when configuring I have a KeyError: access_token in the Home Assistant core log. I though I used the bad URL but I'm asking if it could not be a problem with the cookie.

brianacox commented 3 years ago

Ditto... I thought that the post which mentions "The cookie Secure-3PSID works. OCAK= isn't always present." would help me to overcome the problem with the cookie - particularly as I found one that started "secure-3PSID etc" but it still didn't work.... actually I can't find anything in the logs (to say it failed) or anything in the entities (7 nest protect devices) to show its worked. Is the cook the whole of the line or just a section of it? If "__Secure-3PSID" is the start... where is the end?