-
-
Notifications
You must be signed in to change notification settings - Fork 14
Add inverter base class and related interfaces #170
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
base: develop
Are you sure you want to change the base?
Conversation
…onius inverter interfaces with unit tests - Created `inverter_factory.py` to manage inverter instantiation based on configuration. - Introduced `NullInverter` class for display-only mode and EVCC integration, implementing no-op methods. - Developed `VictronInverter` class as a stub for future Modbus/TCP integration. - Added `FroniusLegacy` and `FroniusV2` classes with comprehensive unit tests covering initialization, capabilities, and API interactions. - Implemented unit tests for `NullInverter`, `VictronInverter`, and `Fronius` inverters to ensure compliance with expected behaviors. - Established test fixtures for consistent configuration across tests.
|
@Awienert needed a longer journey ... ;-) - was a lot broken ... But I followed your approach, but restructered a little... So please finalize your specific integrations for victron src/interfaces/inverters/victron.py And if done and tested we can go to develop branch. |
|
@ohAnd Sorry for the broken parts — my environment was working 🙂 |
…) for MQTT updates and add comprehensive tests for AC charge demand conversion - fixes evopt lädt zu wenig/langsam Fixes ohAnd#167
Files changed: M src/version.py
…urrent_ac_charge_demand()
…e power simulation
Files changed: M src/version.py
…on - fixes Max grid charge rate wrong calculation Fixes ohAnd#171
Files changed: M src/version.py
…rt/EOS_connect into feature/inverterbaseclass
Draft – Proposal for New Inverter Architecture
This PR is a draft and a proposal introducing a new inverter architecture.
What's new
BaseInverter: shared abstract base class providing a unified interface and reducing duplicate logic.
InverterFactory: creates inverter instances based on config, making it easier to add new inverter types.
Why
cleaner structure
easier extensibility
consistent API for all inverters