-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfiguration.yaml
180 lines (152 loc) · 4.06 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
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 47.8338442
longitude: -122.3248267
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 124
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
# Customization file
customize: !include customize.yaml
# Customize windows and doors
customize_glob: !include customize_glob.yaml
# System health
system_health:
# Show links to resources in log and frontend
# introduction:
logger:
default: info
# Enables the frontend
frontend:
themes: !include themes.yaml
# Lovelace User Interface
lovelace:
mode: yaml
# Enables configuration UI
config:
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
base_url: !secret base_url
duckdns:
domain: jardi
access_token: !secret duckdns_token
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
notify:
- name: jardi_smtp
platform: smtp
server: smtp.gmail.com
port: 587
timeout: 15
sender: !secret email
encryption: starttls
username: !secret email
password: !secret gmail_password
recipient:
- !secret wife_phone
- !secret jardi_phone
sender_name: My Home Assistant
# Discover some devices automatically
discovery:
ignore:
- samsung_tv
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Track devices connected to my router Actiontec (Frontier FIOS)
device_tracker:
- platform: quantum_gateway
host: 192.168.1.1
password: !secret router_password
new_device_defaults:
track_new_devices: false
- platform: tile
username: !secret email
password: !secret tile_password
monitored_variables: PHONE
# Robot Vacuum cleaner
vacuum:
- platform: xiaomi_miio
host: 192.168.1.18
token: !secret xiaomi_vacuum_token
# Set up for todoist list
calendar:
- platform: todoist
token: !secret todoist_token
custom_projects:
- name: 'Trash This Week'
due_date_days: 7
include_projects:
- Trash Schedule
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor: !include sensors.yaml
# Nest Components
nest:
client_id: 3d1cccb7-a4c2-4869-86e5-3b4b0313310c
client_secret: !secret nest_secret
sensors:
monitored_conditions:
#- 'eta'
- 'humidity'
#- 'operation_mode'
- 'temperature'
- 'target'
binary_sensors:
monitored_conditions:
- 'away'
#- 'online'
- 'fan'
#- 'is_locked'
- 'has_leaf'
- 'motion_detected'
# Binary sensors
binary_sensor: !include binary_sensors.yaml
# Switches
# switch:
# - platform: tplink
# host: 192.168.1.156
#switch:
# - platform: mcp23017
# i2c_address: 0x20
# invert_logic: false
# pins:
# 15: Test LED
# Samsung TV
media_player:
- platform: samsungtv
host: 192.168.1.159
port: 8001
mac: 5c:49:7d:63:98:34
name: Living Room TV
# Text to speech
tts:
- platform: google_translate
service_name: google_say
#shell_command:
# renew_ssl: ~/certbot/certbot-auto renew --quiet --no-self-upgrade --standalone --preferred-challenges http-01
# Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml