Skip to content
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

[Bug]: HA 2025.1.4 Huwei Solar 1.4.1 #895

Closed
3 of 5 tasks
MWagnerOE5AOO opened this issue Jan 25, 2025 · 9 comments
Closed
3 of 5 tasks

[Bug]: HA 2025.1.4 Huwei Solar 1.4.1 #895

MWagnerOE5AOO opened this issue Jan 25, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@MWagnerOE5AOO
Copy link

Describe the issue

Since an update of the huawei solar the configuration of the Huawei Solar 1.4.1 cause in an error.
"Der Konfigurationsfluss konnte nicht geladen werden:(message: Invalid handler specified)
Rollback to an older version not working.
Inverter Sun2000 10KTL with wifi Dongle. No Powermeter, Batterie or Optimzier

Describe your Huawei Solar Setup

Inverter Type: sun2000 10 HKT
Inverter Firmware version:
sDongle present: Yes
sDongle Type: sDongleA-05 WiFi
sDongle Connectivitiy: WiFi
sDongle Firmware:
Power meter present: three phase / single phase / no
Optimizers Present: No
Battery Firmware version:
Huawei Solar integration version: 1.4.1

How do you connect to the inverter?

Via the SDongle, wireless connection

Upload your Diagnostics File

Drag & Drop your Diagnostics File here.

Upload your relevant debug logs

Where i can get this

Please confirm the following:

  • I'm running the latest release of Home Assistant.
  • I'm running the latest release of this integration.
  • I did not find an existing issue describing this problem.
  • I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
  • I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
@MWagnerOE5AOO MWagnerOE5AOO added the bug Something isn't working label Jan 25, 2025
@hexadmin
Copy link

Same problem here. Sun2000 6KTL with wifi Dongle

@denmaus
Copy link

denmaus commented Jan 26, 2025

My setup with SUN2000-8KTL-M1 (Firmware Version V100R001C00SPC168) with SDongle via LAN works fine.

I had connection problems after Update SDongle to Firmware Version V200R022C10SPC200.
After Downgrade to V200R022C10SPC126 no issues with connection.

Maybe you have some firmware issues too?

@cybermailer84
Copy link

cybermailer84 commented Jan 26, 2025

Same problem with 1.4.1 and beta2 version.

For testing I reinstalled the integratration and update to latest 1.5.x.b2 and tried to reinstall. Reinstall integrated does not find and install Huawei integration.

Noticed: "Users that use the native modbus-integration alongside this integration should not upgrade to Home Assistant 2025.1, as it contains an upgrade to an incompatible version 3.7.4 of the pyModbus library. Significant work has already been done to upgrade this integration to support v3.8.0 of this library. We expect this to release alongside Home Assistant 2025.2, which is expected to also upgrade to that latest pyModbus version. This will solve the compatibility issue."

Well, that makes sense why my integration brokes. I will wait.

@MWagnerOE5AOO
Copy link
Author

The Firmware was always the same version

@cybermailer84
Copy link

In my case i do not have changed the firmware of any device (EMMA, MAP0). With old Home Assistant 2024.12 no problem. I went back to old version everything is fine. Strange was with installed integration i was able to update to new HA version and some value i have seen, but not all. therefore i deinstalled. But now a new installation with new HA Version is not possible.

@inigoml
Copy link
Contributor

inigoml commented Jan 28, 2025

Same problem here. Broken after 2025.1.4 update.

2025-01-28 12:31:16.909 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'huawei_solar': Unable to import component: No module named 'pymodbus.message' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1035, in async_get_component self._component_future.result() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1015, in async_get_component comp = await self.hass.async_add_import_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ self._get_component, True ^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs) File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/config/custom_components/huawei_solar/__init__.py", line 20, in <module> from huawei_solar import ( ...<4 lines>... ) File "/usr/local/lib/python3.13/site-packages/huawei_solar/__init__.py", line 3, in <module> from .bridge import HuaweiSolarBridge File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 28, in <module> from .huawei_solar import ( ...<5 lines>... ) File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 17, in <module> from pymodbus.message.rtu import MessageRTU ModuleNotFoundError: No module named 'pymodbus.message'

@inigoml
Copy link
Contributor

inigoml commented Jan 28, 2025

Jumping to 1.5 rc3 fixes my problem.

@cybermailer84
Copy link

in my case probably not because of using modbus tcp also for nibe heatpump

@wlcrs wlcrs closed this as completed Jan 31, 2025
@MWagnerOE5AOO
Copy link
Author

After the update to.1.5.1 the configuration Dialog work again. After restart the same Problem gain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants