Huawei Solar integration with SUN2000-10K-LC0 not working

I have a SUN2000-10K-LC0 and I am not able to connect to it using the Huawei Solar integration.

I am using a router (with OpenWrt) as a bridge to the SUN2000 built-in AP, NAT-ing 192.168.8.0/24 (the Inverter is on 192.168.8.1 in the AP networks). TCP/IP connectivity seems to work:

  • I can successfully ping 192.168.8.1 (the Inverter) from devices on my 192.168.1.0/24 LAN (including from my Home Assistant Green and from my Win11 PC)
  • I can successfully connect to port 6607 through the bridge (“Test-NetConnection 192.168.8.1 -Port 6607” returns True on my PC)
  • there is no answer on port 502 (or 80 or 443), even when connected directly to the SUN2000 built-in AP, so port 6607 seems to be the correct one.

However, when I try to add the device, I keep getting an “unexpected error” or “reading from the inverter failed” after several seconds of waiting time. I tried Slave IDs: AUTO, 0, 1, 2 and 3, with and without “elevate permissions”

FYI I also tried other alternatives:

  • via the IP to which the SUN2000 inverter is connected to my LAN: no answer on ports 6607 or 502, and, yes, I made sure “Local O&M” in “Settings” → “Router connection settings” in the “Device Commissioning” is enabled (even toggled it on/off a couple of time)
  • using port-forwarding instead of NAT-ing (exact same results, as you’d expect)

I really do not want to go the RS485+bridge route, if I can make it work via the network.

I am starting to think that the current version of the Huawei Solar is not yet compatible with the SUN2000-10K-LC0 (via the network), so I have 2 questions:

  • has anybody managed to make it work, and if so, how?
  • is there any other HA integration out there that can help (not counting Fusion Solar – I cannot get all the info I need from it)?

Thanks to all for the help!

I have a SUN2000-3KTL-L1 inverter and i spent quite some time trying to connect it via a bridge to HA. I finally gave up that route and connected it via a WLAN-AP into the same network as all other devices including HA.
May be that HA and the inverter have to be in the same network. I cannot confirm this as a requirement.

Thanks Jürgen! My bridge router is actually a TP-Link TL-WR902AC V4 WiFi access point/router, running OpenWRT, so that shouldn’t be the issue.

I read of other people that have been having issues with the LC0 version of the inverter, which I have, and I did not find any reference of it actually working with this HA integration l. I was if anybody had any success with it.

Hello,
same here SUN2000-5KTL working but not with bridge, directly via wifi LAN.
Sincerely I wasn’t happy due to unstability so I moved toward RS485.

remember only one connection is available so if you have multiple device connected while you are setting it up I won’t work.

Thanks Ettore.

update: I also tried a USB WiFi adapter directly connected to by Home Assistant Green. Same results:

  • I can ping the inverter on 192.168.8.1 from HA Green;
  • I can connect to port 6607 on 192.168.8.1 (but not to 502);
  • When I try to add the device, I keep getting an “unexpected error” after several seconds of waiting time. I tried Slave IDs: AUTO, 0, 1, 2 and 3, with and without “elevate permissions”.

It really seems that this version of the inverter and/or Firmware is not supported by this integration.

Did anybody manage to make the Huawei Solar integration work with a SUN2000-10K-LC0 / V100R023C10SPC111?

Did you solve this? :frowning:

Im also trying to do this.
I have only enabled unrestrict modbus TCP.
But my inverter is on 192.168.5.1/24 and my HA is on 192.168.1.1/24 but i madre firewall rules allowing connection from my inverter to HA. But i keep getting unexpected error.
If i switch to 6607 i get “cant read from inverterr” :frowning:

Hi, as i’ve written earlier i suspect that the inverter and the home assistant instance have to be in the same network (either 192.168.5.0/24 or the other).
And i suspect that this is checked by the inverter on incoming requests, so no firewall rules are involved.

I got it working with the beta :slight_smile:

With your network configuration? Which beta do you use? Inverter or Integration?

Yeap.
I have opned from all traffric from the inverter to my HA. The integration is the latest beta :slight_smile:

Hello DanielPT,

I seem to be in the exact same situation with my SUN2000-4.6-LB0. Were you able to connect using the latest beta to the dongle or to the built in AP?

Hi Daniel, could you please specify BETA version that you used to connect your inverter? I have installed: 2.0.0b2 from HACS, huawei_solar integration.
I have SUN2000-6K-LB0 but when I try to connect using IP (same subnet HA and inverter) I receive “Failed to connect”.
Many thanks in advance.

HI sorry for the late reply :slight_smile:
I use Version: 2.0.0b2.
Are you sure you have allowed all ips in the inverter? :slight_smile:

Has anyone succeeded with this? I cant even ping to the 6607 or 502 ports

Buenos dias.
He intentado todo los que habeis descrito y no hay manera.
El problema que tengo ademas es que el instalador me puso un medidor por cable en el RS485 y no pudo poner el dongle wifi usb.
El caso es que haciendo ping el equipo responde pero la intagracion Huawei Solar no la admite en ninguna de sus versiones.
Creo que lo voy a suplir con un medidor en la salida del inversor (esphome)