Huawei solar integration with 2 daisy chained inverters

Hi everyone, this is my first dip into HAOS world, although I’ve been in home automation for a while now.

The first thing I wanted to do is integrate my 2 existing inverters with built-in Wi-fi modules (a SUN2000-3KT and a SUN2000-6KTL) but I’m having difficulties having them both connected to home assistant at the same time.

Let me explain my setup and and I tried so far.

I have these 2 inverters, that are daisy chained via serial cable.
Both of these inverters have built-in wi-fi module (no separated dongle), that are both connected to my home network.

I do have installer access to both inverters and can change whatever.

What I did so far:

  1. I installed the wlcrs/huawei_solar/wiki
  2. and according to wlcrs/huawei_solar/wiki/Connecting-to-daisy-chained-inverters I checked both inverters through sun2000 app and they are both using the unrestricted TCP mode.
  3. I connected HA via a USB wi-fi adapter to SUN2000-6KTL which I think (but not sure how to check it) is the master. ( i do have the power meter connected to it)
  4. I opened the Huawei Solar integration and connected successfully from the first try to SUN2000-6KTL 192.168.200.1, port 6607, slave id 0. (even though the Comm address was set to 1)
  5. This successfully generated 2 devices (the 6kw inverter and power meter) and about 40 something entities, but no 3KW inverter.
  6. When i checked in the sun2000 app both inverters had Com address set to 1. So I changed the SUN2000-6KTL to 6, and left 3KTL to 1 because I though this might be an issue.
  7. I then deleted the integration and tried again but this time I tried all sorts of number combinations in the slave ID’s field (0,0 then 1,1 then 6,0 then 6,1, the 0,1) with no luck. following the guide from here Connecting to daisy chained inverters · wlcrs/huawei_solar Wiki · GitHub
  8. I even plugged 2 individual wi-fi adapters into the hass server and connected each to an inverter. This part worked, but apparently when going to the Huawei Solar under Settings ->Devices and services → add new entry, → Network, and when I attempt to connect to the second inverter, it times out. So I think the plugin doesn’t know which adapter to use and it attempts to connect to the same first inverted that I added first, since both have the same 192.168.200.1 ip.I’m sure I’m doing something wrong here

Conclusion, I can successfully connect and add to hass one inverter at a time, but I cannot add them both.

Ideas?

image

Hi @Mavenro
do you have any update on this? I’m struggling to connect 4 daisy chained converters to HA. Can’t even get two inverters connected, only one. :frowning_face:

Edit:
Got it working. The difference to your setup is, I use a separate Dongle (Fast Ethernet, not WiFi) on the “master” inverter. All four inverters are connected by RS485.

Installed modbus-proxy Addon an used the Huawei Solar integration from HACS.
Modbus-proxy configuration got the IP of the dongle.
From here on I used the Huawei Solar Integration to add the four inverters. IP of Home Assistant, Port 502 and ID from 1-4 one after the other.

Nope, I temporarily gave up since I couldn’t find a solution.
I think the wi-fi dongles do the same thing. If this doesn’t work I will eventually get an Ethernet dongle. I can ping each Inverter from the LAN ip assigned by the home router. Can you show me your configuration.yaml for modbus with the Inverter?

Also, have you manually configured your slave id’s to be 1-4? Do you know if these are related to the RS485 Comm settings in the commissioning settings of the inverter, per Huawei add-on github page instruction?Because I suspect those Comm settings don’t do anything for this type of connection (Lan). My both inverters have that com setting set to 1, while the huawei integration connects to the master inverter only if I set the slave field to 0.


B