Skip to content

Add support for Europe CCS2 request (v2)#290

Merged
Hacksore merged 1 commit intoHacksore:masterfrom
philipptrenz:master
May 3, 2025
Merged

Add support for Europe CCS2 request (v2)#290
Hacksore merged 1 commit intoHacksore:masterfrom
philipptrenz:master

Conversation

@philipptrenz
Copy link
Copy Markdown
Contributor

As #283 seems to be stuck, I started all over again. Anyways, thanks @arteck for the preparatory work!

The ccuCCS2ProtocolSupport gets stored and is used to prefer the /ccs2/carstatus/latest over the /status API. I also added parsing the data into VehicleStatus, although I was not yet able to interpret every parameter from the old model.

While trying to implement the refresh via /ccs2/carstatus, I got an error stating, that this is not yet available for the Europe region. So it might be able to add it in again at a later point in time.

@philipptrenz
Copy link
Copy Markdown
Contributor Author

@Hacksore can we push this forward?

@Hacksore
Copy link
Copy Markdown
Owner

Hacksore commented May 3, 2025

Is this a breaking change or backwards compat and can land in 8.x version?

@philipptrenz
Copy link
Copy Markdown
Contributor Author

For cars supporting the new ccs2 protocol, the unparsed payload of full status will change. The parsed status keeps the same format, but is missing a few data points compared to the old endpoint data. Overall, these changes should only affect the new ccs2 enabled cars, like Kia EV3, EV6 facelift etc.

@Hacksore
Copy link
Copy Markdown
Owner

Hacksore commented May 3, 2025

Just to be safe ill bump major version and we :shipit:.

Thanks for the contribution!

@Hacksore Hacksore merged commit 87e5717 into Hacksore:master May 3, 2025
2 checks passed
@bausi2k
Copy link
Copy Markdown

bausi2k commented May 5, 2025

could somebody also bump the NodeRed integration to the new Version @Hacksore

thx a lot

@philipptrenz
Copy link
Copy Markdown
Contributor Author

@bausi2k Have not yet tested it, but should not be needed, as it uses the latest bluelinky release on install: https://github.com/SondreNjaastad/node-red-contrib-bluelinky/blob/77d43ad8ee2d14cab0a638959cf22ea1c1232160/package.json#L36

@bausi2k
Copy link
Copy Markdown

bausi2k commented May 5, 2025

seems not to - i've removed the NR palette restartet the conatiner, installed it again and the detail data has no EV Infos yet…
If I can help testing, I'd be happy to support.

@philipptrenz
Copy link
Copy Markdown
Contributor Author

Probably best if you open an issue at https://github.com/SondreNjaastad/node-red-contrib-bluelinky

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.

3 participants