-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfull.yml
285 lines (278 loc) · 6.25 KB
/
full.yml
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
esphome:
name: pvs-full
friendly_name: Full PVS Monitor
esp32:
board: esp32dev
framework:
type: esp-idf
wifi:
networks:
- ssid: example-network
password: network-password
api:
external_components:
- source: github://kpfleming/esphome-sunpower@v2
packages:
solar: !include
file: packages/sunpower_solar.yml
vars:
pvs_serial: ZT215185000549A0754
consumption_meter_serial: PVS6M21510754c
production_meter_serial: PVS6M21510754p
panel_A01: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A01
serial: E00122208054945
array: A
panel_A02: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A02
serial: E00122208048594
array: A
panel_A03: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A03
serial: E00122208026527
array: A
panel_A04: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A04
serial: E00122208055109
array: A
panel_A05: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A05
serial: E00122208056185
array: A
panel_A06: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A06
serial: E00122208055824
array: A
panel_A07: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A07
serial: E00122208056231
array: A
panel_A08: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A08
serial: E00122208048581
array: A
panel_A09: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A09
serial: E00122208007432
array: A
panel_A10: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A10
serial: E00122208055167
array: A
panel_A11: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A11
serial: E00122208053964
array: A
panel_A12: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: A12
serial: E00122208055132
array: A
panel_B01: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B01
serial: E00122149010334
array: B
panel_B02: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B02
serial: E00122149010456
array: B
panel_B03: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B03
serial: E00122149011266
array: B
panel_B04: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B04
serial: E00122149011275
array: B
panel_B05: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B05
serial: E00122148074610
array: B
panel_B06: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B06
serial: E00122149011975
array: B
panel_B07: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B07
serial: E00122149011268
array: B
panel_B08: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B08
serial: E00122149019431
array: B
panel_B09: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B09
serial: E00122149010367
array: B
panel_B10: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: B10
serial: E00122149022131
array: B
panel_C01: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C01
serial: E00122208047681
array: C
panel_C02: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C02
serial: E00122208051475
array: C
panel_C03: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C03
serial: E00122149016130
array: C
panel_C04: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C04
serial: E00122149008705
array: C
panel_C05: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C05
serial: E00122149014900
array: C
panel_C06: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C06
serial: E00122149012405
array: C
panel_C07: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C07
serial: E00122149015711
array: C
panel_C08: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: C08
serial: E00122149016647
array: C
panel_D01: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: D01
serial: E00122208051661
array: D
panel_D02: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: D02
serial: E00122208051548
array: D
panel_D03: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: D03
serial: E00122208055105
array: D
panel_D04: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: D04
serial: E00122208053577
array: D
panel_D05: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: D05
serial: E00122208007603
array: D
panel_E01: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: E01
serial: E00122208054182
array: E
panel_E02: !include
file: packages/sunpower_solar_panel.yml
vars:
panel: E02
serial: E00122208054404
array: E
array_A: !include
file: packages/sunpower_solar_array.yml
vars:
array: A
array_B: !include
file: packages/sunpower_solar_array.yml
vars:
array: B
array_C: !include
file: packages/sunpower_solar_array.yml
vars:
array: C
array_D: !include
file: packages/sunpower_solar_array.yml
vars:
array: D
array_E: !include
file: packages/sunpower_solar_array.yml
vars:
array: E
http_request:
useragent: esphome/pvs
timeout: 15s
watchdog_timeout: 15s
interval:
interval: 1min
then:
- delay: 15s
- http_request.get:
url: http://<PVS>/cgi-bin/dl_cgi?Command=DeviceList
capture_response: true
max_response_buffer_size: 35000
on_response:
then:
- sunpower_solar.process: body