-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
319 lines (297 loc) · 9.48 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
homeassistant:
# Name of the location where Home Assistant is running
name: Home
country: IT
# Location required to calculate the time the sun rises and sets
latitude: !secret latitude_home
longitude: !secret longitude_home
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: !secret elevation_home
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: !secret timezone_home
auth_mfa_modules:
- type: totp
external_url: !secret app_url
internal_url: !secret app_internal_url
packages: !include_dir_named packages
# Enables logging
logger:
default: info
logs:
homeassistant.components.assist_pipeline: debug
homeassistant.components.random_template: debug
homeassistant.components.signal_messenger2: debug
homeassistant.components.signal_messenger2.client: debug
homeassistant.components.signal_messenger2.signalcli_jsonrpc: debug
# info stampa troppo
homeassistant.components.mikrotik.hub: warning
# TEST Zigbee OTA
#homeassistant.components.zha: debug
#zigpy: debug
#custom_components.zha_toolkit: debug
# Show links to resources in log and frontend
#introduction:
# Enables API
api:
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
# Enables mobile support
mobile_app:
# Enables configuration UI
config:
my:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
server_host: 127.0.0.1
use_x_forwarded_for: yes
trusted_proxies:
- 127.0.0.1
- ::1
# Discover some devices automatically
#discovery:
# enable:
# - dlna_dmr
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
intent:
assist_pipeline:
zeroconf:
network:
energy:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Recording only what is necessary
recorder:
db_url: mysql+pymysql://homeassistant@localhost/homeassistant?charset=utf8
auto_purge: yes
purge_keep_days: 60
include:
entities:
- input_select.house_mode
- person.daniele
- climate.boiler_main
- climate.living_ac
- vacuum.valetudo_risucchiator
- vacuum.spulicchiator
- sensor.battery_vacuum_spulicchiator
- binary_sensor.spulicchiator_cleaning
- binary_sensor.spulicchiator_mop_drying
- binary_sensor.spulicchiator_water_box_attached
- binary_sensor.spulicchiator_water_shortage
- sensor.spulicchiator_status
- sensor.battery_scatola
- sensor.controlcenter_battery_level
- sensor.daniele_payton_battery_level
- sensor.battery_env_bedroom
- sensor.battery_env_external
- sensor.battery_env_living
- sensor.battery_door_main
- sensor.battery_motion_living
- sensor.battery_motion_bedroom
- sensor.battery_motion_entrance
- sensor.battery_button_dustbin
- sensor.battery_presence_mainbed
- sensor.homeserver_cpu_used
- sensor.homeserver_ram_used_percent
- sensor.cputemp_scatola
- sensor.processor_use
- sensor.memory_use_percent
- sensor.temperature_external
- sensor.humidity_external
- sensor.weather_temperature
- sensor.weather_apparent_temperature
- sensor.homeserver_package_id_0_temperature
- sensor.temperature_bedroom
- sensor.pressure_bedroom
- sensor.humidity_bedroom
- sensor.temperature_living
- sensor.temperature_living_window
- sensor.temperature_living_table
- sensor.pressure_living
- sensor.humidity_living
- sensor.temperature_kitchen
- sensor.humidity_kitchen
- sensor.voc_kitchen
- sensor.temperature_studio
- sensor.humidity_studio
- sensor.gas_concentration_kitchen
- binary_sensor.water_bathroom1
- sensor.battery_water_bathroom1
- sensor.battery_env_bathroom1
- sensor.humidity_bathroom1
- sensor.temperature_bathroom1
- sensor.temperature_average
- sensor.humidity_average
- sensor.battery_motion_bedroom_left
- sensor.lux_motion_bedroom_left
- binary_sensor.motion_bedroom_left
- sensor.hddtemp_homeserver_dev_disk_by_id_ata_wdc_wd1002faex_00z3a0_wd_wcatr9149732
- sensor.hddtemp_homeserver_dev_disk_by_id_ata_wdc_wd1002faex_00z3a0_wd_wcatr9159143
- sensor.hddtemp_homeserver_dev_disk_by_id_ata_wdc_wds500g1r0a_68a4w0_214513802580
- sensor.hddtemp_homeserver_dev_disk_by_id_ata_wdc_wds500g1r0a_68a4w0_214513802589
- sensor.mediarasp_cpu_used
- sensor.mediarasp_cpu_thermal_0_temperature
- sensor.mediarasp_cpu_thermal_1_temperature
- device_tracker.controlcenter
- binary_sensor.presence_mainbed
# TEST presence >>>
- device_tracker.daniele_payton
- device_tracker.daniele_paytonwifi
- device_tracker.daniele_paytonrouter
- device_tracker.daniele_paytonble
- sensor.people_count_home
- sensor.people_count_home_local
# <<< TEST
- binary_sensor.door_main
- binary_sensor.motion_living_door
- binary_sensor.living_main_motion
- binary_sensor.living_entrance_motion
- sensor.living_main_lux
- sensor.lux_living
- sensor.bedroom_lux
- binary_sensor.internet
- sensor.router_wireless_clients
- sensor.router_temperature
# TEST media player >>>
- media_player.tv
- media_player.kodi
- media_player.music
# <<< TEST
- input_number.energy_gas_total
- sensor.energy_gas_total
- sensor.energy_water_total
- input_number.energy_water_total
- sensor.energy_washing_machine
- sensor.power_washing_machine
- sensor.power_light_bedroom_left
- sensor.energy_light_bedroom_left
- sensor.power_light_bedroom_main
- sensor.energy_light_bedroom_main
- sensor.power_datacenter
- sensor.energy_datacenter
- sensor.speedtest_download
- sensor.speedtest_ping
- sensor.speedtest_upload
- input_text.vacuum_current_room
- input_text.vacuum_finished_room
entity_globs:
- input_number.energy_mains_total_*
- sensor.energy_mains_*
influxdb:
api_version: 2
ssl: false
host: localhost
port: 8086
token: !secret influxdb_token
organization: !secret influxdb_org
bucket: homeassistant
tags:
source: HA
tags_attributes:
- friendly_name
default_measurement: units
exclude:
domains:
- script
- automation
- scene
- timer
- zone
- media_player
- calendar
- camera
# Track the sun
sun:
# Text to speech
tts:
- platform: amazon_polly
voice: Bianca
region_name: eu-west-3
text_type: ssml
aws_access_key_id: !secret aws_tts_access_key_id
aws_secret_access_key: !secret aws_tts_secret_access_key
- platform: microsoft
api_key: !secret azure_tts_api_key
language: 'it-it'
gender: Female
type: IsabellaNeural
region: westeurope
stt:
- platform: google_cloud_stt
key_file: !secret google_stt_credentials
model: command_and_search
mqtt:
zha:
database_path: /home/homeassistant/.homeassistant/zigbee.db
zigpy_config:
ota:
otau_directory: /home/homeassistant/.homeassistant/zigpy_ota
zha_toolkit:
system_health:
wake_on_lan:
homeassistant_alerts:
lovelace_gen:
lovelace:
mode: yaml
resources:
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/travel-time-card/travel-time-card.js
type: js
- url: /hacsfiles/text-divider-row/text-divider-row.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/vertical-stack-in-card/vertical-stack-in-card.js
type: js
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: js
- url: /hacsfiles/weather-card/weather-card.js
type: module
- url: /hacsfiles/list-card/list-card.js
type: module
- url: /hacsfiles/search-card/search-card.js
type: module
- url: /hacsfiles/lovelace-paper-buttons-row/paper-buttons-row.js
type: module
- url: /hacsfiles/lovelace-hui-element/hui-element.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/lovelace-hourly-weather/hourly-weather.js
type: module
- url: /hacsfiles/lovelace-valetudo-map-card/valetudo-map-card.js
type: module
- url: /hacsfiles/mini-climate-card/mini-climate-card-bundle.js
type: module
- url: /hacsfiles/vacuum-card/vacuum-card.js
type: module
- url: /hacsfiles/weather-chart-card/weather-chart-card.js
type: module
- url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js
type: module
- url: /hacsfiles/lovelace-thermostat-dark-card/thermostat-dark-card.js
type: module
# untracked
- url: /local/ui/custom_ui/moment-with-locales.min.js?v=2.29.2
type: js
# original plugin is broken
# using https://github.com/custom-cards/circle-sensor-card/pull/31
- url: /local/ui/custom_ui/circle-sensor-card.js
type: module
# Customizzata!! NON AGGIORNARE!
- url: /local/ui/custom_ui/clock-card.js?track=false&v=1
type: module