Update pycarwings2.py w.r.t. URL and encryption #2871
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update pycarwings2 w.r.t. new URL of NISSAN API and method of encryption
NISSAN has changed the URL of its API as well as the method of encryption from Blowfish to AES.
Details see remuslazar/homeassistant-carwings#100
New API is at URL https://gdcportalgw.its-mo.com/api_v250205_NE/gdc/
Many thanks to @remuslazar and @zwartevogel who already updated pycarwings3.
see ev-freaks/pycarwings3#14
and remuslazar/homeassistant-carwings#101
With this PR the changes in pycarwings3 have been transferred to pycarwings2 for openWB V1.9.304.
In addition the function _PKCS5Padding(), which is using the encryption method Blowfish, is now obsolete and thus has been removed as well.
I already checked the new version of pycarwings2. It is running well with my NISSAN Leaf MY2018.