Dunext Inverters

Purpose

The purpose of this plugin is to collect data from Dunext Inverters.

Usage

This plugin reads the data from Dunext Inverters, via TCP only. Inverter data will be collected to the solar table. By default, it will collected data every 5 minutes, but can collect at a minimum rate of 1 second. The plugin will make an attempt of (by default) 3 times to read an inverter, with a default sleep time 0.0 seconds between each read. The following variables will be collected:

Daily Energy            (decimal:Wh)
Total Energy            (decimal:Wh)
Inverter State          (keyword:)
Fault 1                 (keyword:)
Fault 2                 (keyword:)
Fault 3                 (keyword:)
Fault 4                 (keyword:)
Fault 7                 (keyword:)
Fault 8                 (keyword:)
Fault 9                 (keyword:)
Fault 10                (keyword:)
AC Power                (decimal:W)
Internal Temperature    (decimal:°C)
Inverter 1 Temperature  (decimal:°C)
Inverter 2 Temperature  (decimal:°C)
Boost Temperature       (decimal:°C)
Self Learning State     (keyword:)
Self Learning Time      (keyword:)
AC Voltage 1            (decimal:V)
AC Voltage 2            (decimal:V)
AC Voltage 3            (decimal:V)
AC Current 1            (decimal:A)
AC Current 2            (decimal:A)
AC Current 3            (decimal:A)
Grid Freq               (decimal:Hz)
DC Voltage 1            (decimal:V)
DC Voltage 2            (decimal:V)
DC Voltage 3            (decimal:V)
DC Voltage 4            (decimal:V)
DC Current 1            (decimal:A)
DC Current 2            (decimal:A)
DC Current 3            (decimal:A)
DC Current 4            (decimal:A)
DC Power 1              (decimal:W)
DC Power 2              (decimal:W)
DC Power 3              (decimal:W)
DC Power 4              (decimal:W)
String Current 1        (decimal:A)
String Current 2        (decimal:A)
String Current 3        (decimal:A)
String Current 4        (decimal:A)
String Current 5        (decimal:A)
String Current 6        (decimal:A)
String Current 7        (decimal:A)
String Current 8        (decimal:A)

Arguments

Arguments are as follows:

  • endpoint. This is either a serial device like /dev/ttyS0 or an IP or DNS like 192.168.1.15

  • bus_addresses. An RS485 address in the range 2-63. This can be a hyphenated list like 3-10 or a list like 2,5,7,9

  • --com_port. This is an optional parameter. It is a value between 1 and 8, and defines the port by which the data can be retrieved. Default is 2. There is no clear way to determine which port is in use, so trial and error may be need to be used to discover the com port in use.

  • --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 2

  • --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.0

Was this helpful?