-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.yaml
276 lines (255 loc) · 7.27 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
homeassistant:
#customize: !include configuration/customize.yaml
unit_system: metric
time_zone: Europe/London
# Name of the location where Home Assistant is running
name: Scarbrook
allowlist_external_dirs:
# required to check db size via sensor
- "/config"
latitude: !secret location_lat
longitude: !secret location_long
packages: !include_dir_named configuration/packages
currency: GBP
country: GB
# Configure a default setup of Home Assistant (frontend, api, etc)
# default_config:
#panel_custom:
# - name: sublime-floorplan-card
# sidebar_title: Floorplan
# sidebar_icon: mdi:floor-plan
# url_path: floorplan
# js_url: "http://127.0.0.1:8080/dist/sublime-floorplan-card.js"
# config:
# entity: zonk
########## Start of integrations from default_config ##########
# Default config integrations: https://www.home-assistant.io/integrations/default_config/
# Select all, copy to Notepad++, ctrl+h, Replace string: ^.*\((.*?)\), Replace with: $1:
automation: !include_dir_merge_list configuration/automations
#cloud:
config:
counter:
dhcp:
energy:
frontend:
themes: !include_dir_merge_named themes/
history:
include: !include configuration/history_include_items.yaml
exclude:
entities:
- binary_sensor.updater
#image:
input_boolean:
input_datetime:
input_number:
input_select:
input_text:
logbook:
#map:
#media_source:
mobile_app:
my:
person:
#scene:
script: !include_dir_merge_named configuration/scripts
ssdp:
stream:
sun:
system_health:
#tag:
timer:
usb:
webhook:
zeroconf:
#zone:
########### End of integrations from default config ###########
group: !include configuration/groups.yaml
#light: !include configuration/lights.yaml
sensor: !include_dir_merge_list configuration/sensors
#binary_sensor: !include configuration/binary_sensors.yaml
logger:
default: warning
logs:
homeassistant.components.rfxtrx: info
homeassistant.components.switch.rfxtrx: info
homeassistant.components.binary_sensor.rfxtrx: info
homeassistant.components.rfxtrx.switch: info
# RFXtrx: debug
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
wake_on_lan:
recorder:
purge_keep_days: 14
include: !include configuration/history_include_items.yaml
exclude:
entities:
- binary_sensor.updater
influxdb:
host: a0d7b954-influxdb
port: 8086
database: homeassistant
username: !secret influxdb_user
password: !secret influxdb_pass
max_retries: 3
default_measurement: state
include: !include configuration/history_include_items.yaml
exclude:
entities:
- binary_sensor.updater
lovelace:
mode: yaml
resources:
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/battery-state-card/battery-state-card.js
type: module
- url: /hacsfiles/github-flexi-card/github-flexi-card.js
type: module
- url: /hacsfiles/weather-card/weather-card.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
# Dev
# - url: /local/dev/my-custom-card.js?z=v1
# type: module
# - url: /local/dev/github-flexi-card.js?z=v1
# type: module
# - url: /local/dev/mini-graph-card/dist/mini-graph-card-bundle.js?v=0.8.8
# type: module
# - url: /local/dev/battery-state-card/dist/battery-state-card.js?z=v1
# type: module
# - url: http://127.0.0.1:5501/dist/github-flexi-card.js?z=v1
# type: module
# - url: http://127.0.0.1:5501/dist/battery-state-card.js
# type: module
# - url: /local/dev/sublime-floorplan-card/dist/sublime-floorplan-card.js
# type: module
# - url: http://127.0.0.1:5500/dist/my-custom-card.js
# type: module
- url: /local/dev/alarm-panel-card/dist/alarm-panel-card.js
type: module
- url: /hacsfiles/weather-chart-card/weather-chart-card.js
type: module
- url: /hacsfiles/ha-floorplan/floorplan.js
type: module
hacs:
token: !secret hacs_token
appdaemon: true
device_tracker:
- platform: ping
hosts:
maks: 192.168.2.126
magduska: 192.168.2.247
pc: 192.168.2.102
laptop_surface: 192.168.2.120
camera:
- platform: generic
still_image_url: https://cdn-media.itead.cc/media/catalog/product/1/_/1_7_2.jpg
stream_source: !secret kidscam_stream_hd
name: "Kids room HD"
- platform: generic
still_image_url: https://cdn-media.itead.cc/media/catalog/product/1/_/1_7_2.jpg
stream_source: !secret kidscam_stream_sd
name: "Kids room SD"
- platform: mjpeg
name: "Patologia"
mjpeg_url: http://192.168.2.125/mjpeg.cgi
- platform: ffmpeg
name: "Kids SD"
input: !secret kidscam_rtsp
tplink:
discovery: false
switch:
- host: 192.168.4.235 #hs110-rasp
- host: 192.168.4.228 #kp115-1
emulated_hue:
listen_port: 80
expose_by_default: false
entities:
light.living_room_lights:
name: "Living room lights"
hidden: false
light.kitchen_lights:
name: "Kitchen lights"
hidden: false
light.kitchen_worktop_lights:
name: "Kitchen worktop lights"
hidden: false
light.living_room_lamp:
name: "Living room lamp"
hidden: false
light.tv_light:
name: "TV light"
hidden: false
light.bedroom_lights:
name: "Bedroom lights"
hidden: false
light.black_night_light:
name: "Black night light"
hidden: false
switch.master_bed_wall_switch_main:
name: "Master bedroom lights"
hidden: false
light.master_bedroom_night_light:
name: "Night light"
hidden: false
light.desk_light:
name: "Desk light"
hidden: false
light.master_bathroom_lights:
name: "Master bathroom lights"
hidden: false
light.bathroom_lights:
name: "Bathroom lights"
hidden: false
switch.pc:
name: "PC"
hidden: false
# docker_monitor:
# containers:
# - homeassistant
# - deconz
# - glances
# - influxdb
# monitored_conditions:
# - docker_version
# - container_status
# - container_memory_usage
# - container_memory_percentage_usage
# - container_cpu_percentage_usage
monitor_docker:
- name: Docker
containers:
- appdaemon
- db-hass
- deconz
- hass
- influxdb
monitored_conditions:
- version
- containers_running
- containers_total
- containers_cpu_percentage
- containers_memory
- containers_memory_percentage
- state
- status
- memory
- memory_percentage
# sonoff:
# username: !secret ewelink_user
# password: !secret ewelink_pass
# mode: local
# reload: always # update device list every time HA starts
switch: !include configuration/switches.yaml
shell_command:
commit_config_files: cd /config && git pull && git add -A && git commit -m "`date`" && git push -u origin master
store_creds: !secret github_store_creds_cmd # git config --global user.name "USERNAME" && git config --global user.email "USER@EMAIL" && git config --global credential.helper store && echo "https://USERNAME:GITTOKEN@github.com" > ~/.git-credentials