Skip to content

Conversation

@Sn0w3y
Copy link
Contributor

@Sn0w3y Sn0w3y commented Dec 1, 2025

This update significantly refactors the OpenWB EVCS integration for improved reliability and maintainability. Changes include the removal of the ReadWorker class in favor of using the BridgeHttpFactory and HttpBridgeCycleServiceDefinition for handling HTTP requests to the OpenWB API. This approach simplifies the codebase by leveraging existing infrastructure for HTTP communications, thereby reducing custom network handling code. Additionally, SSL certificate validation for OpenWB's self-signed certificates is now globally disabled within this component to prevent connection issues. The update also introduces more granular handling of OpenWB's API responses for statuses, power, energy, and other metrics, improving the accuracy and responsiveness of the EVCS component. This refactor ensures better alignment with OpenEMS architecture and prepares the ground for future enhancements.

This update significantly refactors the OpenWB EVCS integration for improved reliability and maintainability. Changes include the removal of the ReadWorker class in favor of using the BridgeHttpFactory and HttpBridgeCycleServiceDefinition for handling HTTP requests to the OpenWB API. This approach simplifies the codebase by leveraging existing infrastructure for HTTP communications, thereby reducing custom network handling code. Additionally, SSL certificate validation for OpenWB's self-signed certificates is now globally disabled within this component to prevent connection issues. The update also introduces more granular handling of OpenWB's API responses for statuses, power, energy, and other metrics, improving the accuracy and responsiveness of the EVCS component. This refactor ensures better alignment with OpenEMS architecture and prepares the ground for future enhancements.
@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 19.16168% with 135 lines in your changes missing coverage. Please review.

❌ Your patch check has failed because the patch coverage (19.17%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@              Coverage Diff               @@
##             develop    #3455       +/-   ##
==============================================
+ Coverage      29.13%   59.51%   +30.38%     
- Complexity         0      112      +112     
==============================================
  Files            291     2900     +2609     
  Lines           8116   124994   +116878     
  Branches        1386     9354     +7968     
==============================================
+ Hits            2364    74379    +72015     
- Misses          5629    47796    +42167     
- Partials         123     2819     +2696     
🚀 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.

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.

1 participant