mitchellrj / kamereon-python

Python library for working with Nissan / Renault / Mitsubishi Kamereon APIs
Apache License 2.0
18 stars 9 forks source link

Does not work with current Nissanconnect EU #10

Open scientific-method-course opened 2 years ago

scientific-method-course commented 2 years ago

To start with many thanks for this Python implementation. However, for me it didn't work with the current version of Nissanconnect for EU.The response from the server seems to have changed. And I ran into some issues that seem to be related to Python3.

However, I got the bits and pieces that I need running. If someone is interested, I could share them.

p1nguin31 commented 2 years ago

Hello, Yes, I'd like to know a bit more about bits and pieces needed to make it running !

scientific-method-course commented 1 year ago

It turns out that Nissan/Kamereon changed their server addresses. Those are given in kamereon/kamereon.py in settings_map. I looked up the correct values in dartnissanconnect. It appears that it is mostly a matter of replacing .eu. by .eu2. in all addresses. Now it seems to work again, at least for me.

scientific-method-course commented 1 year ago

This week I discovered that another change was needed.

In kamereon.py in line 704 the v2 should be changed to v5. Whenever something seems to break, I check at dartnissanconnect to see how to fix it.