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

feat: add soc limit for bluelink #4452

Merged
merged 2 commits into from
Sep 15, 2022
Merged

feat: add soc limit for bluelink #4452

merged 2 commits into from
Sep 15, 2022

Conversation

tobiasbayer
Copy link
Contributor

SoC limit for visualization for Bluelink vehicles (Kia and Hyundai)

See #4245, which introduced this feature for Tesla vehicles only

@andig andig merged commit d5ba679 into evcc-io:master Sep 15, 2022
@andig
Copy link
Member

andig commented Sep 15, 2022

Nice!

@andig andig added the enhancement New feature or request label Sep 15, 2022
@tobiasbayer tobiasbayer deleted the soc-limit-bluelink branch September 15, 2022 09:56
@tobiasbayer
Copy link
Contributor Author

I was not sure if cases have to match the ones in the raw JSON data so I went the safe road.
Just checked the docs and it turns out decoding is case insensitive. Thank you!

@andig
Copy link
Member

andig commented Sep 15, 2022

Yes, when reading that works. When writing it will follow the case of the field name unless you specify a json tag for a deviating name (which I've been trying to avoid).

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.

2 participants