-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
216 lines (197 loc) · 5.47 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
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
sensor: !include sensors.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
switch: !include switches.yaml
light: !include lights.yaml
template: !include templates.yaml
binary_sensor: !include binarysensors.yaml
cover: !include covers.yaml
fan: !include fans.yaml
button: !include buttons.yaml
mqtt: !include mqtt.yaml
#localtuya: !include localtuya.yaml
homeassistant:
customize: !include customize.yaml
# currency: USD
# external_url: "https://tahler.duckdns.org"
allowlist_external_dirs:
- "/tmp"
frontend:
themes: !include themes.yaml
#utility_meter: !include utility.yaml
rest_command:
switchbot_device_command:
url: "https://api.switch-bot.com/v1.0/devices/{{ deviceId }}/commands"
method: post
content_type: "application/json"
headers:
Authorization: !secret switchbot_api
payload: '{"command": "{{ command }}","parameter": "{{ parameter }}"}'
ifttt:
key: !secret iftt_password
shell_command:
update_ha: ha core update
turn_off_unraid: "ssh -i /config/.ssh/wtahlerKey [email protected] bash /boot/config/sleep.sh"
update_git: "/root/config/gitupdate.sh"
device_tracker:
- platform: ping
hosts:
bill_pixel5_ping: 192.168.86.12
cassiepersonal_ping: 192.168.86.57
bill_oneplus8_ping: 192.168.86.47
alarm_control_panel:
- platform: manual
name: Home Alarm
arming_time: 30
delay_time: 20
trigger_time: 4
disarmed:
trigger_time: 0
armed_home:
arming_time: 0
delay_time: 0
notify:
- platform: html5
name: html5notifier
vapid_email: "firebase-adminsdk-h3dks@html5-push-notifier.iam.gserviceaccount.com"
vapid_pub_key: "BMDOLlXgZdPodZYdt83ZrdYs405ja9EaRfzIarWFN96MnOIa2C5vpDQdXq4NzT1yw-MHpiHHuT6z_SpxPCr2_RU"
vapid_prv_key: !secret vprivkey
- platform: telegram
name: tgrambill
chat_id: !secret bill_chat_id
- platform: telegram
name: tgramdad
chat_id: !secret jim_chat_id
- platform: telegram
name: tgramcassie
chat_id: !secret cassie_chat_id
- platform: telegram
name: tgramBroadcast
chat_id: !secret group_chat_id
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- ::1
- 172.30.33.0/24
google_assistant:
project_id: mysmarthome-288213
service_account: !include SERVICE_ACCOUNT.JSON
report_state: true
secure_devices_pin: !secret googlepin
exposed_domains:
- light
- fan
entity_config:
# switch.down_on:
# expose: true
# switch.down_off:
# expose: true
light.all_lights:
expose: false
cover.small_bedroom_curtains:
expose: true
cover.big_bedroom_curtains:
expose: true
cover.tv_curtains:
expose: true
switch.night_switch:
expose: true
switch.fluxer:
expose: false
switch.3d_printer:
expose: false
light.unused_dimmer:
expose: false
cover.prius_garage_door:
expose: true
cover.gym_garage_door:
expose: true
cover.shop_door:
expose: true
recorder:
db_url: !secret mysqldb
exclude:
domains:
- updater
- device_tracker
- weather
- sun
- media_player
entity_globs:
- sensor.clock*
- sensor.date*
- sensor.glances*
- sensor.time*
- sensor.cassie*
- sensor.oneplus*
- sensor.uptime*
- sensor.power*
include:
entities:
- sensor.glances_cpu_used
- sensor.glances_ram_used_percent
nest:
client_id: 187933860375-q75efh6pdti4e43tc9s1tk863qe6jk1d.apps.googleusercontent.com
client_secret: !secret nest_client_secret
project_id: 4f89ec27-2bc6-4f16-a69d-e255139a39b2
# influxdb:
# host: a0d7b954-influxdb
# port: 8086
# max_retries: 3
# username: "homeassistant"
# password: !secret influxdbpass
# database: "homeassistant"
# precision: "s"
telegram_bot:
- platform: webhooks
api_key: !secret tgram_key
allowed_chat_ids:
- !secret bill_chat_id
- !secret jim_chat_id
- !secret cassie_chat_id
- !secret group_chat_id
# mqtt:
# broker: a7a156b1e0fb470ca73b82fe0bd2afe3.s2.eu.hivemq.cloud
# certificate: auto
# binary_sensor:
# - state_topic: "jtahlerhass/status"
# payload_off: "on"
# payload_on: "off"
# device_class: problem
# name: "Jim Home Assistant Status"
# - state_topic: "kchass/status"
# payload_off: "on"
# payload_on: "off"
# device_class: problem
# name: "Karen Home Assistant Status"
# - state_topic: "octoPrint/status"
# payload_off: "connected"
# payload_on: "disconnected"
# device_class: problem
# name: "Octoprint Problem Status"
# device_tracker:
# - name: bill location
# state_topic: "wtahlerHass/entities/billlocation"
# value_template: "{{ value_json.person.bill_tahler }}"
# json_attributes_topic: "wtahlerHass/entities/billlocation/attributes"
# json_attributes_template: "{{ {'latitude': (state_attr('person.bill_tahler', 'latitude') | string), 'longitude': (state_attr('person.bill_tahler', 'longitude') | string)} | tojson }}"
# port: 8883
# username: home_assistant
# password: !secret mqtt_password
# birth_message:
# topic: "wtahlerhass/status"
# payload: "on"
# will_message:
# topic: "wtahlerhass/status"
# payload: "off"
duckdns:
access_token: !secret duck_token
domain: tahler.duckdns.org