A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of huawei_solar

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.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 3 months 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 🐛

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 3 months 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 🐛

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 4 months 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 🐛

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 4 months 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 🐛

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 7 months ago

huawei_solar - 1.4.1

Improvements 🚀

  • Add Active power control sensor: allows you to see current Active power control setting.

Fixes 🐛

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.0...1.4.1

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 11 months 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 device_class and state_class 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs 11 months 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 device_class and state_class of battery (dis)charge entities (#684)

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.4.0a2...1.4.0a3

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year 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)

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year 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 ⚠️

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year 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)

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year ago

huawei_solar - 1.3.3

Bug fixes 🐛

  • Fix Urdu translation (Fixes #636)

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 1 year ago

huawei_solar - 1.3.1

Improvements 🚀

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year ago

huawei_solar - 1.3.0 beta 1

Fixes 🐛

  • Remove broken suffix logic (due to incompatibility with translations) (Fixes #558)

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year 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 🚀

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6...1.2.7

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year 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 🚀

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.7b1...1.2.7b2

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 1 year 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 2 years ago

huawei_solar - 1.2.6

This release upgrades the underlying pymodbus library to stay in sync with HA core.

Improvements 🚀

Fixes 🐛

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 2 years ago

huawei_solar - 1.2.6 beta 8

Fixes 🐛

Improvements 🚀

  • Add Backup power SOC entity (#401)

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6b7...1.2.6b8

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 2 years ago

huawei_solar - 1.2.6 beta 7

Fixes 🐛

Improvements 🚀

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.6b5...1.2.6b6

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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 🚀

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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 🚀

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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 2 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! ❤️

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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_periods service
  • Fixed charging periods are now editable through huawei_solar.set_charging_periods service
  • 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 'native_unit_of_measurement' warnings

Screenshots

Inverter ON/OFF switch
Battery configuration
TOU periods as extended attributes

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.1.6...1.2.0

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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_periods service
  • Fixed charging periods are now editable through huawei_solar.set_charging_periods service
  • 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

Inverter ON/OFF switch
Battery configuration
TOU periods as extended attributes

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.0b1...1.2.0b5

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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_periods service
  • Fixed charging periods are now editable through huawei_solar.set_charging_periods service
  • 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

Inverter ON/OFF switch
Battery configuration
TOU periods as extended attributes

Full Changelog: https://github.com/wlcrs/huawei_solar/compare/1.2.0b1...1.2.0b3

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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! ❤️

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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! ❤️

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 years ago

huawei_solar - 1.1.4

New Features

Bugfixes

Other

  • Automatically retry operation when an "Abnormal Slave Response" ModBus error message is received

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 years ago

huawei_solar - 1.1.4 beta 3

Bugfixes

#165: Handle Timeout as a retry-able error during integration setup

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 years ago

huawei_solar - 1.1.3 beta 2

Bugfixes

  • #130: Always enable 'advanced permissions' when connecting over serial

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs over 2 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

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 3 years ago

huawei_solar - 1.1.1

Bugfixes:

  • huawei_solar.exceptions.ReadException: Failed to read register 43006 after 5 tries when 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.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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)

optimizer-ha-screenshot

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
    image

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

image

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.

image

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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)

optimizer-ha-screenshot

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
    image

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

image

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.

image

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 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 None instead

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs almost 3 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.


.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 3 years ago

huawei_solar - v1.0.0 alpha 4

  • Add battery running status (#34)
  • Fix battery detection logic (#35)

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 3 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.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 3 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.

image

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 update at the same time
  • Increase cooldown-time between requests from 0.01 to 0.05 seconds.

Renewable Energy - Photovoltaics and Solar Energy - Python
Published by wlcrs about 3 years ago