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]: unable to reload Huawei Solar integration #968

Closed
5 tasks done
XalaTheShepard opened this issue Mar 12, 2025 · 1 comment
Closed
5 tasks done

[Bug]: unable to reload Huawei Solar integration #968

XalaTheShepard opened this issue Mar 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@XalaTheShepard
Copy link

Describe the issue

After a reboot, the Huawei Solar integration can no longer be loaded. Logs added.

Kind regards,

Robin

Describe your Huawei Solar Setup

Inverter Type: SUN2000
Inverter Firmware version: V100R001C00SPC162
sDongle present: No
Power meter present: three phase
Optimizers Present: Yes
Battery: LUNA2000-S1 xxkWh (Released 2024)
Battery Firmware version:
Huawei Solar integration version: 1.5.4

How do you connect to the inverter?

Via the SUN2000-<serial_no> WiFi

Upload your Diagnostics File

Not loaded

Upload your relevant debug logs

Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py:146
First occurred: March 11, 2025 at 9:14:07 PM (4085 occurrences)
Last logged: 5:34:08 PM

Timeout while waiting for connection. Reconnecting
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/locks.py", line 213, in wait
    await fut
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
    await asyncio.wait_for(
    ...<2 lines>...
    )
  File "/usr/local/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
    async with timeouts.timeout(timeout):
               ~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/timeouts.py", line 116, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

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)
@XalaTheShepard XalaTheShepard added the bug Something isn't working label Mar 12, 2025
@XalaTheShepard
Copy link
Author

IP address changed overnight

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

1 participant