-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdm630.yaml
181 lines (166 loc) · 4.6 KB
/
sdm630.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
defaults:
name: SDM630
modbus_device_id: sdm
modbus_device_address: 0x01
modbus_id: boneio_modbus
update_interval: 60s
modbus_controller:
- id: ${modbus_device_id}
address: ${modbus_device_address}
modbus_id: ${modbus_id}
setup_priority: -10
update_interval: ${update_interval}
sensor:
- platform: modbus_controller
name: ${name} L1 Voltage
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_phase1
address: 0
register_type: 'read'
accuracy_decimals: 1
value_type: FP32
unit_of_measurement: V
device_class: voltage
state_class: measurement
- platform: modbus_controller
name: ${name} L2 Voltage
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_phase2
address: 2
register_type: 'read'
accuracy_decimals: 1
value_type: FP32
unit_of_measurement: V
device_class: voltage
state_class: measurement
- platform: modbus_controller
name: ${name} L3 Voltage
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_phase3
address: 4
register_type: 'read'
accuracy_decimals: 1
value_type: FP32
unit_of_measurement: V
device_class: voltage
state_class: measurement
- platform: modbus_controller
name: ${name} L1 Current
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_current1
address: 6
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: A
device_class: current
state_class: measurement
- platform: modbus_controller
name: ${name} L2 Current
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_current2
address: 8
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: A
device_class: current
state_class: measurement
- platform: modbus_controller
name: ${name} L3 Current
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_current3
address: 10
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: A
device_class: current
state_class: measurement
- platform: modbus_controller
name: ${name} L1 Power
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_power1
address: 12
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: W
device_class: power
state_class: measurement
- platform: modbus_controller
name: ${name} L2 Power
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_power2
address: 14
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: W
device_class: power
state_class: measurement
- platform: modbus_controller
name: ${name} L3 Power
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_power3
address: 16
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: W
device_class: power
state_class: measurement
- platform: modbus_controller
name: ${name} Total Power Watt
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_total_w
address: 52
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: W
device_class: power
state_class: measurement
- platform: modbus_controller
name: ${name} Frequency
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_frequency
address: 70
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: Hz
state_class: measurement
- platform: modbus_controller
name: ${name} Import Energy Total
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_import_total
address: 72
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
- platform: modbus_controller
name: ${name} Export Energy Total
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_export_total
address: 74
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
- platform: modbus_controller
name: ${name} Total
modbus_controller_id: ${modbus_device_id}
id: ${modbus_device_id}_total
address: 342
register_type: 'read'
accuracy_decimals: 2
value_type: FP32
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing