Skip to content

Conversation

@Sn0w3y
Copy link
Contributor

@Sn0w3y Sn0w3y commented Oct 29, 2025

No description provided.

This update introduces support for Socomec Countis E47 and E48 meters across the Socomec meter module. Changes include:

1. Updated the readme.adoc to include the new meter models, highlighting their Modbus TCP capabilities and current transformer compatibility.
2. Extended the AbstractSocomecMeter class to include a new method `identifiedCountisE47_E48` for handling the specific Modbus protocol of the E47 and E48 models.
3. Implemented the `identifiedCountisE47_E48` method in the MeterSocomecThreephaseImpl class to support the unique register map of these meters, including voltage, current, power, and energy measurements. This implementation accounts for both direct and inverted power measurements.
4. Added necessary modifications to the MeterSocomecSinglephaseImpl class to ensure it correctly identifies that it does not support these three-phase meter models.
5. Updated the MeterSocomecThreephaseImplTest to include tests for the new meter types, ensuring correct functionality and data interpretation.

This enhancement allows for more comprehensive energy monitoring and management within the OpenEMS framework by supporting a wider range of Socomec meters.
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

❌ Patch coverage is 80.00000% with 8 lines in your changes missing coverage. Please review.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3388      +/-   ##
=============================================
+ Coverage      59.75%   59.79%   +0.05%     
  Complexity       112      112              
=============================================
  Files           2870     2870              
  Lines         124042   124082      +40     
  Branches        9298     9301       +3     
=============================================
+ Hits           74111    74186      +75     
+ Misses         47150    47104      -46     
- Partials        2781     2792      +11     
🚀 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