Repository navigation
Anker rework of different modules - #3806
Merged
Merged
Conversation
Incremented DATASTORE_VERSION and added upgrade method for version 138.
Refactor upgrade function to handle new device types and modbus IDs.
ndrsnhs
approved these changes
Aug 18, 2026
ndrsnhs
pushed a commit
to ndrsnhs/core
that referenced
this pull request
Aug 24, 2026
* Rename to solarbank_max_ac * Rename to solarbank_max_ac * Rename to solarbank_max_ac * Rename to solarbank_max_ac * Rename to solarbank_max_ac * Add files via upload * Delete packages/modules/devices/anker/anker_solix/__init__.py * Implement AnkerBat class for battery management * Add Anker configuration and setup classes * Add files via upload * Add device.py for Anker solar bank 4 E5000 * Implement AnkerInverter class for inverter control * Add Anker Smart Meter Gen 2 device implementation * Add files via upload * Add Anker Smart Meter Gen 2 configuration classes * Add AnkerMeterCounter class for smart meter handling * Update datastore version to 138 and add upgrade method Incremented DATASTORE_VERSION and added upgrade method for version 138. * Add modbus_id parameter to AnkerConfiguration * Update bat.py * Refactor AnkerCounter to use device_config * Refactor inverter.py to use device_config instead of device_id * Update device component creation to use device_config * Add modbus_id parameter to AnkerConfiguration * Refactor AnkerBat to use device_config for Modbus ID * Refactor AnkerInverter to use device_config * Update device creation to use device_config directly * Add modbus_id parameter to AnkerMeterConfiguration * Refactor AnkerMeterCounter to use device_config * Update create_counter_component to use device_config * Update upgrade function for device type handling Refactor upgrade function to handle new device types and modbus IDs. * flake8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI: openWB/openwb-ui-settings#1046
Eigene Module für:
Bei der Solarbank Max AC ist auch ein auslesen des Zählers über die Solarbank möglich, bei der Solarbank 4 E4000 nicht, dort muss der Zähler getrennt ausgelesen werden.
Register basierend auf: https://github.com/anker-charging/ha-anker-solix-official