Huawei Logger

Purpose

Purpose of this plugin is to read from Huawei Solar Loggers using the Modbus protocol.

Usage

This plugin reads the Huawei Loggers and attached Inverters via Modbus. It uses the Modbus Specification and collects from IP connected inverters using TCP protocol. Inverter data will be collected to the solar table. There are a number of files that can be used to query the Huawei loggers depending on the version of the logger and the attached inverters. The huawei_sun2000.txt (default) file collects data for the Huawei 2000 logger. The other files are huawei_sun2000_60ktl huawei_sun2000_ktl.txt huawei_sl1000.txt huawei_sl3000.txt and huawei_logger_inverters.txt. Please ensure the file collects the data suitable for your logger.

The following Huawei SmartLogger models are supported:

SL1000 SL3000

The huawei_sun2000.txt config file is valid for the following inverter models:

SUN2000-50KTL-C1 SUN2000-50KTL SUN2000-42KTL SUN2000-36KTL SUN2000-33KTL-JP SUN2000-40KTL-JP SUN2000-43KTL-IN-C1 SUN2000-24.7KTL-JP SUN2000-40KTL-US SUN2000-33KTL-US SUN2000-36KTL-US SUN2000-33KTL-A SUN2000-8KTL -> SUN2000-28KTL

Other inverter models have their own dedicated configuration file.

These should be read using the huawei_smart_logger.txt config file. The huawei_sl1000.txt and huawei_sl3000.txt config files are old and included for backwards compatibility. They are functionally identical and the same as the huawei_smart_logger.cmd.

Data will be run every 5 minutes by default. This plugin relies on the Modbus Ardexa plugin. The following data will be collected for the huawei_sun2000.txt file. For the other files contact Ardexa. Please also note that this plugin will ONLY collect data from TCP (not RS485 lines).

Run a log to send data to the cloud or a discover to only display information. You may need to configure the Huawei Logger for Modbus collection as follows:

1. Configure Settings->Modbus TCP
    a. If the Ardexa machine has a static address enable "Link Setting: Enable(Limited)" and 
    b. Add the IP address of the Ardexa device. If the Ardexa device is DHCP then make sure the "Link Setting: Enable(Unlimited)""
2. Address mode: Logical Address
3. SmartLogger address	(0-247): 1

Huawei Logger Data

The following logger data will be collected to the solar table for the huawei_smart_logger.txt file. This is the same list of data that is collected from the huawei_sl1000.txt and huawei_sl3000.txt config files.

Huawei SUN2000 Data

The following inverter data will be collected to the solar table for the huawei_sun2000.txt file. Other files collect different information. Please check each file for details.

Huawei SUN2000-60KTL Data

The following inverter data will be collected to the solar table for the huawei_sun2000_60ktl.txt file. Other files will collect different information. Please check each file for details. Note: The DC Voltage values can go up to 10. The SL1000 units will not collect as much information as the Sun2000 model.

Huawei SUN2000-KTL Data

The following inverter data will be collected to the solar table for the huawei_sun2000_ktl.txt file. Other files will collect different information. Please check each file for details. Note: The DC Voltage values can go up to 10. The SL1000 units will not collect as much information as the Sun2000 model.

Huawei SUN2000-8-28KTL Data

The following inverter data will be collected to the solar table for the huawei_sun2000_ktl.txt file. Other files will collect different information. Please check each file for details. Note: The DC Voltage values can go up to 10. The SL1000 units will not collect as much information as the Sun2000 model.

Arguments

Arguments are as follows:

  • endpoint. This is either an IP address like 192.168.1.15

  • bus_addresses. The bus address of the inverter(s)

  • --port. This is an optional parameter used in an Ethernet gateway and is the TCP port used for the gateway. Default is 502

  • --attempts. This is an optional parameter and determines how many times to times to attempt to read an inverter value. Default is 1

  • --delay. This is the delay in seconds between inverter send and receive commands AND if attempts > 1. Fractions like 0.3 can be used. Default is 0.05

Last updated

Was this helpful?