gboudreau / LEAF_Carwings_EasyAccess

One-click access to LEAF Carwings remote actions
16 stars 9 forks source link

API v2 changes #8

Closed mjh53 closed 4 years ago

mjh53 commented 5 years ago

Nissan have updated the API and easy access doesn't work after this change. Another project appears to have extracted the changes: https://gitlab.com/tobiaswkjeldsen/carwingsflutter/commit/76bd35f0bc888c54c2f001ee3d79b4e12e957754

I naively tried to implement these changes, but apparently not correctly : Request for 'UserLoginRequest.php' failed. Response received: {"status":404}

jeremyakers commented 5 years ago

I'm getting the same 404 when I try to make the same changes in my app. I tried to use mitmproxy with the app referenced in the gitlab link above but that app doesn't honor proxy server settings.

gboudreau commented 5 years ago

If you are in Europe, try this file. In US/Canada, use this one.

mjh53 commented 5 years ago

That works (for status and air conditioning) perfectly, thank you.

On Sat, 10 Aug 2019 at 13:01, Guillaume Boudreau notifications@github.com wrote:

If you are in Europe, try this file https://raw.githubusercontent.com/gboudreau/nissan-connect-php/master/NissanConnect.class.php . In US/Canada, use this one https://raw.githubusercontent.com/gboudreau/nissan-connect-php/new-api/NissanConnect.class.php .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gboudreau/LEAF_Carwings_EasyAccess/issues/8?email_source=notifications&email_token=AEIOP4ZA5DXUXRKOO7HZTILQD2UXRA5CNFSM4II4KNMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AMEXI#issuecomment-520143453, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIOP46PFUOSCYD7AZWUPCLQD2UXRANCNFSM4II4KNMA .