Skip to content

Commit 051fddf

Browse files
authored
Add example config file for sungrow SG5K-D inverter #20
1 parent cf2d700 commit 051fddf

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

modbus4mqtt/SG5K-D.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
ip: 192.168.1.xxx #your inverter ip address
2+
port: 502
3+
update_rate: 60
4+
address_offset: 0
5+
variant: sungrow
6+
scan_batching: 1
7+
registers:
8+
- pub_topic: "output_power" #total output power kWh
9+
address: 5000
10+
table: 'input'
11+
- pub_topic: "daily_yield" #daily yield kWh
12+
address: 5002
13+
table: 'input'
14+
- pub_topic: "total_yield" #Total yield kWh
15+
address: 5003
16+
table: 'input'
17+
- pub_topic: "total_running_time" #Total running time (h)
18+
address: 5003
19+
table: 'input'
20+
- pub_topic: "internal_temperature" #inverter internal temperature 0.1C
21+
address: 5007
22+
table: 'input'
23+
- pub_topic: "dc_output" #dc output power (W)
24+
address: 5016
25+
table: 'input'
26+
- pub_topic: "phase_a_voltage" #Phase A Voltage (0.1V)
27+
address: 5018
28+
table: 'input'
29+
- pub_topic: "phase_a_current" #Phase A Current (0.1A)
30+
address: 5021
31+
table: 'input'
32+
- pub_topic: "ac_output" #AC output power, total active power (W)
33+
address: 5030
34+
table: 'input'
35+
- pub_topic: "power_factor" #Power factor (0.001)
36+
address: 5034
37+
table: 'input'
38+
- pub_topic: "grid_frequency" #Grid Frequency (0.1Hz)
39+
address: 5035
40+
table: 'input'
41+
- pub_topic: "device_state" #Device State (see comments below for states)
42+
address: 5037
43+
table: 'input'
44+
- pub_topic: "daily_running_time" #Daily running time (1m)
45+
address: 5112
46+
table: 'input'
47+
48+
#see https://github.com/tjhowse/modbus4mqtt/files/5732710/TI_20190704_Communication.Protocol.for.Residential.Single-phase.Grid-Connected.Inverters_V10_EN.pdf for full list of registers and details
49+
50+
# Device States (register 5037)
51+
#
52+
#0 Run
53+
#1 Stop (normal stop)
54+
#2 Initial Standby
55+
#3 Key stop
56+
#4 Standby
57+
#5 Emergency Stop
58+
#6 Startup
59+
#7 Stopping
60+
#9 Fault stop
61+
#10 Alarm Run
62+
#11 Derating run
63+
#12 Limited run
64+
#13 Communication fault
65+
#16 Sleeping

0 commit comments

Comments
 (0)