Skip to content

Conversation

@mekrapp
Copy link
Contributor

@mekrapp mekrapp commented Jul 9, 2025

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.

NISSAN has changed the URL of its API as well as the method of encryption from Blowfish to AES
@mekrapp
Copy link
Contributor Author

mekrapp commented Jul 15, 2025

Hallo @benderl
anscheinend läuft der build nicht durch. Gibt es iwo ein Fehlerprotokoll?

@mekrapp
Copy link
Contributor Author

mekrapp commented Jul 15, 2025

Vermutlich liegt hier der Hund begraben. Der Workflow will mit Ubuntu 20.04 laufen:

name: Python application
on: pull_request
jobs:
build:
runs-on: ubuntu-20.04
...

Ubuntu 20.04 wird aber nicht mehr unterstützt:
"The Ubuntu 20.04 Actions runner image will begin deprecation on 2025-02-01 and will be fully unsupported by 2025-04-15 #11101"

Dann muss der Testlauf wohl erst auf ein jüngeres Ubuntu umgestellt werden.

@LKuemmel LKuemmel closed this Jul 17, 2025
@LKuemmel LKuemmel reopened this Jul 17, 2025
@LKuemmel LKuemmel merged commit 8e519d1 into snaptec:master Jul 17, 2025
1 of 6 checks passed
hawa-lc4 pushed a commit to hawa-lc4/openWB_v1.x that referenced this pull request Jul 26, 2025
Update pycarwings2.py w.r.t. URL and encryption
hawa-lc4 pushed a commit to hawa-lc4/openWB_v1.x that referenced this pull request Jul 26, 2025
Update pycarwings2.py w.r.t. URL and encryption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants