Integration Solar inverter huawei 2000L

Thanks a lot! It actually worked via LAN. I’m on SPC124 now and followed the steps described.

However, the integration only discovers the inverter and not the smart meter anymore. So only one device.
Any idea what that could be?

EDIT:// Never mind. HA has discovered the smart meter now too

1 Like

Dag Bert, ben ook van België . Zou jij het zien zitten om mij even verder te helpen aub , want ik geraak er niet zo goed aan uit. Kan ik u op de 1 of andere manier contacteren?
Alvast bedankt.

hi, by this custom integration: GitHub - mrgadget/tesla-style-solar-power-card: Home assistant power card mimicking the one tesla provides for the powerwall app.

I have an inverter sun2000_6ktl_l and until 3 days ago I was able to connect to its port 502.
But after that port not responds…

curl -v telnet://192.168.178.124:502
*   Trying 192.168.178.124:502...
* connect to 192.168.178.124 port 502 failed: Connection refused
* Failed to connect to 192.168.178.124 port 502 after 18 ms: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 192.168.178.124 port 502 after 18 ms: Connection refused

Is it possible that inverter did an update by ifself and now doesn’t work?
I tried to enable by app modbus by:

 "Comunication configuration"> "Dongle param" > "modbus tcp" > "enable unrestrict"

but port not responds.

I also tried to update modbus but nothing. I see this before update:

How can I fix??


How can i change the outputs from kWh to kW?

Hi!
A very long discussion :smiley:
But couldn’t find a solution for me.

I have two inverters connected together SUN2000-8KTL-M1 and SUN2000-4KTL-M1.
The 4KTL one is the master one and it has SDongleA-05 and Smart Metter attached to it.

I was able to connect to Home Assistant using inventers built-in wifi AP. But I can connect to one of both inventors and I don’t see data from other inventor. And seems like Smart Metter also shows data from one inventor not both.

So it looks like it won’t work that way.

The other way is to connect through the dongle?
The dongle is connected to my home router with an ethernet cable.
But I wasn’t able to connect it that way.
Firmware is SPC118. I guess I need a newer one for it to work?

I’m using wlcrs integration.

And I would like a FusionSolar to continue to work.

In firmware spc123 for smart dongle LAN is working by default. In newer smart dongle firmware you need to unlock communication in fusionsolar app. In spc118 modbus tcp is not working for ethernet cable.

Find the slave ID of your slave inverter and enter it in the 3rd field -separated with a comma- when installing the integration.

For example if it is 16: 0,16

Hmm, where can I find it?

If you want to use the internal APs to connect to both inverters, then you need 2 seperate wifi-to-ethernet bridges which each connect to one of the inverters. Then you can add the integration twice with two different IP addresses. The master inverter will then also show the data from the smart meter and battery. The second inverter will only show its own data. That’s how I have set up the integration. Connecting through the internal APs is much faster than through the dongle.

If you want to connect through the dongle, then you need to put in the two slave IDs as Thijs has said above. In a lot of cases it is either 0 and 1, 1 and 2 or 1 and 16. However, if you want to find out which slave ids your system has, then you need to login to the inverter using the Fusionsolar app and the internal AP. There you can see the slave id under the communication settings.

1 Like

Hi Carlo,

Could you please share your openwrt configuration with us?
Thanks a lot !

Masadido

Have you already seen the OpenWRT config here: Connecting to the inverter · wlcrs/huawei_solar Wiki · GitHub ?

1 Like

I created a page on the Wiki with more info. Feel free to make changes/add information where you think it is lacking.

Thanks!
Already managed to set it up. Just guessed slave inverter ID :smiley:

Now struggling to get export and import data.
As I understood Fusion solar calculates export and import by just summing active power on all three phases.

But it is not correct because there are situations when I’m exporting in two phases and importing in one phase at the same time.

So I want to sum up positive values to get export and sum up negative values to get import.

Also where I can adjust time zone for this integration? Because startup time now shows 3 hours earlier than actual time.
I guess it is because my time zone is +3


Who can help me adjust my settings here? I’m really stuck for days now.
I just want my dashboard with energy meter showing in W instead of kW.
Also tried the tesla power card , but also no success…

Note that the timestamp reported is in UTC (that is what that +00:00 at the end means).

However, I’ll have to investigate how the inverter handles changes in time zone dueo to DST, because the reported time is off by one hour in my case. The inverter just reports how big the offset from UTC is in minutes, but that value hasn’t changed when I went from CET to CEST.

image

Energy distribution today graph shows energy in kWh what you are trying to do is power in W. For Power you have you use sensors with Power or KW or W units.

do you have zero export device or smart meter installed? If you have it installed, it has 3 CT installed measuring current in all three phases, along with Voltage in each phase.
So power is calculated for each phase.
Notice there is negative power in phase B.

In the original app from huawei the values are in kW instead of kWh. I want to create something exactly like that but in home assistant.
I do have indeed a power meter attached , it’s directl connected to my huawei inverter.

Orginal fusion app shows active power for each section, i.e PV, home, grid and batteries. It doesn’t show active energy consumption on the first page.
For PV you can use “sensor.input_power”
For grid, you can use “sensor.grid_active_power”
For home, I am not sure.