forked from huizebruin/Home-Assistant-Config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
195 lines (183 loc) · 5.57 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
#===============================================================
## home assistand informatie
#===============================================================
homeassistant:
name: Huizebruin
latitude: !secret latitude
longitude: !secret longitude
elevation: 10
unit_system: metric
time_zone: Europe/Amsterdam #Etc/GMT
customize: !include customize.yaml
external_url: !secret externalurl
internal_url: "http://192.168.178.192:8123"
allowlist_external_dirs:
- "/config/zigbee2mqtt"
- "/ssl"
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#===============================================================
## Includes zodat deze lijst overzichtelijker blijft
#===============================================================
group: !include_dir_merge_named groups/
sensor: !include_dir_merge_list sensors/
template:
- sensor: !include_dir_merge_list template/sensor/
binary_sensor: !include_dir_merge_list binary_sensors/
switch: !include_dir_merge_list switch/
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
light: !include lights.yaml
utility_meter: !include utility_meter/utility.yaml
camera: !include camera/camera.yaml
input_select: !include input-select.yaml
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
#===============================================================
#samsung tv
# samsungtv_smart:
samsungtv:
- host: !secret samsungtv_smart
mac: !secret samsungtv_mac
#====================
#http:
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
ip_ban_enabled: true
login_attempts_threshold: 5
#====================
#google agenda
google:
client_id: !secret google_CLIENT_ID
client_secret: !secret google_CLIENT_SECRET
#===============================================================
media_player:
- platform: mpd
host: 192.168.178.162
- platform: samsungtv_tizen
host: !secret samsungtv_smart
mac: !secret samsungtv_mac
show_channel_number: true
show_logos: "white-color"
app_list: '{"Netflix": "11101200001", "YouTube": "111299001912", "Spotify": "3201606009684", "Prime Video": "3201512006785", "Disney+": "3201901017640", "YouTube Kids": "3201611010983", "Videoland": "3201810017074"}'
#===============================================================
# Text to speech
tts:
- platform: google_translate
language: 'nl'
base_url: http://192.168.178.192:8123 # interne ip adres
#===============================================================
mqtt:
discovery: true
#===============================================================
# Discover some devices automatically
discovery:
ignore:
- apple_tv
#===============================================================
## Telegram
#===============================================================
telegram_bot:
- platform: polling
api_key: !secret telegramkey
allowed_chat_ids:
- !secret telegram_chatID
notify:
- name: Wobbebot
platform: telegram
chat_id: !secret telegram_chatID
- name: twitter wobbele
platform: twitter
consumer_key: !secret twitter_API_KEY
consumer_secret: !secret twitter_API_SECRET
access_token: !secret twitter_ACCESS_TOKEN
access_token_secret: !secret twitter_ACCESS_SECRET
#===============================================================
## influxdb
#===============================================================
#influxdb:
# host: localhost
# port: 8086
# database: homeassistant
# username: homeassistant
# password: !secret influx
# max_retries: 3
# default_measurement: state
recorder:
db_url: !secret mariadb
commit_interval: 30
auto_purge: true
purge_keep_days: 31
include:
domains:
- sensor
- switch
- binary_sensor
- climate
- person
- alert
entity_globs:
- binary_sensor.*
- sensor.dsmr_*
- sensor.hourly_*
- sensor.daily_*
- sensor.weekly_*
- sensor.monthly_*
- sensor.yesterday_*
- sensor.last_*
- sensor.average_*
exclude:
domains:
- media_player
- updater
- weather
entity_globs:
- sensor.surh*
- sensor.*_linkquality
- sensor.*_battery
- sensor.*_voltage
- sensor.*_version
- sensor.openweathermap_*
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
- sensor.time
- sensor.date_time
- sensor.time_date
- sensor.date_time_iso
- sensor.date_time_utc
- sensor.time_utc
- sensor.internet_time
- binary_sensor.snapshot_stale
- binary_sensor.updater
- sensor.24v_puls_voeding_hok_linkquality
- sensor.afzuiging_linkquality
- sensor.bijkeuken_beweging_sensor_linkquality
- sensor.brievenbus_linkquality
- sensor.buiten_verlichting_voor_linkquality
- sensor.cc2530_router_linkquality
- sensor.douche_linkquality
- sensor.gang_beweging_sensor_linkquality
- sensor.hok_beweging_sensor_linkquality
- sensor.keuken_linkquality
- sensor.laptop_stekker_linkquality
logbook:
exclude:
entities:
- sensor.date
- sensor.time
- sensor.date_time
- sensor.time_date
- sensor.date_time_iso
- sensor.date_time_utc
- sensor.time_utc
- sensor.internet_time
#===============================================================