-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·209 lines (197 loc) · 5.61 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
homeassistant:
name: Home
latitude: !secret latitude_loc_home
longitude: !secret longitude_loc_home
elevation: 145
unit_system: metric
time_zone: Europe/Berlin
customize: !include customize.yaml
packages: !include_dir_named packages
zone:
- name: Work
latitude: !secret latitude_loc_work
longitude: !secret longitude_loc_work
radius: 250
icon: mdi:briefcase
- name: Home
latitude: !secret latitude_loc_home
longitude: !secret longitude_loc_home
radius: 100
icon: mdi:home
- name: Fitness
latitude: !secret latitude_loc_fitness
longitude: !secret longitude_loc_fitness
radius: 100
icon: mdi:dumbbell
############################################
## ##
## INCLUDES ##
## ##
############################################
# Enables the frontend
frontend:
themes: !include themes.yaml
extra_html_url:
- /local/custom_ui/state-card-floorplan.html
# FloorPlan Panel
panel_custom:
- name: floorplan
sidebar_title: Floorplan
sidebar_icon: mdi:home
url_path: floorplan
config: !include floorplan.yaml
media_player: !include media_players.yaml
group: !include groups.yaml
automation: !include_dir_merge_list automations/
panel_iframe: !include panels.yaml
############################################
## ##
## DEVICES ##
## ##
############################################
# Netatmo Camera
# netatmo:
# api_key: !secret netatmo_camera_api
# secret_key: !secret netatmo_camera_key
# username: !secret netatmo_username
# password: !secret netatmo_password
########## XIAOMI ###########
vacuum:
- platform: xiaomi_miio
host: 192.168.0.84
token: !secret xiaomi_vacuum_token
fan:
- platform: xiaomi_miio
host: 192.168.0.28
token: !secret xiaomi_fan_token
######### LOGITECH HARMONY #########
remote:
- platform: harmony
name: Harmony Hub
- platform: harmony
name: Living Room
######### Yeelight addon ##########
light:
- platform: yeelight
devices:
192.168.0.26:
name: Desklamp
transition: 1000
######### HUE ##########
hue:
bridges:
- host: 192.168.0.150
allow_unreachable: true
######## XIAOMI GATEWAY #########
xiaomi_aqara:
discovery_retry: 5
gateways:
- key: !secret xiaomi_aquara_key
######## DANALOCK ########
lock:
- platform: mqtt
name: Danalock
state_topic: "smartthings/Danalock/lock/state"
command_topic: "smartthings/Danalock/lock/cmd"
qos: 2
retain: false
#optimistic: true
payload_lock: "locked"
payload_unlock: "unlocked"
###### SMARTTHINGS SMH ALARM CONTROL #####
alarm_control_panel:
platform: mqtt
state_topic: "smartthings/alarm system status/alarmSystemStatus/state"
command_topic: "smartthings/alarm system status/alarmSystemStatus/cmd"
name: "SHM"
payload_disarm: "off"
payload_arm_home: "stay"
payload_arm_away: "away"
####### DYSON ########
dyson:
username: !secret dyson_email
password: !secret dyson_password
language: DE
devices:
- device_id: !secret dyson_deviceid1
device_ip: 192.168.0.43
- device_id: !secret dyson_deviceid2
device_ip: 192.168.0.50
############################################
## ##
## SERVICES ##
## ##
############################################
################ PUSHBULLET ###############
notify:
platform: pushbullet
api_key: !secret pushbullet_api
config:
map:
http:
api_password: !secret http_password
updater:
discovery:
history:
logbook:
recorder:
sun:
######## MQTT ########
mqtt:
broker: localhost
discovery: true
discovery_prefix: homeassistant
# ######### EMULATED HUE #######
# emulated_hue:
# host_ip: 192.168.0.100
# expose_by_default: false
# entities:
# input_boolean.abkuhlen:
# name: "Abk\xFChlung"
# hidden: false
# input_boolean.abkuhlenbr:
# name: "Abk\xFChlung 2"
# hidden: false
# switch.gaming:
# name: "Computer"
# hidden: false
# input_boolean.naturesound:
# name: "Naturger\xE4usche"
# hidden: false
###### Device Trackers ########
device_tracker:
- platform: owntracks_http
- platform: google_maps
username: !secret google_username
password: !secret google_password
max_gps_accuracy: 75
###### Where is my car? #######
camera:
- name: Parking
platform: generic
still_image_url: https://maps.googleapis.com/maps/api/staticmap?autoscale=false&size=500x500&maptype=roadmap&format=png&visual_refresh=true&markers=size:tiny%7Ccolor:0x000000%7Clabel:1%7C50.140446,+8.497954&markers=size:mid%7Ccolor:0x00ff00%7Clabel:1%7C{{states.device_tracker.marcus_audi.attributes.latitude}},{{states.device_tracker.marcus_audi.attributes.longitude}}
#### XIAOMI CAMERAS #####
- name: Xiaomi1
platform: ffmpeg
input: -rtsp_transport tcp -i rtsp://192.168.0.86/unicast
# platform: generic
# still_image_url: http://192.168.0.86/snapshot.jpg
- name: Xiaomi2
platform: ffmpeg
input: -rtsp_transport tcp -i rtsp://192.168.0.46/unicast
####### WEATHER RADAR #######
- name: Weather
platform: generic
still_image_url: http://www.wettergefahren.de/DWD/wetter/radar/Radarfilm_WEB_DL.gif
####### TEXT TO SPEECH ######
tts:
- platform: google
language: 'de'
cache: true
cache_dir: /tmp/tts
time_memory: 600
###### kWh Costs ######
input_text:
energycosts:
name: € / kWh
initial: 2451