-
Notifications
You must be signed in to change notification settings - Fork 0
/
hass.configuration.yml
241 lines (220 loc) · 6.14 KB
/
hass.configuration.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
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
http:
ip_ban_enabled: true
login_attempts_threshold: 4
use_x_forwarded_for: true
trusted_proxies:
- 172.16.0.0/12 # Docker network
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
template: !include template.yaml
# lovelace:
# mode: yaml
# resources:
# - url: /hacsfiles/button-card/button-card.js
# type: module
# - url: /hacsfiles/lovelace-layout-card/layout-card.js
# type: module
# - url: /hacsfiles/swipe-card/swipe-card.js
# type: module
ifttt:
key: !secret IFTTT_API_KEY
homeassistant:
media_dirs:
local: /config/media
# rest:
# scan_interval: 15
# resource: http://192.168.1.254/api/v8/connection/
# sensor:
# - name: "router_connection_info"
# json_attributes_path: "$.result"
# value_template: "{{ value_json.result }}"
# json_attributes:
# - "type"
# - "rate_down"
# - "rate_up"
# - "bandwidth_up"
# - "bandwidth_down"
group:
all_echos:
name: All Echos
entities:
- media_player.mimmo_echo_5
- media_player.echo_dot_di_chiara
- media_player.quadro
alexa:
smart_home:
entity_config:
switch.quadro_kiosk_screensaver:
name: "Screensaver fully kiosk"
description: "Screensaver fully kiosk"
input_boolean.screensaver_quadro_kiosk_browser:
name: "Screensaver wall panel"
description: "Screensaver wall panel"
display_categories: SWITCH
input_boolean.timer_spegnimento_toggle:
name: "Timer Spegnimento Desktop"
description: "Timer Spegnimento Desktop"
display_categories: SWITCH
sensor.desktop_cpuload:
name: "Jetson CPU LOAD"
description: "Jetson CPU LOAD"
display_categories: FAN
sensor.desktop_gputemperature:
name: "Jetson GPU TEMP"
description: "Jetson GPU TEMP"
display_categories: TEMPERATURE_SENSOR
sensor.desktop_u10f6bm_gpu_temperatures_gpu_core:
name: "Desktop GPU TEMP"
description: "JeDesktoptson GPU TEMP"
display_categories: TEMPERATURE_SENSOR
sensor.desktop_u10f6bm_cpu_temperatures_cpu_package:
name: "Desktop CPU TEMP"
description: "Desktop CPU TEMP"
display_categories: TEMPERATURE_SENSOR
button.desktop_shutdown:
name: "Desktop shutdown"
button.desktop_sleep:
name: "Desktop sleep"
button.quadro_kiosk_bring_to_foreground:
name: "Apri quadro (kiosk to foreground)"
button.quadro_kiosk_restart_browser:
name: "Riavvia quadro (kiosk restart browser)"
button.quadro_kiosk_send_to_backgroud:
name: "Chiudi quadro (kiosk to background)"
filter:
include_entities:
- switch.quadro_kiosk_screensaver
- input_boolean.screensaver_quadro_kiosk_browser
- input_boolean.timer_spegnimento_toggle
- media_player.desktop
- sensor.desktop_cpuload
- sensor.desktop_gputemperature
- sensor.desktop_memoryusage
- sensor.desktop_u10f6bm_cpu_temperatures_cpu_package
- sensor.desktop_u10f6bm_gpu_temperatures_gpu_core
- sensor.tot_current_energy
- button.desktop_shutdown
- button.desktop_sleep
- button.quadro_kiosk_bring_to_foreground
- button.quadro_kiosk_restart_browser
- button.quadro_kiosk_send_to_background
- button.desktop_switch_mute_mic
exclude_domains:
- automation
- binary_sensor
- button
- calendar
- camera
- device_tracker
- input_boolean
- input_datetime
- input_number
- input_select
- input_text
- light
- media_player
- number
- person
- script
- sensor
- switch
- timer
- update
- weather
- zone
prometheus:
namespace: hass
include_domains:
- sensor
- binary_sensor
- switch
- light
exclude_entity_globs:
- sensor.weather_*
- sensor.desktop*
#switch:
# - platform: tapo # Forno
# host: 192.168.1.74
# username: !secret TAPO_USER
# password: !secret TAPO_PWD
# - platform: tapo # Tubo
# host: 192.168.1.77
# username: !secret TAPO_USER
# password: !secret TAPO_PWD
binary_sensor:
- platform: ping
host: 192.168.1.254
name: Router
count: 3
scan_interval: 30
- platform: ping
host: 192.168.1.156
name: Desktop
count: 3
scan_interval: 30
- platform: ping
host: 192.168.1.160
name: Laptop-Chiara
count: 3
scan_interval: 30
- platform: ping
host: 192.168.1.33
name: Firestick
count: 3
scan_interval: 30
sensor:
- platform: openhardwaremonitor
host: 192.168.1.156
- platform: time_date
display_options:
- 'time'
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /config
- type: disk_use
- type: disk_free
- type: memory_use_percent
- type: memory_use
- type: memory_free
- type: swap_use_percent
- type: swap_use
- type: swap_free
- type: load_1m
- type: load_5m
- type: load_15m
- type: network_in
arg: eth0
- type: network_out
arg: eth0
- type: throughput_network_in
arg: eth0
- type: throughput_network_out
arg: eth0
- type: packets_in
arg: eth0
- type: packets_out
arg: eth0
- type: ipv4_address
arg: eth0
- type: ipv6_address
arg: eth0
- type: processor_use
- type: processor_temperature
- type: last_boot
# camera:
# - platform: generic
# name: grafana_jetson_containers
# still_image_url: http://grafana:3000/d/hr8-CooGk/jetson-containers?from=1670679286870&to=1670681086870&orgId=1&refresh=5m&viewPanel=1
# username: !secret GRAFANA_USER
# password: !secret GRAFANA_PASSWORD
# verify_ssl: false