-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsolis_modbus.yaml
209 lines (209 loc) · 4.35 KB
/
solis_modbus.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
- name: active_power
description: Active Power
unit: W
active: true
modbus:
register: 3004
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: measurement
device_class: power
- name: inverter_temp
description: Inverter temperature
unit: "°C"
active: true
modbus:
register: 3041
read_type: register
function_code: 4
number_of_decimals: 1
signed: false
homeassistant:
device: sensor
state_class: measurement
device_class: temperature
- name: total_power
description: Inverter total power generation
unit: kWh
active: true
modbus:
register: 3008
read_type: long
function_code: 4
signed: true
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: generation_today
description: Energy generated today
unit: kWh
active: true
modbus:
register: 3014
read_type: register
function_code: 4
number_of_decimals: 1
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: generation_yesterday
description: Energy generated yesterday
unit: kWh
active: true
modbus:
register: 3015
read_type: register
function_code: 4
number_of_decimals: 1
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: total_dc_output_power
description: Total DC output power
unit: W
active: true
modbus:
register: 3006
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: measurement
device_class: power
- name: energy_this_month
description: Energy generated this month
unit: kWh
active: true
modbus:
register: 3010
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: generation_last_month
description: Energy generated last month
unit: kWh
active: true
modbus:
register: 3012
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: generation_this_year
description: Energy generated this year
unit: kWh
active: true
modbus:
register: 3016
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
- name: generation_last_year
description: Energy generated last year
unit: kWh
active: true
modbus:
register: 3018
read_type: long
function_code: 4
signed: false
homeassistant:
device: sensor
state_class: total_increasing
device_class: energy
# frequency currently not supported by home-assistant, topic is in discussion
#- name: grid_frequency
# description: Grid Frequency
# unit: Hz
# active: true
# modbus:
# register: 3042
# read_type: register
# function_code: 4
# number_of_decimals: 2
# signed: false
# homeassistant:
# device: sensor
# state_class: measurement
# device_class: frequency
- name: system_datetime
description: System DateTime
unit:
active: true
modbus:
register: [3072, 3073, 3074, 3075, 3076, 3077] # [year, month, day, hour, minute, seconds]
read_type: composed_datetime
function_code: 4
homeassistant:
device: sensor
state_class:
device_class: timestamp
- name: serial_number
description: Serial Number
unit:
active: false
modbus:
register: 3229
read_type: register
function_code: 4
number_of_decimals: 0
signed: false
homeassistant:
device: sensor
state_class:
device_class:
- name: power_limitation
description: Power limitation
unit: "%"
active: true
modbus:
register: 3051
read_type: register
function_code: 3
write_function_code: 6
number_of_decimals: 2
signed: false
homeassistant:
device: number
min: 0
max: 100
step: 0.01
state_class:
device_class:
- name: on_off
description: On/Off
unit:
active: true
modbus:
register: 3006
read_type: register
function_code: 3
write_function_code: 6
number_of_decimals: 0
signed: false
homeassistant:
device: switch
payload_on: 190
payload_off: 222
state_class:
device_class: