Created At
Dec 07, 2024
Created By Lars Hultqvist
Quick app that reads values from your Huawei Solar. If you have a battery, you can adjust working modes and...
Created At
Dec 07, 2024
Last Update
Feb 24, 2025
Platforms
HC 3 Lite, Yubii Home Pro, Yubii Home, HC 3
Views
2936
Download
236
Quick app that reads values from your Huawei Solar. If you have a battery, you can adjust working modes and force charging/discharging. It is also possible to trigger one of these modes via a scene. Unfortunately, Fibaro has limitations in block scenes when using sliders (only 0-100). If sliders are to be used with higher values, the scene must be converted to LUA.
Depending on the battery/batteries, a different number of "child units" are displayed. The "child" which by default shows the Grid frequency can easily be adapted to a different value by changing it in the variable tab. In the documentation that you find here, you can select which numerical value should be displayed instead of Grid frequency. You change the variable childSignalName, childUnit, childGain, childAddress and childQuantity as desired according to the documentation.
The requirement to be able to use this is that someone with installer rights change the FusionSolar web interface (Device management -> Set Parameters (Dongle) -> ModBus-TCP) to Enable (unrestricted) or Enable (restricted) along with the IP address of your Home Center.
ip = IP address of the dongle. You need to look in your router to see what ip address the dongle has
port = port, default is 502
intervalMin = How often the information should be retrieved, enter the number of minutes
stringCap_Wp = How many total watts you have solar panels connected
childSignalName = See Huawei's documentation
childUnit = See Huawei's documentation
childGain = See Huawei's documentation
childAddress = See Huawei's documentation
childQuantity = See Huawei's documentation
MaxChargekW = Maximum charging power, automatically detected
MaxDischargekW = Maximum discharge power, automatically detected
BatteryCapacity = Battery capacity in kWh, automatically detected
batteryPacks = Battery configuration, automatically detected
ConfigChecked = (yes/no) If the automatic detection fails, change to "no" and a new check will be made.
Language support for English, German, Dutch, Polish, Norwegian, Swedish and Danish.
Please let me know if the translation is incorrect
Tested on following systems:
SUN2000-3KTL-M1 - Firmware: V100R001C00SPC167
Smart Dongle - Firmware: V200R022C10SPC121
DTSU666-H
SUN2000-10KTL-M1 - Firmware: V100R001C00SPC167
Smart Dongle - Firmware: V200R022C10SPC121
LUNA2000-S0 – Firmware: V100R002C00SPC629
DTSU666-H
Changelog:
v1.2 02/2025
v1.1 01/2025
v1.0 12/2024

Mam problem z uruchomieniem na SUN2000-12KTL-M2 firmware V100R001C00SPC174 Wi-Fi:HISILICON_V103, MBUS(DC) V100R001C00SPC320 ModbusTCP - włączone nieograniczone. Wpisany stały adres IP mam wersję Dongla z gniazdem LAN, jak wyjmę wtyk przełącza się na Wi-Fi i dostaje inny adres IP, ale to mam już opanowane. Restartowałem też falownik po zmianie ustawień siecionych LAN. Nie pokazuje nowych dostępnych aktualizacji sprzętu.

Jak komuś nie działa połączenie po włączeniu ModBus-TCP i ustawieniu stałego IP należy zaktualizować firmware Dongle do najnowszej wersji. Może tego dokonać zdalnie instalator PV.

Świetna QA Lars, aplikację przetestowałem na moim SUN2000-4KTL-M1 Firmware: V100R001C00SPC168, wszystko działa bardzo dobrze, trzeba oczywiście pamiętać o włączeniu ModBus-TCP oraz stałym IP dla Dongla. Dziękuję bardzo Lars.

@Tomasz, When you have activated Modbus-tcp in FusionSolar and either entered your address as Home Center has or selected "unrestricted", you also need to enter the IP address of the dongle that is on the inverter in the variable tab. Keep in mind that it is a good idea to make sure that your router always distributes the same addresses to the dongle and Home Center, or alternatively that you set fixed IP addresses. You should not need to do more than that. If it still does not work, try shutting down your solar system completely and starting it up again.
@Waldemar, I haven't tested with any M2 model myself. There is a check for smart meters or batteries at first startup and I don't know how an M2 responds. I'll contact you via PM and we'll see if it can be resolved.