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

extend soc_callback hook with extra info #8

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

arpiecodes
Copy link
Contributor

@arpiecodes arpiecodes commented Jun 26, 2023

This pull request aims to extend the soc_callback added by @ArendJanKramer. In a nutshell, it adds support for sending EVEnergyCapacity, EVEnergyRequest, and EVCCID values to the remote webhook.

I also added a fallback energy capacity configuration param to pyPLC.ini so you can also have the webhook contain an EnergyCapacity value even if the vehicle does not support this. That should provide the external EVSE controller with everything it needs to calculate the SoC.

I also renamed remaining_soc to current_soc and removed bulk_soc. If you like, I can refactor so we maintain backwards compatibility.

The changes in this pull request are tied to the pull request opened in serkri/SmartEVSE-3#160.

@uhi22 uhi22 merged commit beacd0b into uhi22:master Jun 26, 2023
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