Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluelink: add CCS api support #13713

Merged
merged 5 commits into from
May 4, 2024
Merged

Conversation

runtologist
Copy link
Sponsor Contributor

@runtologist runtologist commented May 3, 2024

This adds support for newer Hyundai and KIA models, such as Hyundai Kona SX2. I've tested with said Kona. It would be good if someone could test with a Kia and an older Bluelink version.

This is the first piece of Golang I have ever written, so I'm happy to take feedback in case something is not quite idiomatic.

runtologist and others added 3 commits May 3, 2024 12:48
This adds support for newer Hyundai and KIA models, such as Hyundai Kona SX2.
@andig andig changed the title feat: bluelink CCS API Bluelink: add CCS api support May 3, 2024
@andig andig added the enhancement New feature or request label May 3, 2024
@andig
Copy link
Member

andig commented May 3, 2024

Great PR, looks pretty idiomatic. Did a few minor touches.

@andig andig merged commit bf58479 into evcc-io:master May 4, 2024
7 checks passed
@horstvogel
Copy link

horstvogel commented May 4, 2024

I see now only "Kilometerstand" mileage Hyundai Kona 2024 EVCC 0.126.2

image

@horstvogel
Copy link

After a while it is working!!!!

image

@runtologist
Copy link
Sponsor Contributor Author

runtologist commented May 5, 2024

@horstvogel position and odometer update immediately, the rest every refresh interval, default 5 minutes. This is due to the structure of the old bluelink api, the new one returns everything in a single call. Optimizing this means less shared code, so for the first version I took the easy way. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants