Recent Releases of huawei_solar
huawei_solar - 1.5.7 beta 1
The only difference between this beta and the 1.5.7 release is that this beta has been marked to support HA2025.09.b0 .
[!WARNING] This release is INCOMPATIBLE with HA 2025.08 and earlier This release is REQUIRED for HA 2025.09 and later
This integration communicates with the Huawei inverters using the Modbus protocol. To achieve this, we use the popular pyModbus library. Sadly, the maintainer of this library frequently releases new versions which are slightly incompatible with each other, leading to stuff breaking all over the place for Home Assistant. As a stop-gap solution, Home Assistant is now pinning its monthly releases to a specific pyModbus version. As long as this integration keeps using pyModbus, this integration will need to tightly follow the pinned versions by Home Assistant. Every time Home Assistant changes the pinned pyModbus-version, you will need to upgrade this integration at exactly the moment you do your monthly HA upgrade.
I'm working on an alternative solution, but don't expect it to be ready for prime-time until the end of the year.
- Python
Published by wlcrs 6 months ago
huawei_solar - 1.5.7
[!WARNING] This release is INCOMPATIBLE with HA 2025.08 and earlier This release is REQUIRED for HA 2025.09 and later
This integration communicates with the Huawei inverters using the Modbus protocol. To achieve this, we use the popular pyModbus library. Sadly, the maintainer of this library frequently releases new versions which are slightly incompatible with each other, leading to stuff breaking all over the place for Home Assistant. As a stop-gap solution, Home Assistant is now pinning its monthly releases to a specific pyModbus version. As long as this integration keeps using pyModbus, this integration will need to tightly follow the pinned versions by Home Assistant. Every time Home Assistant changes the pinned pyModbus-version, you will need to upgrade this integration at exactly the moment you do your monthly HA upgrade.
I'm working on an alternative solution, but don't expect it to be ready for prime-time until the end of the year.
- Python
Published by wlcrs 6 months ago
huawei_solar - 1.5.6
This is an emergency release because of compatibility issues with the native HA modbus integration in HA2025.08.2 which prevent this integration from loading.
Some background: both this integration and the native modbus integration use the same underlying Python library called "pyModbus". The maintainer of said library frequently makes small changes to the API, leading to subtly incompatible versions being released every few months. This release relaxes the version requirements of the pyModbus library so that it can be combined with a fixed version requirement set by the native modbus integration in 2025.08.2 .
Please be aware that breakage is already guaranteed when HA2025.9 will be released, as the pyModbus library maintainer has changed a parameter name affecting almost every function call without any backward compatibility. I will release a new version around the release day of HA2025.9
Keeping up with the frequent pyModbus API changes is a very tiring game of playing cat and mouse where little is gained. Sadly, there is currently no other Python library which is powerful enough to implement all the Huawei-specific calls. I'm considering creating my own Modbus library instead, but this will take time to get to a sufficiently stable and mature state. Hopefully something that will be ready for general usage by the end of the year.
- Python
Published by wlcrs 6 months ago
huawei_solar - 1.5.5
This release is mainly relevant for installations containing an EMMA device. There are no notable changes for other users.
Improvements 🚀
- Add EMMA power meter sensors (https://github.com/wlcrs/huawei_solar/pull/1023)
- Adds bulgarian translation by @veliodanev (https://github.com/wlcrs/huawei_solar/pull/1026)
Bug fixes 🐞
- Fix stateclass for RATEDESSCAPACITY by @stefanvogel in https://github.com/wlcrs/huaweisolar/pull/1003
- Create new entities for installations that don't support capacity control by @wlcrs in https://github.com/wlcrs/huawei_solar/pull/1024
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.5.4...1.5.5
- Python
Published by wlcrs 8 months ago
huawei_solar - 1.5.4
Fixes 🐛
- Force pyModbus version to "<3.8.5", as it contains a regression that breaks all communication with devices with slave-id 0 (cfr. #940)
Thank you! 💖
A big thank you to all my sponsors! Your support helps to keep this integration in great shape.
- Python
Published by wlcrs about 1 year ago
huawei_solar - 1.5.3
Improvements 🚀
This release adds:
- support for Huawei EMMA devices (unstable)
- auto-discovery of devices during initial setup, making it unnecessary to lookup the Modbus Slave ID's of each device.
- Sensors for temperatures of individual battery packs (by @TomHarm in #830)
- MPPT scan interval is now configurable (by @TomHarm in #830)
Fixes 🐛
- Fix serial connection (was broken in v1.5.0 and v1.5.1, cfr: #901)
- Update of some
device_classandentity_classvalues to remove warnings in logs (by @peetersch in #817) - fix unit of reactive power (by @mpw96 in https://github.com/wlcrs/huawei_solar/pull/804)
- Fix writing TOU registers (cfr. https://github.com/wlcrs/huawei_solar/issues/877 )
- Fix support for Huawei-inverters that were rebadged by EDF (cfr. #902) and other brands (was broken in v1.5.2, cfr. #906)
Dependency upgrades 📦
This integration relies on the Python library 'pyModbus' to communicate with your Huawei Solar installation via the Modbus protocol. Other integrations, like the native modbus-integration of Home Assistant do the same. Recently, the pyModbus project released a series of releases containing breaking changes. When this integration is used in conjunction with other integrations which rely on an incompatible version, this breaks your installation as only one version of pyModbus can be installed at any one time. This led to issues in HA2025.1 (cfr. issue #873).
This release upgrades the pyModbus version used to v3.8.3, which is in line with the version used by the native modbus-integration of HA 2025.2, restoring compatibility.
[!NOTE] If you use other (custom) integrations which rely on incompatible pyModbus versions, then these compatibility problems will persist until the other integration also upgrades their pyModbus dependency. Please contact the author of that integration if that is the case.
Looking for translators 🔡
The new EMMA-sensors need translating!
Are you willing to help translate this integration? We now use Crowdin to make it easy to contribute translations.
Use this invitation link to get started!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.1...1.5.3
- Python
Published by wlcrs about 1 year ago
huawei_solar - 1.5.0 beta 2
Improvements 🚀
This release adds:
- support for Huawei EMMA devices (unstable)
- auto-discovery of devices during initial setup, making it unnecessary to lookup the Modbus Slave ID's of each device.
Fixes 🐛
- Update of some
device_classandentity_classvalues to remove warnings in logs (by @peetersch in https://github.com/wlcrs/huawei_solar/pull/758) - fix unit of reactive power (by @mpw96 in https://github.com/wlcrs/huawei_solar/pull/804)
- Fix writing TOU registers (cfr. https://github.com/wlcrs/huawei_solar/issues/877 )
Dependency upgrades 📦
This integration aims to use a compatible pyModbus version which allows it to be used together with the native modbus-integration of Home Assistant. As of HA 2025.1, Home Assistant was upgraded to use pyModbus v3.7.2 instead of v3.6.9, which had breaking changes. This is causing issues for users which use this integration alongside that native modbus-integration: https://github.com/wlcrs/huawei_solar/issues/873.
As the pyModbus project has already released v3.8.2, which once again has breaking changes, this integration was upgraded to use that latest version. At the time of writing these release notes, a PR already exists against HA core to upgrade pyModbus there from v3.7.2 to v3.8.2, bringing everything back into sync.
Note: if you use other (custom) integrations which rely on incompatible pyModbus versions, then you can expect compatibility problems. Please contact the author of that integration and ask him to upgrade the pyModbus version used.
Looking for translators 🔡
The new EMMA-sensors need translating!
Are you willing to help translate this integration? We now use Crowdin to make it easy to contribute translations.
Use this invitation link to get started!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.1...1.5.0b1
- Python
Published by wlcrs about 1 year ago
huawei_solar - 1.5.0 beta 1
Improvements 🚀
This release adds:
- support for Huawei EMMA devices (unstable)
- auto-discovery of devices during initial setup, making it unnecessary to lookup the Modbus Slave ID's of each device.
Fixes 🐛
- Update of some
device_classandentity_classvalues to remove warnings in logs (by @peetersch in https://github.com/wlcrs/huawei_solar/pull/758) - fix unit of reactive power (by @mpw96 in https://github.com/wlcrs/huawei_solar/pull/804)
Dependency upgrades 📦
This integration aims to use a compatible pyModbus version which allows it to be used together with the native modbus-integration of Home Assistant. As of HA 2025.1, Home Assistant was upgraded to use pyModbus v3.7.2 instead of v3.6.9, which had breaking changes. This is causing issues for users which use this integration alongside that native modbus-integration: https://github.com/wlcrs/huawei_solar/issues/873.
As the pyModbus project has already released v3.8.2, which once again has breaking changes, this integration was upgraded to use that latest version. At the time of writing these release notes, a PR already exists against HA core to upgrade pyModbus there from v3.7.2 to v3.8.2, bringing everything back into sync.
Note: if you use other (custom) integrations which rely on incompatible pyModbus versions, then you can expect compatibility problems. Please contact the author of that integration and ask him to upgrade the pyModbus version used.
Looking for translators 🔡
The new EMMA-sensors need translating!
Are you willing to help translate this integration? We now use Crowdin to make it easy to contribute translations.
Use this invitation link to get started!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.1...1.5.0b1
- Python
Published by wlcrs about 1 year ago
huawei_solar - 1.5.0 alpha 1
⚠️ Alpha release: expect that things can be broken ⚠️
Please report any unexpected behavior via an Issue. I'm particularly expecting issues regarding to changing inverter and battery configuration parameters when connected via an EMMA device. Please check if you are using the latest EMMA firmware version, and properly document how you connect to the EMMA in your issue.
Improvements 🚀
This release adds:
- support for Huawei EMMA devices
- auto-discovery of devices during initial setup, making it unnecessary to lookup the Modbus Slave ID's of each device.
Fixes 🐛
- Update of some
device_classandentity_classvalues to remove warnings in logs (by @peetersch in https://github.com/wlcrs/huawei_solar/pull/758) - fix unit of reactive power (by @mpw96 in https://github.com/wlcrs/huawei_solar/pull/804)
Looking for translators 🔡
The new EMMA-sensors need translating!
Are you willing to help translate this integration? We now use Crowdin to make it easy to contribute translations.
Use this invitation link to get started!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.1...1.5.0a1
- Python
Published by wlcrs over 1 year ago
huawei_solar - 1.4.1
Improvements 🚀
- Add Active power control sensor: allows you to see current Active power control setting.
Fixes 🐛
- Change unit of insulation resistance to MOhm by @olebowle in https://github.com/wlcrs/huawei_solar/pull/734
- Fix broken active power control services #736
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.0...1.4.1
- Python
Published by wlcrs over 1 year ago
huawei_solar - 1.4.0
This release is a large overhaul to further improve the efficiency of the integration, made possible by improvements in Home Assistant.
Most notably, the integration can now dynamically compute which registers must be queried from the inverter, depending if they are enabled or disabled in HA.
This has also made it possible to add more entities to the integration. While they have all been disabled by default for performance reasons/because they provide (almost) duplicate information, they might be of interest to some users.
Furthermore, the update cycle of inverter, power meter and battery entities have now been separated into three separate parts. This allows you to raise the update interval for only one of those three parts instead of all entities. This will be particularly useful for people wanting to update power meter values at high speed.
⚠️ If you have changed the polling frequency in the past, you will need to duplicate this into three separate automations now ⚠️
This release has been tested by 200 users for an extended time as an alpha-version. Thank you for testing! 🎉
Improvements 🚀
- Add inverter active power derating entities (#683)
- Add forcible charge status sensor (#731)
- Add reconfigure flow (#689)
- Add insulation resistance sensor (#727)
Fixes 🐛
- Fix detection logic for power meters (#671)
- Fix deviceclass and stateclass of battery (dis)charge entities (#684)
Thank you! 💖
A big thank you to all my sponsors! Your support helps to keep this integration in great shape.
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.3.4b1...1.4.0
- Python
Published by wlcrs over 1 year ago
huawei_solar - 1.4.0 alpha 3
⚠️ Alpha release: expect that things can be broken ⚠️
This release is a large overhaul to further improve the efficiency of the integration, made possible by improvements in Home Assistant.
Most notably, the integration can now dynamically compute which registers must be queried from the inverter, depending if they are enabled or disabled in HA.
This has also made it possible to add more entities to the integration. While they have all been disabled by default for performance reasons/because they provide (almost) duplicate information, they might be of interest to some users.
Furthermore, the update cycle of inverter, power meter and battery entities have now been separated into three separate parts. This allows you to raise the update interval for only one of those three parts instead of all entities. This will be particularly useful for people wanting to update power meter values at high speed.
⚠️ If you have changed the polling frequency in the past, you will need to duplicate this into three separate automations now ⚠️
Improvements
- Add inverter active power derating entities (#683)
Fixes 🐛
- Fix detection logic for power meters (#671)
- Fix deviceclass and stateclass of battery (dis)charge entities (#684)
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.0a2...1.4.0a3
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.4.0 alpha 2
⚠️ Alpha release: expect that things can be broken ⚠️
This release is a large overhaul to further improve the efficiency of the integration, made possible by improvements in Home Assistant.
Most notably, the integration can now dynamically compute which registers must be queried from the inverter, depending if they are enabled or disabled in HA.
This has also made it possible to add more entities to the integration. While they have all been disabled by default for performance reasons/because they provide (almost) duplicate information, they might be of interest to some users.
Furthermore, the update cycle of inverter, power meter and battery entities have now been separated into three separate parts. This allows you to raise the update interval for only one of those three parts instead of all entities. This will be particularly useful for people wanting to update power meter values at high speed.
⚠️ If you have changed the polling frequency in the past, you will need to duplicate this into three separate automations now ⚠️
Fixes 🐛
- Fix detection logic for power meters (#671)
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.4.0 alpha 1
⚠️ Alpha release: expect that things can be broken ⚠️
This release is a large overhaul to further improve the efficiency of the integration, made possible by improvements in Home Assistant.
Most notably, the integration can now dynamically compute which registers must be queried from the inverter, depending if they are enabled or disabled in HA.
This has also made it possible to add more entities to the integration. While they have all been disabled by default for performance reasons/because they provide (almost) duplicate information, they might be of interest to some users.
Furthermore, the update cycle of inverter, power meter and battery entities have now been separated into three separate parts. This allows you to raise the update interval for only one of those three parts instead of all entities. This will be particularly useful for people wanting to update power meter values at high speed.
⚠️ If you have changed the polling frequency in the past, you will need to duplicate this into three separate automations now ⚠️
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.3.4 beta 1
Bug fixes 🐛
- Update to pyModbus 3.6.6 to stay compatible with other integrations using pyModbus (#657, #658)
- Prevent login race condition (#654)
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.3.3
Bug fixes 🐛
- Fix Urdu translation (Fixes #636)
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.3.2
Bug fixes 🐛
- Fix On/Off switch naming (#621)
- Migrate power and energy constants due to HA deprecation warning (#577)
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.3.1...1.3.2
- Python
Published by wlcrs almost 2 years ago
huawei_solar - 1.3.1
Improvements 🚀
- Urdu translation by @yousaf465 in https://github.com/wlcrs/huawei_solar/pull/567
Bug fixes 🐛
- Fixed translation of maximum charging / discharging power fields (#568)
- Bumped minimum version of HA (#565)
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.3.0...1.3.1
- Python
Published by wlcrs about 2 years ago
huawei_solar - 1.3.0 beta 1
Fixes 🐛
- Remove broken suffix logic (due to incompatibility with translations) (Fixes #558)
- Python
Published by wlcrs about 2 years ago
huawei_solar - 1.2.9
Improvements 🚀
- Entity and service translations: this integration is now fully translated into Catalan, Dutch, English, German. Italian, Polish and Spanish.
- Increased timeouts to allow the self-healing mechanism for interrupted or hanging Modbus-connections to work better.
Thank you ❤
A huge thank you to all of my sponsors! Your support helps to keep this integration in great shape.
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.8...1.2.9
- Python
Published by wlcrs about 2 years ago
huawei_solar - 1.2.8
Improvements 🚀
- Add alarm sensor to optimizers #504
Bug Fixes 🐛
- More battery Charging Periods-entities out of the Config category (disallowed starting from HA 2023.11)
- Fix unloading of services #482
- Fix Spanish & Catalan translations by @vpont in https://github.com/wlcrs/huawei_solar/pull/486
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.7...1.2.8
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.7
Bug fixes 🐛
- Services now also work when the integration is added multiple times to HA #429
- Upgrade to pyModbus 3.5 to fix regressions introduced in pyModbus 3.4 (#426, #422)
Improvements 🚀
- Add Dutch translation by @xtala in https://github.com/wlcrs/huawei_solar/pull/424
- add polish translation by @mkornat in https://github.com/wlcrs/huawei_solar/pull/441
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6...1.2.7
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.7 beta 2
Bug fixes 🐛
- Upgrade to pyModbus 3.5 to fix regressions introduced in pyModbus 3.4 (#426, #422)
Improvements 🚀
- add polish translation by @mkornat in https://github.com/wlcrs/huawei_solar/pull/441
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.7b1...1.2.7b2
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.7 beta 1
Fixes 🐛
- Services now also work when the integration is added multiple times to HA #429
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6...1.2.7b1
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.6
This release upgrades the underlying pymodbus library to stay in sync with HA core.
Improvements 🚀
- Add Backup power SOC entity (https://github.com/wlcrs/huawei_solar/issues/401)
- Add delay before first request after reconnect (https://github.com/wlcrs/huawei_solar/issues/248)
- Retry when receiving a SlaveFailure Modbus exception
Fixes 🐛
- Update pymodbus to 3.2.2 to stay in sync with version used in HA core (Fixes https://github.com/wlcrs/huaweisolar/issues/409, https://github.com/wlcrs/huaweisolar/issues/408 )
- Be more aggressive to reconnect on errors https://github.com/wlcrs/huawei_solar/issues/415
- Allow sensor data to be missing from DataUpdateCoordinator data
- Fix retrieval of static min/max values when multiple slaves are present (https://github.com/wlcrs/huawei_solar/issues/333)
- Spanish and Catalan languages by @Borty97 (https://github.com/wlcrs/huaweisolar/pull/411 , https://github.com/wlcrs/huaweisolar/pull/411 , https://github.com/wlcrs/huawei_solar/pull/410)
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.6 beta 9
Fixes 🐛
- Be more aggressive to reconnect on errors #415
- fix Backup storage SOC sensor
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6b8...1.2.6b9
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.6 beta 8
Fixes 🐛
- Update pymodbus to 3.2.2 to stay in sync with version used in HA core (Fixes #409, #408 )
- Update caES.json by @Borty97 in https://github.com/wlcrs/huaweisolar/pull/411
- Update esES.json by @Borty97 in https://github.com/wlcrs/huaweisolar/pull/410
Improvements 🚀
- Add Backup power SOC entity (#401)
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6b7...1.2.6b8
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.6 beta 7
Fixes 🐛
- Fix broken serial connection in 1.2.6b5 https://github.com/wlcrs/huawei_solar/issues/394
- Fix broken read retry mechanism
Improvements 🚀
- Spanish and Catalan languages by @Borty97 in https://github.com/wlcrs/huawei_solar/pull/371
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6b5...1.2.6b6
- Python
Published by wlcrs over 2 years ago
huawei_solar - 1.2.6 beta 5
Fixes 🐛
- Allow sensor data to be missing from DataUpdateCoordinator data
- Fix retrieval of static min/max values when multiple slaves are present (#333)
Improvements 🚀
- Retry when receiving a SlaveFailure Modbus exception
- Add delay before first request after reconnect (#248)
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.5...1.2.6b5
- Python
Published by wlcrs almost 3 years ago
huawei_solar - 1.2.6 beta 2
Fixes 🐛
- Allow sensor data to be missing from DataUpdateCoordinator data
- Fix retrieval of static min/max values when multiple slaves are present (#333)
Improvements 🚀
- Retry when receiving a SlaveFailure Modbus exception
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.5...1.2.6b2
- Python
Published by wlcrs almost 3 years ago
huawei_solar - 1.2.6 beta 1
Fixes 🐛
- Allow sensor data to be missing from DataUpdateCoordinator data
Improvements 🚀
- Retry when receiving a SlaveFailure Modbus exception
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.5...1.2.6b1
- Python
Published by wlcrs almost 3 years ago
huawei_solar - 1.2.5
This is mainly a bugfix release, just in time for the sunny season starting in the northern hemisphere!
Fixes 🐛
- Fix integration crashing when going into Off-grid mode (thank you @tschiex !)
- Add support for power meter being offline due to being Off-grid (thank you @tschiex !).
- #288 Fix warning about wrong SensorDeviceClass for 'Accumulated Reactive Power' sensor
- Fix alarm sensor being 'Unknown' instead of 'None' when there are no alarms
- #308: add support for registers of which we take the absolute value being empty
- #295: Fix for dynamic minimum/maximum registers being absent
- Add support for battery only being present on a secondary inverter
- Add support for battery only being present as a "second battery" instead of "first battery"
Improvements 🚀
- Add Italian translation by @alexdelli in https://github.com/wlcrs/huawei_solar/pull/300
- Add 'Status' entity to Power meter to indicate whether it is online (=normal) or offline.
Thank you ♥
A big thanks to all my current and past sponsors. Your contributions keep me motivated to maintain this integration to a high standard!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.4...1.2.5
- Python
Published by wlcrs almost 3 years ago
huawei_solar - 1.2.4
Fixes 🐛
- #270 and #286 Fix switch entities having an outdated state after toggling them
- #284 Fix bug which caused configurable entities to crash when capacity control is not available
- #281 Optimizer fields are signed instead of unsigned: show negative temperatures correctly
Improvements 🚀
- Add german translation by @herostrat in https://github.com/wlcrs/huawei_solar/pull/283
Thank you ♥
A big thanks to all my current and past sponsors. Your contributions keep me motivated to maintain this integration to a high standard!
Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.3...1.2.4
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.3
Fixes
- #277 : Changed minimum for discharge cutoff SOC from 12 to 0 %
- Improved handling of interrupted connections to the inverter
- Upgrade pyModbus to v3.1.2
- In v1.2.3: Fixed borked register write-logic in huawei-solar library
Note: due to a version conflict of the pyModbus library, v1.2.0 and above of this integration are incompatible with the built-in modbus integration in HA 2023.1 and lower. Starting from HA 2023.2 this will be resolved. Other custom integrations still using pyModbus 2.x.x can also cause version conflicts. Contact the maintainer of that custom integration in that case.
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.1
Fixes
- Fix #269 missing battery related services when battery is present on secondary slave
- Fix #233 baudrate to 9600 (thanks @iH8c0ff33 for helping me diagnose the problem!)
Thank you
A big thanks to all my current and past sponsors. Your contributions keep me motivated to maintain this integration to a high standard! ❤️
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.0
New features ✨
- Inverter ON/OFF switch
- Capacity control mode
- End-of-charge SOC and End-of-discharge SOC configuration entities
- Time of use periods and fixed charging/discharging periods can be retrieved through extended attributes of 'Time of use periods' and 'Fixed charging periods' sensor
- Time of use periods are now editable through
huawei_solar.set_tou_periodsservice - Fixed charging periods are now editable through
huawei_solar.set_charging_periodsservice - Capacity control periods are editable through
huawei_solar.set_capacity_control_periods
Improvements
- Batched retrieval of configuration entity values
- Improved and dynamic correctness of minimum value/maximum value/availability of certain configuration entities (for example: capacity control can only be enabled if charging from grid is also enabled, capacity control SOC must be larger than maximum discharge SOC of the battery)
- Support for V103 Optimizer Data Files (fixes reading optimizer data in recent firmware versions)
- Improve diagnostics
- Upgrade from pyModbus 2.5.3 to pyModbus 3.1.0
Fixes
- Fix behavior when no config entities are available
- #198 Correctly process ValueError
- #199: Retry Modbus write commands on timeout or slave failure
- Fix computation of dynamic min/max value for number entities
- Fix bug preventing optimizers from loading
- #260: Increase timeout to 10 seconds
- #245: Fix 'nativeunitof_measurement' warnings
Screenshots

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.1.6...1.2.0
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.0 beta 7
New features ✨
- Inverter ON/OFF switch
- Capacity control mode
- End-of-charge SOC and End-of-discharge SOC configuration entities
- Time of use periods and fixed charging/discharging periods can be retrieved through extended attributes of 'Time of use periods' and 'Fixed charging periods' sensor
- Time of use periods are now editable through
huawei_solar.set_tou_periodsservice - Fixed charging periods are now editable through
huawei_solar.set_charging_periodsservice - Capacity control periods are editable through
huawei_solar.set_capacity_control_periods
Improvements
- Batched retrieval of configuration entity values
- Improved and dynamic correctness of minimum value/maximum value/availability of certain configuration entities (for example: capacity control can only be enabled if charging from grid is also enabled, capacity control SOC must be larger than maximum discharge SOC of the battery)
- Support for V103 Optimizer Data Files (fixes reading optimizer data in recent firmware versions)
- Improve diagnostics
Fixes
- Since 1.2.0 beta 3: Fix behavior when no config entities are available
- Since 1.2.0 beta 5: #198 Correctly process ValueError
- Since 1.2.0 beta 5: #199: Retry Modbus write commands on timeout or slave failure
- Since 1.2.0 beta 5: Fix computation of dynamic min/max value for number entities
- Since 1.2.0 beta 7: Fix bug preventing optimizers from loading
Screenshots

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.0b1...1.2.0b5
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.0 beta 3
New features ✨
- Inverter ON/OFF switch
- Capacity control mode
- End-of-charge SOC and End-of-discharge SOC configuration entities
- Time of use periods and fixed charging/discharging periods can be retrieved through extended attributes of 'Time of use periods' and 'Fixed charging periods' sensor
- Time of use periods are now editable through
huawei_solar.set_tou_periodsservice - Fixed charging periods are now editable through
huawei_solar.set_charging_periodsservice - Capacity control periods are editable through
huawei_solar.set_capacity_control_periods
Improvements
- Batched retrieval of configuration entity values
- Improved and dynamic correctness of minimum value/maximum value/availability of certain configuration entities (for example: capacity control can only be enabled if charging from grid is also enabled, capacity control SOC must be larger than maximum discharge SOC of the battery)
- Support for V103 Optimizer Data Files (fixes reading optimizer data in recent firmware versions)
- Improve diagnostics
Fixes
- Since 1.2.0 beta 3: Fix behavior when no config entities are available
Screenshots

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.0b1...1.2.0b3
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.2.0 beta 1
New ✨
This release upgrades the huawei-solar library from 2.1.6 to 2.2.0b2. The main difference between these library versions is that underlying pyModbus library has been upgraded from 2.5.3 to 3.0.2. This has allowed some cleanup in huawei-solar, and should hopefully fix some bugs present in pyModbus.
Thank you
A big thanks to all my current and past sponsors. Your contributions keep me motivated to maintain this integration to a high standard! ❤️
- Python
Published by wlcrs about 3 years ago
huawei_solar - 1.1.6
Bugfixes
- #167 Fix regression for inverters that don't support optimizers
- Fix missing unique_id for working mode select entity
New Features
- #67 Add "Excess PV energy use in TOU" select entity
Thank you!
A big thanks to all my current and past sponsors. Your contributions keep me motivated to maintain this integration to a high standard! ❤️
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.4
New Features
Add "Download diagnostics" feature

https://github.com/wlcrs/huawei_solar/issues/20: Add support for active power control

https://github.com/wlcrs/huawei_solar/issues/76: Add extra Diagnostic entities to the Inverter entity

Bugfixes
- https://github.com/wlcrs/huawei_solar/issues/130: Always enable 'advanced permissions' when connecting over serial
- https://github.com/wlcrs/huawei_solar/issues/165: Handle Timeout as a retry-able error during integration setup
- https://github.com/wlcrs/huawei_solar/issues/163: Upgrade backoff dependency
- https://github.com/wlcrs/huawei_solar/issues/162 : try to fix erroneous readings by checking number of received registers
Other
- Automatically retry operation when an "Abnormal Slave Response" ModBus error message is received
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.4 beta 3
Bugfixes
165: Handle Timeout as a retry-able error during integration setup
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.4 beta 2
Bugfixes
163: Upgrade backoff dependency
162 : try to fix erroneous readings by checking number of received registers
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.3 beta 2
Bugfixes
- #130: Always enable 'advanced permissions' when connecting over serial
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.3 beta 1
New features
- #20: Add support for active power control
Bug fixes
- #107 : Fix Reactive Power Device Class
- #115: Remove confusing Forcible charge/discharge power number entities
Other
- Automatically retry operation when an "Abnormal Slave Response" ModBus error message is received
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.2
Bugfixes:
- #98 Error when reading optimizer data
- #93 Improve handling of reading data via Smartlogger 3000A
- #84 Fix handling of registers with 'invalid' value
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.1
Bugfixes:
huawei_solar.exceptions.ReadException: Failed to read register 43006 after 5 trieswhen using serial connection- #96 : don't read optimizer data when optimizer is reported offline
Updates: - #86 : Migrate to new way of naming entities in HA
⚠ Due to the changed policy of Home Assistant towards naming entities, the entity_id's of the entities from this integration will also change if you remove and add the integration again. Existing installations are not affected.
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.0
New recommended connection option: direct serial RS485
This release features adds support for direct serial connection via the RS485A1 and RS485B1 pins of the COM-port of the SUN2000-inverter. This is the new preferred method of connecting to the inverter, as it is not susceptible to network connectivity issues, and has elevated permissions by default (necessary for retrieving optimizer data and setting battery configuration parameters).
New feature: reading optimizer data
This data is refreshed every 5 minutes, as the inverter does not offer more granular updates.
Exposed entities: - Input Current - Input Voltage - Output Current - Output Voltage - Output Power - Temperature - Accumulated Energy Yield - Voltage to Ground (disabled by default) - Running Status (online/offline/disconnected)

The option "Advanced: elevate permissions" needs to be checked for this to work: the inverter requires elevated permissions to request the optimizer data.
Tip: the easiest way to find the Optimizer "devices" in Home Assistant is via:
- Go to Settings > "Devices & Services"
- click on "X devices" in the "Huawei Solar" tile

You will now see a list of all devices associated with this integration, including one per optimizer:

Clicking on a specific optimizer will show you the entities associated with that specific optimizer. You can now rename them to something more clear for your setup.

- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.1.0b5
This is a beta release. Please report any issues on the issue tracker.
New feature: reading optimizer data
This data is refreshed every 5 minutes, as the inverter does not offer more granular updates.
Exposed entities: - Input Current - Input Voltage - Output Current - Output Voltage - Output Power - Temperature - Accumulated Energy Yield - Voltage to Ground (disabled by default) - Running Status (online/offline/disconnected)

The option "Advanced: elevate permissions" needs to be checked for this to work: the inverter requires elevated permissions to request the optimizer data.
Tip: the easiest way to find the Optimizer "devices" in Home Assistant is via:
- Go to Settings > "Devices & Services"
- click on "X devices" in the "Huawei Solar" tile

You will now see a list of all devices associated with this integration, including one per optimizer:

Clicking on a specific optimizer will show you the entities associated with that specific optimizer. You can now rename them to something more clear for your setup.

- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.0.2
Bump huawei-solar library to v2.0.2, which fixes the re-login flow after an interruption of the initial session.
- Python
Published by wlcrs over 3 years ago
huawei_solar - 1.0.1
Update to huawei-solar 2.0.1:
- Add resilience against permission loss due to connectivity issues
- Recognize invalid register values and return
Noneinstead
- Python
Published by wlcrs almost 4 years ago
huawei_solar - v1.0.0
This release uses the new 'HuaweiSolarBridge' which moves a lot of the complexity into the huawei-solar library.
It also contains support for changing settings, all of which are related to use of battery storage.
- Python
Published by wlcrs almost 4 years ago
huawei_solar - v1.0.0 alpha 4
- Add battery running status (#34)
- Fix battery detection logic (#35)
- Python
Published by wlcrs almost 4 years ago
huawei_solar - v0.5.1
This release contains initial support for bundled modbus-requests: adjacent modbus registers are queried together with one request, instead of being queried one by one.
- Python
Published by wlcrs about 4 years ago
huawei_solar - v1.0.0 alpha 3
This release uses the new 'HuaweiSolarBridge' which moves a lot of the complexity into the huawei-solar library.
It also contains support for changing settings, all of which are related to use of battery storage.

Fixes in 1.0.0 alpha 3:
- Remove dysfunctional second Grid Active Power-entity from single power meter entities
- Improve handling of Slave Busy exception
- prevent multiple slaves running
updateat the same time - Increase cooldown-time between requests from 0.01 to 0.05 seconds.
- Python
Published by wlcrs about 4 years ago