Created At

Sep 22, 2021

Last Update

Aug 31, 2023


HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3





Type Quick App

QuickApp integration with Huawei inverters, using Modbus TCP protocol. Works with new energy panel. 

Software version required: 5.080 or higher. 

Tested on: SUN2000-2KTL L1

Should work with inverters with integrated WLAN, and those equipped with smart dongle. Probably it does not work with the smart logger, due to different register addresses.


To configure this QuickApp, please provide the IP address of your inverter in the variables tab. You can adjust polling time by changing the pollingTime variable (time in minutes).  


After successful connection, the quick app will add additional "endpoints" to the system:

  • total production, shown as energy meter type (unit: kWh)
  • current production, shown as power sensor type (unit: W)



40 Comments,  Want to add comment please login

My configuration now works: SUN2000-8KTL-M1 no change in Configuration - only fixed IP adress. HC3: i followed the forum-entry: in main: Changed 2 lines (142 and 144) with -- change one line: change in line 153 com.fibaro.powerSensor to com.fibaro.powerMeter additional i changed in Main - line 70: changed to : local readHoldingRegistersFrame = string.char(0x01, 0x03) let standard port (502) in variable add ip adress from sun2000 in variable and it works!


I have the same Problem: SUN2000-8KTL-M1 TCP/IP Modbus: enabled/unrestricet Logfile says: [16.12.2023] [11:26:00] [DEBUG] [QUICKAPP408]: onInit [16.12.2023] [11:26:00] [TRACE] [QUICKAPP408]: initFields [16.12.2023] [11:26:00] [TRACE] [QUICKAPP408]: createChildDevices [16.12.2023] [11:26:00] [TRACE] [QUICKAPP408]: Connecting [16.12.2023] [11:26:00] [TRACE] [QUICKAPP408]: Connected [16.12.2023] [11:26:36] [TRACE] [QUICKAPP408]: All data requested. Disconnecting. [16.12.2023] [11:26:36] [TRACE] [QUICKAPP408]: Disconnect. Connecting again after 5 min. [16.12.2023] [11:26:36] [ERROR] [QUICKAPP408]: Response error: Operation canceled [16.12.2023] [11:26:36] [ERROR] [QUICKAPP408]: QuickApp crashed Has anyone gotten this to work yet?


Hello. I can't get readings from inverter... Followed Jean Jomaron instruction from Jul 11. - but no data. Huawei inverter/dongle set to "unrestricted modbus communication". What am I doing wrong or not understanding..?


Model: SUN2000-3.68KTL-L1 HC3 5.140.17 Doing several test, Huawei solar is working. change port 502 -- to -> 6607 and follow the instructions of: ..... - add comment ( -- ) at begin of the line 142 - add comment ( -- ) at begin of the line 144 - change in line 153 com.fibaro.powerSensor to com.fibaro.powerMeter - click on save (thank you jakub) It looks like it's working. Will do more test next days. At least I can read the production kwh and instant production kw (this one will be useful to on/off some devices if there is not production) Hope this will help some one.


Read this topic:

© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback