-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
344 lines (291 loc) · 8 KB
/
configuration.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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
# Default includes from Home Assistant
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#homeassistant:
#packages:
#common_device_tracker: !include common/device_tracker.yaml
recorder:
db_url: !secret mariadb_url
purge_keep_days: 30
purge_interval: 1
commit_interval: 30
history:
influxdb:
host: a0d7b954-influxdb
port: 8086
database: homeassistant
username: !secret influxdb_user
password: !secret influxdb_pw
ssl: false
max_retries: 3
default_measurement: state
measurement_attr: entity_id
include:
domains:
- sensor
- binary_sensor
- switch
- input_number
- button
input_text:
ma_mushroomart_state:
name: ma_mushroomart_state
initial: State 5
# Add sliders control to Home Assistant to set position, speed and velocity of the stepper motor
input_number:
ma_biolab_mushroomart_delay_01:
name: ma_biolab_mushroomart_delay_01
initial: 80
min: 0
max: 99999
step: 1
mode: box
ma_biolab_mushroomart_delay_02:
name: ma_biolab_mushroomart_delay_02
initial: 80
min: 0
max: 99999
step: 1
mode: box
ma_biolab_mushroomart_delay_03:
name: ma_biolab_mushroomart_delay_03
initial: 180
min: 0
max: 99999
step: 1
mode: box
ma_biolab_mushroomart_delay_04:
name: ma_biolab_mushroomart_delay_04
initial: 120
min: 0
max: 99999
step: 1
mode: box
ma_biolab_mushroomart_delay_05:
name: ma_biolab_mushroomart_delay_05
initial: 120
min: 0
max: 99999
step: 1
mode: box
ma_hydrobag_pump_time_active:
name: ma_hydrobag_pump_time_active
initial: 1
min: 0
max: 1440
step: 1
mode: box
ma_hydrobag_pump_time_pause:
name: ma_hydrobag_pump_time_pause
initial: 1
min: 0
max: 1440
step: 1
mode: box
#telegram_bot:
# - platform: polling
# api_key: "5326830285:AAEVnGd_oy2pvWxw6_GSXTy1MwsT6SKwIx8"
# allowed_chat_ids:
# - 133905357
# Example configuration.yaml entry for the notifier
#notify:
# - platform: telegram
# name: NOTIFIER_NAME
# chat_id: 133905357
input_boolean:
ma_shelly_plug01_is_power_comsuming:
name: ma_shelly_plug01_is_power_comsuming
ma_shelly_plug02_is_power_comsuming:
name: ma_shelly_plug02_is_power_comsuming
ma_shelly_plug03_is_power_comsuming:
name: ma_shelly_plug03_is_power_comsuming
ma_shelly_plug04_is_power_comsuming:
name: ma_shelly_plug04_is_power_comsuming
ma_biolab_mushroomart_automation_active:
name: ma_biolab_mushroomart_automation_active
ma_hydrobag_light_automation_active:
name: ma_hydrobag_light_automation_active
ma_hydrobag_pump_automation_active:
name: ma_hydrobag_pump_automation_active
ma_hydrobag_pump_enabled:
name: ma_hydrobag_pump_enabled
ma_hydrobag_light_enabled:
name: ma_hydrobag_light_enabled
ma_hydrobag_pump_active:
name: ma_hydrobag_pump_active
ma_microgreens_stack_1_automation_active:
name: ma_microgreens_stack_1_automation_active
timer:
test:
duration: "01:30:00"
ma_shelly_plug01_timer:
duration: "01:30:00"
ma_shelly_plug02_timer:
duration: "01:30:00"
ma_shelly_plug03_timer:
duration: "01:30:00"
ma_shelly_plug04_timer:
duration: "01:30:00"
ma_shelly_plug01_notification_timer:
duration: "01:15:00"
ma_shelly_plug02_notification_timer:
duration: "01:15:00"
ma_shelly_plug03_notification_timer:
duration: "01:15:00"
ma_shelly_plug04_notification_timer:
duration: "01:15:00"
input_datetime:
ma_shelly_plug01_timer_duration:
name: ma_shelly_plug01_timer_duration
has_time: true
ma_shelly_plug02_timer_duration:
name: ma_shelly_plug02_timer_duration
has_time: true
ma_shelly_plug03_timer_duration:
name: ma_shelly_plug03_timer_duration
has_time: true
ma_shelly_plug04_timer_duration:
name: ma_shelly_plug04_timer_duration
has_time: true
ma_shelly_plug01_notification_timer_duration:
name: ma_shelly_plug01_notification_timer_duration
has_time: true
ma_shelly_plug02_notification_timer_duration:
name: ma_shelly_plug02_notification_timer_duration
has_time: true
ma_shelly_plug03_notification_timer_duration:
name: ma_shelly_plug03_notification_timer_duration
has_time: true
ma_shelly_plug04_notification_timer_duration:
name: ma_shelly_plug04_notification_timer_duration
has_time: true
ma_hydrobag_automation_date_start:
name: ma_hydrobag_automation_date_start
has_date: true
ma_hydrobag_automation_date_end:
name: ma_hydrobag_automation_date_end
has_date: true
sensor:
#####################
# Integration Sensors
#####################
- platform: integration
source: sensor.ma_shelly_plug01_power
unit_prefix: k
unit_time: h
method: left
- platform: integration
source: sensor.ma_shelly_plug02_power
unit_prefix: k
unit_time: h
method: left
- platform: integration
source: sensor.ma_shelly_plug03_power
unit_prefix: k
unit_time: h
method: left
- platform: integration
source: sensor.ma_shelly_plug04_power
unit_prefix: k
unit_time: h
method: left
#####################
# Average Sensors
#####################
- platform: statistics
entity_id: sensor.ma_shelly_plug01_power
state_characteristic: average_step
sampling_size: 6
max_age:
minutes: 2
name: ma_shelly_plug01_power_average_step
- platform: statistics
entity_id: sensor.ma_shelly_plug02_power
state_characteristic: average_step
sampling_size: 6
max_age:
minutes: 2
name: ma_shelly_plug02_power_average_step
- platform: statistics
entity_id: sensor.ma_shelly_plug03_power
state_characteristic: average_step
sampling_size: 6
max_age:
minutes: 2
name: ma_shelly_plug03_power_average_step
- platform: statistics
entity_id: sensor.ma_shelly_plug04_power
state_characteristic: average_step
sampling_size: 6
max_age:
minutes: 2
name: ma_shelly_plug04_power_average_step
#####################
# Max Value Sensors
#####################
- platform: statistics
entity_id: sensor.ma_shelly_plug01_power
state_characteristic: value_max
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug01_power_value_max
- platform: statistics
entity_id: sensor.ma_shelly_plug02_power
state_characteristic: value_max
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug02_power_value_max
- platform: statistics
entity_id: sensor.ma_shelly_plug03_power
state_characteristic: value_max
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug03_power_value_max
- platform: statistics
entity_id: sensor.ma_shelly_plug04_power
state_characteristic: value_max
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug04_power_value_max
#####################
# Min Value Sensors
#####################
- platform: statistics
entity_id: sensor.ma_shelly_plug01_power
state_characteristic: value_min
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug01_power_value_min
- platform: statistics
entity_id: sensor.ma_shelly_plug02_power
state_characteristic: value_min
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug02_power_value_min
- platform: statistics
entity_id: sensor.ma_shelly_plug03_power
state_characteristic: value_min
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug03_power_value_min
- platform: statistics
entity_id: sensor.ma_shelly_plug04_power
state_characteristic: value_min
sampling_size: 4
max_age:
minutes: 2
name: ma_shelly_plug04_power_value_min