forked from haynieresearch/jarvis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
executable file
·268 lines (241 loc) · 7.67 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
#**********************************************************
#* CATEGORY CONFIG
#* GROUP HOME AUTOMATION
#* AUTHOR LANCE HAYNIE <[email protected]>
#**********************************************************
#Jarvis Home Automation
#Copyright (C) 2017 Haynie Research & Development
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License along
#with this program; if not, write to the Free Software Foundation, Inc.,
#51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#**********************************************************
#* BASE CONFIG
#**********************************************************
homeassistant:
latitude: !secret latitude_home
longitude: !secret longitude_home
elevation: !secret elevation
name: Home
temperature_unit: F
time_zone: America/Denver
unit_system: imperial
customize: !include config/customize.yaml
http:
api_password: !secret http_password
base_url: !secret base_url
trusted_networks:
- 127.0.0.1
- !secret base_ip
logger:
default: error
logs:
homeassistant.components.device_tracker: error
homeassistant.components.shell_command: debug
logbook:
include:
domains:
- automation
- alarm_control_panel
- scene
exclude:
domains:
- sun
- device_tracker
- group
- climate
entities:
- sensor.kitchen_proximity
- binary_sensor.kitchen_presence
- sensor.master_bedroom_proximity
- binary_sensor.master_bedroom_presence
- sensor.upstairs_hallway_proximity
- binary_sensor.upstairs_hallway_presence
- sensor.hudsons_room_proximity
- binary_sensor.hudsons_room_presence
- sensor.wesleys_room_proximity
- binary_sensor.wesleys_room_presence
- sensor.average_load_15m
- sensor.average_load_1m
- sensor.average_load_5m
- sensor.cpu_use
- sensor.dark_sky_cloud_coverage
- sensor.dark_sky_daily_summary
- sensor.dark_sky_hourly_summary
- sensor.dark_sky_wind_speed
- sensor.disk_use_
- sensor.pws_pressure_in
- sensor.pws_relative_humidity
- sensor.pws_temp_f
- sensor.pws_weather
- sensor.pws_wind_string
- sensor.ram_use
- sensor.time__date
history:
include:
entities:
- climate.downstairs
- sensor.average_down_temp
- climate.upstairs
- sensor.average_up_temp
- sensor.average_home_temp
- input_boolean.hvacautomation
- input_boolean.lancefirecall
- input_boolean.panic
- input_select.alarmstatus
- input_select.homestatus
- sensor.kitchen_humidity
- sensor.kitchen_temperature
- sensor.master_bedroom_humidity
- sensor.master_bedroom_temperature
- sensor.upstairs_hallway_humidity
- sensor.upstairs_hallway_temperature
- switch.hudsontv
- switch.wesleytv
- input_boolean.coalarm
- input_boolean.firealarm
- input_boolean.garage_alarm
- sensor.pws_temp_f
- sensor.pws_relative_humidity
- switch.hudsons_fan
- switch.wesleys_fan
- sensor.hudsons_room_temperature
- sensor.wesleys_room_temperature
- sensor.hudsons_room_humidity
- sensor.wesleys_room_humidity
- sensor.livingroom_harmony
- alarm_control_panel.home_alarm
recorder:
purge_days: 1
db_url: sqlite:///opt/jarvis/database/jarvis.db
exclude:
domains:
- sun
updater:
frontend:
config:
zeroconf:
wemo:
ios:
discovery:
shopping_list:
conversation:
alexa:
snips:
apiai:
#**********************************************************
#* ACCOUNTS
#**********************************************************
wink:
email: !secret wink_email
password: !secret wink_password
twilio:
account_sid: !secret twilio_sid
auth_token: !secret twilio_token
climate:
platform: honeywell
username: !secret honeywell_user
password: !secret honeywell_pass
region: us
scan_interval: 600
cool_away_temperature: 26
heat_away_temperature: 23
google:
client_id: !secret google_id
client_secret: !secret google_secret
ifttt:
key: !secret ifttt_key
#**********************************************************
#* MISC CONFIG
#**********************************************************
device_tracker:
- platform: nmap_tracker
hosts: 10.0.1.1/24
weblink:
entities:
- name: Home
url: http://localhost:8123
light:
- platform: hue
host: 10.0.1.202
filename: phue1.conf
allow_unreachable: true
allow_in_emulated_hue: true
allow_hue_groups: true
remote:
- platform: harmony
name: Living Room
host: 10.0.1.203
media_player:
- platform: itunes
host: 10.0.1.100
- platform: roku
- platform: pandora
notify:
- name: sms
platform: twilio_sms
from_number: !secret twilio_from
- name: call
platform: twilio_call
from_number: !secret twilio_from
#Track the Sun
sun:
emulated_hue:
host_ip: !secret base_ip
expose_by_default: true
shell_command:
command: "{{cmd}}"
run_sudo: /usr/bin/sudo "{{cmd}}"
volume: /usr/bin/amixer set PCM "{{cmd}}"%
tts: /opt/jarvis/scripts/tts.sh "{{message}}"
bomb_sound: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/missle_explosion.wav
alarm_sound: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/alarm.wav
fart_sound: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/fart.wav
air_raid_sound: /usr/bin/aplay /opt/jarvis/sounds/asound_effects/ir_raid.wav
ghost_sound: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/ghost.wav
zombie_sound: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/zombie_brains.wav
foghorn: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/foghorn.wav
gunshot: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/gunshot.wav
siren: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/siren.wav
bullmastiff: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/bullmastiff.wav
one_tone: /usr/bin/aplay /opt/jarvis/sounds/tones/one-tone.wav
two_tone: /usr/bin/aplay /opt/jarvis/sounds/tones/two-tone.wav
german_shephard: /usr/bin/aplay /opt/jarvis/sounds/sound_effects/german-shephard.wav
restart_system: /opt/jarvis/scripts/restart_system.sh
restart_jarvis_base: /opt/jarvis/scripts/restart_jarvis_base.sh
restart_jarvis_stt: /opt/jarvis/scripts/restart_jarvis_stt.sh
restart_jarvis_tts: /opt/jarvis/scripts/restart_jarvis_tts.sh
#Alarm Panel
alarm_control_panel:
- platform: manual
code: !secret alarm_code
name: home_alarm
pending_time: 30
trigger_time: 900
disarm_after_trigger: false
#**********************************************************
#* FUNNY SOUNDS
#**********************************************************
#**********************************************************
#* INCLUDES
#**********************************************************
automation: !include automations.yaml
intent_script: !include config/intents.yaml
camera: !include config/cameras.yaml
group: !include config/groups.yaml
sensor: !include config/sensors.yaml
switch: !include config/switches.yaml
binary_sensor: !include config/binary_sensors.yaml
scene: !include config/scenes.yaml
input_select: !include config/input_select.yaml
input_boolean: !include config/input_boolean.yaml
input_slider: !include config/input_slider.yaml
script: !include config/scripts.yaml
panel_custom: !include config/panel_custom.yaml