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]: Failed to Connect Huawei SUN2000 Inverter to Home Assistant using Modbus TCP #960

Closed
5 tasks
matt7py opened this issue Feb 27, 2025 · 4 comments
Closed
5 tasks
Labels
bug Something isn't working

Comments

@matt7py
Copy link

matt7py commented Feb 27, 2025

Describe the issue

I have a Huawei SUN2000-4.5KTL-L1 inverter connected to a Huawei 10KW battery, a power sensor, and an SDongleA-05.

I have activated unrestricted Modbus TCP mode in the inverter settings.

My network has two IP addresses related to the inverter setup: 192.168.68.113, which I believe is for the inverter, and 192.168.68.133, which I believe is for the SDongleA-05 connected by cable to my router.

My Home Assistant server is on the same network with IP 192.168.68.121.

I am trying to connect the inverter to Home Assistant using Modbus TCP on port 502 or 6607, but the connection fails with an error message.

I need help identifying what is missing in my configuration to successfully connect the inverter to Home Assistant using the Huawei Solar integration.

Image Image

Describe your Huawei Solar Setup

Inverter Type:
Inverter Firmware version:
sDongle present: Yes / No
sDongle Type: sDongleA-05 (WiFi / Ethernet) / SDongleA-03 (4G)
sDongle Connectivitiy: WiFi / Ethernet / 4G
sDongle Firmware:
Power meter present: three phase / single phase / no
Optimizers Present: Yes / No
Battery: LUNA2000-SO xxkWh / LUNA2000-S1 xxkWh (Released 2024) / LG RESU xxkWh / None
Battery Firmware version:
Huawei Solar integration version:

How do you connect to the inverter?

Please select your connection method

Upload your Diagnostics File

Drag & Drop your Diagnostics File here.

Upload your relevant debug logs

.

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)
@matt7py matt7py added the bug Something isn't working label Feb 27, 2025
@wlcrs
Copy link
Owner

wlcrs commented Feb 27, 2025

I cannot provide support for connectivity problems.

@wlcrs wlcrs closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2025
@HolgerMiara
Copy link

Have you tried other ports than 6607?

@matt7py
Copy link
Author

matt7py commented Feb 28, 2025

Have you tried other ports than 6607?

Yes 502

@AndyVRD
Copy link

AndyVRD commented Mar 12, 2025

You need port 502 with slave1 for network (LAN/WIFI) connected inverter (connected with sdonglea-05). Port 6607 with slave0 is for "ad-hoc" connection, meaning that you connected direct with the internal (192.168.200.1) inverter AP with a WIFI-dongle connected to your Home Assistant instance (Thin client, Server, RPI, ...).

image

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

4 participants