8000 Sungrow: Remove ChargeRater implementation by hameno · Pull Request #21115 · evcc-io/evcc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sungrow: Remove ChargeRater implementation #21115

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

Merged
merged 1 commit into from
May 8, 2025
Merged

Conversation

hameno
Copy link
Contributor
@hameno hameno commented May 7, 2025

The charged session energy resets on each start/stop command. evcc expects this to not reset until the car is disconnected. This breaks assumptions in loadpoint regarding the session charged energy and causes incorrect values to be calculated.

Removing the implementation causes evcc to calculate the session energy based on the MeterEnergy implementation (total energy used by wallbox) which then correctly calculates session energy.

Fixes #19879

Copy link
Contributor
@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @hameno - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

The charged session energy resets on each start/stop command. evcc
expects this to not reset until the car is disconnected. This breaks
assumptions in loadpoint regarding the session charged energy and causes
 incorrect values to be calculated.

Removing the implementation causes evcc to calculate the session energy
based on the MeterEnergy implementation (total energy used by wallbox)
which then correctly calculates session energy.

Fixes evcc-io#19879
@andig andig merged commit 3765373 into evcc-io:master May 8, 2025
6 checks passed
@BastiZ0 BastiZ0 mentioned this pull request May 19, 2025
2 tasks
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.

Sungrow: Sessionenergie fehlerhaft
3 participants
0