Created At

Sep 22, 2021

Last Update

Aug 31, 2023

Platforms

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

Views

5075

Download

684

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)

 

 

37 Comments,  Want to add comment please login
Bbacb50c4a323c54c0a49668b127832f

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: https://forum.fibaro.com/topic/61928-problembug-in-energy-panel/#comment-253810 ..... - 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.

D8b53f18a8317053aef3d3a77250e75d

Read this topic: https://forum.fibaro.com/topic/61928-problembug-in-energy-panel/?do=findComment&comment=253810

Bbacb50c4a323c54c0a49668b127832f

Hi SUN2000-3.68KTL-L1. Software version V200R001C00SPC130 Connected to my router using WLAN WIFI (not dongle). What parameters should I use? Tested following instructions provided = [08.07.2023] [00:39:28] [ERROR] [QUICKAPP21]: Connection error Thanks

6839fd2885a10bb01ffeb31bd0e6453c

Five stars! Works perfectly with Deivydas Jurčiukonis tweaking of the code. Activated Modbus-TCP in VR. Tested on SUN2000-10KTL-M1 and SUN2000-3KTL-M1 both with DTSU-666H connected

49d9dfd90c02e954a2c82d16e5f4dca7

It's working with HUAWEI SUN2000-15KTL-M2, 15000 W, but need to make 1 change in LUA. Thanks to Cezary. He have said the change which is needed. Additional changes: from readHoldingRegistersFrame = string.char(0x00, 0x03) to local readHoldingRegistersFrame = string.char(0x01, 0x03)