How To Unlock Huawei Dongle

1 view
Skip to first unread message

Florio Bessinger

unread,
Aug 5, 2024, 10:15:45 AM8/5/24
to muskperheli
itwas working good in Mojave but when I updated my MacBook pro to Catalina, it has stop working. App does not support this type of error, I'm getting? Any software in 64-bit compatible in Huawei mobile partner?

Im having the exact same problem, O2 are my providers for the dongle and I just called them up and they said its down to Huawei to update the dongle but they have no idea when this will be, leaves me stuck into a contract with a dongle that isnt working.


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.


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.


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.


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.


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?


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:


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.


I was testing both connections (internal SUN2000 AP and dongle/ethernet) and I have to say that ethernet is much more slower (talking about modbus response times of some register set) comparing to internal AP.


The dongle version was irrelevant to configure the modbus. It is the inverter setting.

I was able to enable modbus with inverter SPC139 and dongle SPC123, then upgrade the dongle to SPC124 (modbus port was enabled so it was just working after dongle upgrade without touching this setting).


Yes - dongle is mainly used for FusionSolar cloud and the modbus is just additional feature added since SPC119 if I remember correctly (keep in mind that only single connection to port 502 is allowed at a time)


I upgraded my SUN2000L-3.68KTL-L1 to the latest firmware 117 via the fusionsolar portal.

After reading through the last posts I also managed to add my recently bought dongle and upgrade it to firmware 126.


Hi, I successfully set up the inverter and dongle (last FW, modbus enabled), so the integration works in HA. I use total_yield_xxxxx value in solar energy production. Is it the right way to do it, or shall I create a template sensor from an attribute value?


Tengo activa la configuracin de MODBUS TCP para el Inversor Huawei y me funciona todo.

Quiero, a partir del sensor POTENCIA ACTIVA (del sensor de medida ddsu666-h), cuyos valores son positivos si se Exporta a la Red y negativos si se Importan a la Red, obtener por separado los valores de Exportacin e Importacin en sensores distintos y en Positivo ambos.

He probado con esto pero no funciona:


Keep in mind that the inverter has internal WiFi AP (small range - inside the case) which is for configuration but also exposes a TCP Modbus port - and this is some people here are using.

You can use Modbus from this internal AP or a port from the dongle. It is up to you, but the internal AP is much more reliable (when talking about response times and reliability).

You can also look here in my blog post:

-sun2000-why-using-a-usb-dongle-for-monitoring-is-not-a-good-idea/


Hi, for using the Huawei modem in new OS versions, you would need to add a NM connection profile for it.

See here for details -modem-setup

Can you try this on a machine and let us know if that fixes your problem?


What debugging steps have you tried so far? You could try journalctl -u NetworkManager from a terminal to the hostOS and see if that shows anything useful. Do you know if the modem is successfully establishing a connection to the cell network but not connecting to the internet, or is it not even getting that far?


@chrisys unfortunately I do not have access to the physical device, so debugging is a little difficult. If it can help, I am actually using open balena, and the last working release for me was 2.46.1+rev1. Is there any repo where I can get a copy of that release and see whether it works?


I tried using the image from the link above (2.46). It does not work, which is weird, because I have used exactly the same image in the past. I am attaching a screenshot of my current fleet. Maybe it can give more insight?


Mm I will see if I can have someone on the field connect it to a wifi. However, we have been using that exact modem for more than a year and it never created problems. I will write back in case we figure it out.


What I noticed was that when running with just the dongle, ModemManager would quite often not see any devices (within a reasonable timeframe); when running with ethernet connected, it would much more often/faster detect the device.


I have just tried connecting RPI 3B+ to wifi through open balena and it worked, which means it is something that has to do with network manager (I have tested every other bit of the system separately).


I just checked and unfortunately we do not list older OS versions for vanilla balena OS versions that are suitable for openBalena. I raised this to our product team as an issue now. Probably the easiest way to get an older OS version currently is by checking which versions are available in from our cloud dashboard and then download manually by modifying the URL from the latest. E.g. switch to


The new WLAN/FE dongle 02312QMV-004 is the successor to the 02312QMV and, in addition to extended compatibility with new inverters, now also offers a WLAN access point (this is what the abbreviation "AP" in "AP+STA" stands for) for commissioning inverters that do not provide an integrated WLAN access point, such as the new 100/115KTL-M2.


Commissioning the WLAN module is quick and easy. The LED indicator shows the current status of the module and helps with the setup. Once connected, the dongle is hardly noticeable. With dimensions of 146 x 48 x 33 mm and a total weight of only 90 g, the technology remains in the background and does its job reliably. The Smart Dongle A-05 WLAN-FE can be used in almost any environment, thanks in part to its IP65 protection rating. The tolerance ranges for temperature and humidity are specified as -30C to +65C and 5% to 95% respectively. The typical power consumption of 2.5 watts is even lower than that of the 4G dongle. Before buying, check the compatibility with the inverter, the Smart Dongle A-05 WLAN-FE works with numerous models of the SUN2000 series. For maximum security, the wireless connection is encrypted according to WPA/WPA2 or TKIP/CCMP/AES.


1 The third-party management system must match the communication protocol from the Huawei Smart Dongle. HUAWEI Smart DongleA-05 WLAN-FE (AP+STA) - Datasheets, manuals, videos and certificatesAll data sheets, instructions, videos and certificates summarized for you.


I have the ethernet cable routed to my inverter mounting place so a natural way of connecting it was using a dongle. Initially the dongle was not exposing the Modbus/TCP port, I had to upgrade a firmware. After the upgrade the 502 TCP port was open for communication (note: you need to explicitly enable this port on newest inverter/dongle firmware combinations).


Mainly the reading was errorless, but overall when looking at a whole day, I noticed some significant error rate, especially in the early morning. Looking at the logs the following was not unusual picture:


Despite the additional hardware (access point) near the inverter I am really impressed for new connection method comparing the old one. First of all the complete set of parameters are read in roughly 5 seconds instead of 20!


I am having already two older Huawei inverters up and running and using method #1 to monitor the data.

The inverter is connected to a Raspberry Pi with a USB-RS485 converter. On the raspberry, I am running telegraf to read the modbus data to an influx database (1 second interval).

Finally, I present the data in some Grafana dashboards. This method is working really well without any outages since almost a year.

3a8082e126
Reply all
Reply to author
Forward
0 new messages