This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
169 lines (140 loc) · 3.53 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
homeassistant:
name: Home
latitude: !secret MY_LATITUDE
longitude: !secret MY_LONGITUDE
elevation: 315
unit_system: imperial
time_zone: America/New_York
customize: !include customize.yaml
frontend:
themes:
blue:
primary-color: "#356AA0"
http:
api_password: !secret MY_API_PASS
#ssl_certificate: !secret SSL_CERT
#ssl_key: !secret SSL_KEY
#base_url: !secret BASEURL
cors_allowed_origins:
- https://google.com
- https://home-assistant.io
use_x_forwarded_for: True
trusted_networks:
- 127.0.0.1
- 192.168.7.0/24
ip_ban_enabled: True
login_attempts_threshold: 5
config:
conversation:
device_tracker:
- platform: nmap_tracker
hosts: 192.168.7.1/24
track_new_devices: yes
- platform: icloud
username: !secret ICLOUD_USER
password: !secret ICLOUD_PASS
track_new_devices: yes
- platform: geofency
- platform: owntracks
track_new_devices: yes
#- platform: bluetooth_tracker
discovery:
updater:
#include_used_components: true
sun:
#https://home-assistant.io/components/recorder/
recorder:
purge_interval: 1
purge_keep_days: 3
#https://home-assistant.io/components/logger/
logger:
default: error
logs:
homeassistant.components.sensor.template: critical
homeassistant.components.cover: critical
history:
#zwave:
# usb_path: /dev/ttyACM0
media_player:
- platform: cast
- platform: apple_tv
host: 192.168.7.23
login_id: !secret apple_tv_login
- platform: roku
host: 192.168.7.52
name: roku living room
- platform: vlc
name: hass_speaker
arguments: '--alsa-audio-device=hw:0,0'
tts:
- platform: google
cache: true
cache_dir: /tmp/tts
time_memory: 300
notify:
- platform: ios
- name: all_ios
platform: group
services:
- service: ios_jeffreystonesiphone
- service: ios_jeffreystonesipad
- service: ios_katherinestonesiphone
- name: jeff_ios
platform: group
services:
- service: ios_jeffreystonesiphone
- service: ios_jeffreystonesipad
mqtt:
broker: 192.168.7.24
port: 1883
username: !secret MQTT_USER
password: !secret MQTT_PASS
### Includes ###
alert: !include_dir_merge_named alerts/
group: !include groups.yaml
automation: !include_dir_merge_list automation
sensor: !include_dir_merge_list sensors
binary_sensor: !include_dir_merge_list binary_sensors
light: !include_dir_merge_list lights
switch: !include_dir_merge_list switches
script: !include_dir_merge_named scripts/
intent_script: !include intents/intents.yaml
scene: !include scenes.yaml
input_select: !include input_select.yaml
input_boolean: !include input_boolean.yaml
zone: !include zones.yaml
ios: !include ios.yaml
duckdns:
domain: !secret duckdns_domain
access_token: !secret duckdns_token
python_script:
### Devices and Services
ifttt:
key: !secret IFTTT_API_KEY
cover:
- platform: mqtt
name: "Garage Door"
state_topic: 'smartthings/Garage Door/contact'
command_topic: 'smartthings/Garage Door/door'
state_open: 'open'
state_closed: 'closed'
payload_open: 'open'
payload_close: 'closed'
retain: true
optimistic: true
climate:
platform: honeywell
username: !secret HONEYWELL_USER
password: !secret HONEYWELL_PASS
name: First Floor
region: us
scan_interval: 600
alexa:
map:
### Custom Commands
shell_command:
alarm_off: pkill mpg123
tornado_alarm: mpg123 /media/audio/Tornado_Siren.mp3
door_chime: mpg123 /media/audio/Store_Door_Chime.mp3
security_alarm: mpg123 /media/audio/security_siren.mp3
security_alarm_intro: mpg123 /media/audio/Siren_Noise.mp3