Huawei sun2000-5ktl-l1 inverter without dongle

Hello all,

Today the team came to install solar panels on the house and they setup the sun2000-5ktl-l1 inverter. I was not aware at the time when I configured the system that I needed a dongle to connect it to home assistant. My question is: is there a way to connect to this inverter without this dongle? I have seen that there is an integration in HACS but when I try to connect to the inverter it says that connection failed.

the error that appears in the logs is:



Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py:283
First occurred: 15:25:37 (47 occurrences)
Last logged: 21:31:10
Modbus client is not connected to the inverter.

NoneType: None

can anyone advise what I should do?

A lan to wan bridge will do it. I am doing it with a rpi3

Hi @spac3h - Would you be able to provide a link to a guide explaining how to do this?

Many thanks

I should have updated this question long ago! I am sorry I didn’t but here it is.

I managed to get it working with the integration that is available in hacs. The key thing is that in the inverters settings you need to turn on the local O&M setting. Make sure it is on. I read in other threads that while it looks it is on it may not be active. So if the integration isnt working that’s the reason. Also you need to activate the modbus communication.

With these on, in the integration you need to provide the IP address (it is a good idea to set a static up!) of the inverter and then connect on one of the two possible ports: 502 or 6607 and select the box with advanced elevated permissions.

if all is well, it should ask you for username and password. Here you write the installer password. Then your integration should start discovery of the inverter and the smart meter if you have it.
One thing of note is that while the inverter is accessible through HA, you will not be able to connect to it via the mobile phone app. It only accepts one active connection to the internal settings.

1 Like

Thanks, that is really helpful. Frustrating that it will only accept one connection at a time, but hopefull that won’t be a problem if HA works well.

I am probably going to use a RPi, with the ethernet connected to the main LAN, and the wifi adaptor connected to the Sun2000 on its own subnet.

Do you know if it is possible to send commands to the Sun2000 using your setup, such as change fro. ToC to Fully to Grid, via HA?

Thanks

The only command I see is to turn the inverter on or off. There is a bunch of sensor data you can read but that’s about it. Do you think there will be more control via the RPi route?

Thers seem to be a bunch of config parameters available in the screenshots here,so there must be a bunch of options:

Probably if you connect to it via serial. All I get is the On off over the network connection. Let me know how it is!

1 Like

Is this setup still without the dongle?

I had the installation done by a company and do not have the installer account. The company claims that the modbus option is not available (grayed out) in their ui. They are awaiting a callback from their vendor for this.

Also, O&M, is this an abbreviation? Where is this setting?

And thanks you for sharing your insights/information on the forum. Great that HA has such a active community. :slight_smile:

yes I still get data from my inverter without a dongle and through the method i described (I didn’t come up with it to be clear). I only get data and I am able to turn the inverter on and off. Another user described a more involved method and for some time I have toyed with the idea of using an esp32 and a controller (i forget the type now) but I am not in a position to implement that plan now.

From what I saw online, the installer account is mostly unchanged by everyone. So try it with the password: 0000000a or a0000000 (again I forget, but it is one of the two). That’s what works for me. You have to connect to the inverter’s WAN and then use the FusionSolar app. There you go to settings and if I remember correctly (I cannot check because I am quite far away from the inverter right now) it should be in the connection section or just go through the menus and look for the MODBUS section and Local O&M. I have no clue what it stands for.

I have no idea why the option would be grayed out. Maybe in their app, they don’t have access to that setting? I really cannot say what is happening.

Hope you get it going!

You can reset the installer password really easily, by cycling the AC and DC power switches 3 times (in time with specific light flashes on the inverter). It worked first time for me.

I use a RPi for Home Assistant and connect the ethernet LAN to my router, and then connect the WiFi interface to the SUN2000 installer wifi AP, to connect to the modbus. It works perfectly. I can access all the mode changes etc.

1) Reset Installer PW:

Connect RPi to Inverter and install the integration

This is a link to the integration git: GitHub - wlcrs/huawei_solar: Home Assistant integration for Huawei Solar inverters via Modbus

Follow the above two guides, in this order and all should work.

no I am curious! I use the same integration, only I use it through the network and not connected directly to the inverter WAN. This way I can only switch the inverter on and off and I can read all the info I want. You say that my directly connecting to the inverter wifi you get access to more controls?

Yep, i can change operating mode (e.g send the battery to the grid, or charge, or pause, change power output. Everything the fusion app can do, but more and better.

For example, i can auto join an Octopus Saving Session, pre-charge the battery in preparation, then discharge it to the grid during the saving session, all fully automated.

It is mostly all automated in the background, but I have added some mode buttons to make the mode changes vastly simpler than the clunky Fusion App

that looks amazing! but all this is useful if you have a battery. I don’t, I only have the PV.
I have just realised I can change amount of power that goes to the grid through the service calls. But other than that there isn’t much I can do. I live in Romania and there is no such thing as octopus or other things.

1 Like

I can confirm, this works with the setting local O&M enabled without any dongle when the converter is connected to your own (wifi) netwerk. This for the SUN2000-2KTL-L1. Translated from Dutch, but my steps:

Steps:

  • Install the fusion solar app (not available in de google play store, direct APK download or install via huawei market place)
  • Go physically to the converter. There should be a hotspot (mine was SUN2000-). My converter had a sticker on the side, password of the wifi was ‘Changeme’ on my end. Connect to this hotspot.
  • In the app, you do not have to login. Top right, four dots for a menu and choose ‘WLAN settings’.
  • There should be a screen with a big blue ‘scan’ button and a list of the wifi you are connected to (should be the SUN2000-…). Pres scan.
  • On the side of the converter, on the same sticker as the wifi info, there is a QR-code on the bottom. Scan this.
  • You get a prompt to login on the app. Two user accounts; installer and user. The local O&M settings cannot be changed with the user account, I had to use the installer account. I had support from the party that installed the system, they gave me the password so no reset needed.
  • After login, the app should direct you to the ‘Settings with converter connected router’. If not: see setting menu, communication configuration, setting with converter connected router.
  • Toggle the option and connect back to your own network.

There is a permanent hotspot now near the converter. Too bad, keep in mind this might conflict a little with your own network. But given there is not a lot of traffic on the hotspot, I do not think it will cause an issue.

In home assistant, install the Huawei Solar addon (HACS). I had to use the 6607 port. There are no credentials needed, so any installer (party) can themselves enable this option during installation without permanently giving you the password.

2 Likes