mch35 / huawei_sun2000

Home Assistant (HACS) integration with Huawei SUN2000 Inverters over Modbus TCP
GNU General Public License v3.0
1 stars 0 forks source link

Connect through Smartdongle-WLAN-FE works after dongle update #1

Open jov58 opened 2 years ago

jov58 commented 2 years ago

I installed your integration with HACS and it works great! Thx for the work.

You mention the following in your notes: Starting from firmware updates released in December 2021, Huawei has closed the Modbus-TCP interface on the network to which the inverter connects. ie. If the inverter is connected to your home network on 192.168.1.11, it will no longer be possible to connect on that IP. This also applies for connecting via the Dongle. You will need to connect to the inverter using the WiFi AP.

I wasn't aware of this (or of your integration two hours ago) as I was trying to read MODBUS data over the LAN connection. That didn't work. A portscan revealed that the LAN (FE) connection had no open ports. Duh. The WiFi connection did have port 502 open. But my inverter is out in the field, just out of range of my WiFi network for a good connection. Reading MODBUS data through the WiFi connection also didn't work.

After mentioning the missing port to Huawei support I received an update for the dongle (V100R001C00SPC127). Installed it today, the LAN connection now has port 502 open and reading MODBUS data works. So perhaps they closed the port inadvertently and I was the first to notice that?

Anyway, I can use your integration succesfully over the LAN connection of the dongle :)

TMoersch commented 1 year ago

I need help. After installation I tried to connect the dongle via IP on Port 502 or 6607. All components have the latest SW Version, SPC130 for the dongle; SPC146 for the inverter. Like above, there is no Port 502/6607 open on the FE Port. There is no change when I trie to activate ModBus-TCP via Fusion Solar, no matter if unrestricted or restricted to the HA IP as Clients. Who is able to help me??? Thanks Thomas Mörschel