Sungrow SG String Inverters
Purpose
The purpose of this plugin is to collect data from Sungrow SG String Inverters.
Usage
This plugin reads the data from Sungrow SG String Inverters via Ethernet TCP. This plugin relies on the Modbus Ardexa
plugin, and reads from the following Sungrow String Inverter models:
It uses the Modbus Specification, and collects from IP connected inverters, using TCP
protocol. It will be run every 5 minutes, by default. Inverter data will be collected to the solar
table. The inverter will be interrogated for the following data. Due to a software bug in the Sungrow inverter, ALL values where AC Power > 100 MegaWatts will be invalidated (ie; not sent to the cloud)
These following values will be collected to the strings
table, only from the files that do not inverter_only
in the name:
There are 2 files associated with this plugin, namely sungrow_sg_strings.txt
and sungrow_sg_strings_encapsulated.txt
. The sungrow_sg_strings.txt
file will work directly on TCP or RS485 (RTU) connected devices. The sungrow_sg_strings_encapsulated*.txt
file can be used where an RTU device is tunneled through a TCP gateway. This file uses the -m enc
argument, and it will NOT work on RS485/RTU connected devices.
Arguments
Arguments are as follows:
endpoint
. This is either a serial device like/dev/ttyS0
or an IP or DNS like192.168.1.15
bus_addresses
. An RS485 address in the range 2-63. This can be a hyphenated list like3-10
or a list like2,5,7,9
--port
. This is an optional parameter used in an Ethernet gateway, and is the TCP port used for the gateway. Default is502
--attempts
. This is an optional parameter, and determines how many times to times to attempt to read an inverter value. Default is1
--delay
. This is the delay in seconds between inverter send and receive commands, AND ifattempts
> 1. Fractions like0.3
can be used. Default is0.05
Last updated