-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathha_neopool_mqtt_lovelace.yaml
318 lines (318 loc) · 11.9 KB
/
ha_neopool_mqtt_lovelace.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
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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
- icon: mdi:pool
type: custom:masonry-layout
layout:
width: 400
badges: []
cards:
- type: custom:stack-in-card
cards:
- type: custom:text-divider-row
text: HA NeoPool MQTT
- type: grid
square: false
columns: 3
cards:
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_water_temperature
primary_info: state
secondary_info: name
name: Temperature
icon_color: blue
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_ph_data
primary_info: state
secondary_info: name
name: pH
icon_color: green
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_redox_data
primary_info: state
secondary_info: name
name: Redox
icon_color: cyan
- type: custom:mini-graph-card
entities:
- entity: sensor.neopool_mqtt_water_temperature
name: Temperature
color: var(--blue-color)
- entity: sensor.neopool_mqtt_ph_data
name: pH
color: var(--green-color)
y_axis: secondary
hours_to_show: 24
line_width: 3
font_size: 50
animate: true
show:
name: false
icon: false
state: false
legend: false
fill: fade
- type: custom:mini-graph-card
entities:
- entity: sensor.neopool_mqtt_redox_data
name: Redox
color: var(--cyan-color)
hours_to_show: 24
line_width: 3
font_size: 50
animate: true
show:
name: false
icon: false
state: false
legend: false
fill: fade
- type: custom:text-divider-row
text: Main Controls
- type: grid
columns: 3
square: false
cards:
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_filtration_switch
icon: phu:pool-filter
name: Filtration
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_light_switch
icon: mdi:light-recessed
name: Light
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:mushroom-entity-card
entity: button.neopool_mqtt_clear_error_state
name: Clear Errors
icon: mdi:brush-variant
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: grid
columns: 3
square: false
cards:
- type: custom:mushroom-select-card
entity: select.neopool_mqtt_filtration_mode
name: Mode
icon: mdi:auto-mode
- type: custom:mushroom-select-card
entity: select.neopool_mqtt_filtration_speed
name: Speed
icon: si:speedtest
- type: custom:mushroom-select-card
entity: select.neopool_mqtt_boost_mode
icon: mdi:lightning-bolt-outline
name: Boost
- type: custom:text-divider-row
text: AUX Relays Switch
- type: grid
columns: 4
square: false
cards:
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_aux1_switch
name: Aux1
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_aux2_switch
name: Aux2
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_aux3_switch
name: Aux3
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:mushroom-entity-card
entity: switch.neopool_mqtt_aux4_switch
name: Aux4
tap_action:
action: toggle
hold_action:
action: more-info
double_tap_action:
action: none
- type: custom:text-divider-row
text: Setpoints
- type: grid
columns: 2
square: false
cards:
- type: custom:mushroom-number-card
entity: number.neopool_mqtt_hydrolysis_setpoint
name: Hydrolysis
icon: phu:pool-clorine
layout: horizontal
display_mode: slider
- type: custom:mushroom-number-card
entity: number.neopool_mqtt_redox_setpoint
name: Redox
icon: phu:pool-electric-lvl
layout: horizontal
display_mode: slider
- type: custom:mushroom-number-card
entity: number.neopool_mqtt_ph_min
name: pH Min.
layout: horizontal
display_mode: slider
- type: custom:mushroom-number-card
entity: number.neopool_mqtt_ph_max
name: pH Max.
layout: horizontal
display_mode: slider
- type: custom:stack-in-card
cards:
- type: custom:text-divider-row
text: Modules Info
- type: grid
columns: 3
square: false
cards:
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_state
name: Hydro State
icon: mdi:water-sync
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_data_g_h
name: Hydro Production
icon: phu:pool-clorine
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_data
name: Hydro Production %
icon: phu:pool-clorine
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_hydrolysis_low_production
icon: mdi:alarm-light-outline
name: Low Production
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_hydrolysis_water_flow
name: Water Flow
icon: mdi:air-filter
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_runtime_polarity_changes
name: Polarity Changes
icon: mdi:swap-horizontal-circle-outline
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_runtime_total
name: Tot. Runtime
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_runtime_pol1
name: Pol1 Runtime
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_hydrolysis_runtime_pol2
name: Pol2 Runtime
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_ph_state
name: pH State
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_ph_pump
name: pH Pump
icon: phu:pool-filter
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_hydrolysis_cover
name: Cover
icon: mdi:window-shutter-cog
- type: custom:text-divider-row
text: Modules Detected
- type: grid
columns: 3
square: false
cards:
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_ph_module
name: pH
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_redox_module
name: Redox
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_hydrolysis_module
name: Hydrolysis
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_chlorine_module
name: Chlorine
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_conductivity_module
name: Conductivity
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_ionization_module
name: Ionization
- type: custom:text-divider-row
text: Relays State
- type: grid
columns: 4
square: false
cards:
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_relay_ph_state
name: pH
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_relay_filtration_state
name: Filter
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_relay_light_state
name: Light
- type: custom:mushroom-entity-card
entity: binary_sensor.neopool_mqtt_relay_acid_state
name: Acid
- type: custom:text-divider-row
text: Power Unit Info
- square: false
type: grid
columns: 4
cards:
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_powerunit_5v
name: 5V
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_powerunit_12v
name: 12V
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_powerunit_24_30v
name: 24V
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_powerunit_4_20ma
name: 4mA
- type: custom:text-divider-row
text: Connection Statistics
- square: false
type: grid
columns: 4
cards:
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_connection_system_requests
name: Requests
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_connection_system_responses
name: Responses
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_connection_missed_system_responses
name: Missed
- type: custom:mushroom-entity-card
entity: sensor.neopool_mqtt_connection_out_of_range_system_responses
name: Invalid