Skip to content

Conversation

sthhs
Copy link
Contributor

@sthhs sthhs commented Aug 29, 2025

This PR extends and replaces #3237.
The component requests the actual power, voltage, current, plug state, charge state and energy values from an OpenWB Series 2 with one or two internal charge points in primary mode, which is commonly used. In this case the wallbox can only be monitored from other systems with http requests and can not be controlled.
The purpose is displaying and archiving the most important values in OpenEMS.
The pictures show the corresponding energy meter values in the OpenWB GUI and in OpenEMS at nearly the same moment.
Bildschirmfoto 2025-07-13 um 14 46 57
Bildschirmfoto 2025-07-13 um 14 46 54

These channels can be requested from the internal charge point:
Bildschirmfoto 2025-07-13 um 17 22 14

The evcs modal widget, showing the current charge power:
Bildschirmfoto 2025-08-28 um 20 06 07

And after the charging has finished:
Bildschirmfoto 2025-08-29 um 20 29 21

The charged energy is calculated from the difference of the actual imported energy from the OpenWB and the value at the time when the car is plugged in. The values from the OpenWB monitoring and this component are the same:
Bildschirmfoto 2025-08-29 um 20 29 13

Copy link

codecov bot commented Aug 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

❗ There is a different number of reports uploaded between BASE (30b5e78) and HEAD (c9b0882). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (30b5e78) HEAD (c9b0882)
java 1 0
Additional details and impacted files
@@              Coverage Diff               @@
##             develop    #3299       +/-   ##
==============================================
- Coverage      59.83%   30.61%   -29.21%     
==============================================
  Files           2785      282     -2503     
  Lines         120785     7586   -113199     
  Branches        9015     1288     -7727     
==============================================
- Hits           72260     2322    -69938     
+ Misses         45837     5143    -40694     
+ Partials        2688      121     -2567     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

description = "Implements the evcs component for OpenWB Series2 with internal chargepoints via HTTP API")
@interface Config {

enum ChargePoint{
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add this to an "enum" Package as in other Implementations? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@Sn0w3y Sn0w3y left a comment

Choose a reason for hiding this comment

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

See my comment :)

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