-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfiguration.yaml
executable file
·228 lines (199 loc) · 4.66 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
homeassistant:
name: Home
latitude: 51.151682
longitude: 6.064496
elevation: 27
unit_system: metric
time_zone: Europe/Amsterdam
customize: !include customize.yaml
automation: !include_dir_list automation
group: !include groups.yaml
sensor: !include sensor.yaml
sensor mqtt: !include sensor_mqtt.yaml
sensor template: !include sensor_template.yaml
binary_sensor: !include sensor_binary.yaml
binary_sensor trend: !include sensor_trend.yaml
scene: !include scenes.yaml
light: !include light.yaml
switch: !include switch.yaml
zone:
name: Work
latitude: !secret work_latitude
longitude: !secret work_longitude
radius: 500
icon: mdi:worker
logger:
default: debug
# logs:
# mysensors.mysensors: debug
battery_state:
sun:
frontend:
history:
updater:
logbook:
ios:
recorder:
#purge_days: 7
db_url: mysql://homeassistant:homeassistant@127.0.0.1:3306/homeassistant
http:
api_password: !secret http_password
server_port: 8124
# ssl_certificate: /etc/letsencrypt/live/koen01.synology.me/fullchain.pem
# ssl_key: /etc/letsencrypt/live/koen01.synology.me/privkey.pem
trusted_networks:
- 10.0.1.0/24
mqtt:
broker: 10.0.1.59
port: 1883
username: !secret mqtt_username
password: !secret mqtt_password
#mqtt_export:
# publish_topic: "home/states"
alarm_control_panel:
platform: manual
influxdb:
host: 127.0.0.1
database: home_assistant
username: !secret influx_user
password: !secret influx_password
device_tracker:
- platform: owntracks
- platform: traccar
username: !secret traccar_user
password: !secret traccar_password
host: !secret traccar_host
- platform: iphonedetect
hosts:
koen_iphonekoen: 10.0.1.222
iphonevannina: 10.0.1.140
netatmo:
api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret netatmo_username
password: !secret netatmo_password
notify telegram:
name: telegram_koen
platform: telegram
api_key: !secret telegram_api_key
chat_id: !secret telegram_chat_id
sensor plants:
- platform: miflora
mac: C4:7C:8D:60:BD:4D
name: plant 1
force_update: false
monitored_conditions:
- moisture
- light
- temperature
- conductivity
- platform: miflora
mac: C4:7C:8D:60:BF:D1
name: plant 2
force_update: false
monitored_conditions:
- moisture
- light
- temperature
- conductivity
camera:
- platform: foscam
ip: 10.0.1.35
name: Schuur
port: 88
username: !secret foscam_username
password: !secret foscam_password
- platform: mjpeg
mjpeg_url: http://10.0.1.20:99/videostream.cgi
name: Kippenhok
username: !secret kippenhok_user
password: !secret kippenhok_password
- platform: foscam
ip: 10.0.1.16
name: C1
port: 88
username: !secret foscam_username
password: !secret foscam_password
- platform: generic
still_image_url: http://api.buienradar.nl/image/1.0/RadarMapNL?w=500&h=512
name: Neerslag radar
- platform: generic
still_image_url: http://cdn.knmi.nl/knmi/map/page/weer/actueel-weer/temperatuur.png
name: Huidig
rfxtrx:
device: '/dev/ttyUSB-RFX433'
debug: True
dummy: False
mysensors:
gateways:
- device: mqtt
persistence_file: '/home/hass/.homeassistant/mysensors_mqtt.json'
topic_in_prefix: 'mygateway1-out'
topic_out_prefix: 'mygateway1-in'
debug: True
persistence: True
version: '2.0'
retain: true
optimistic: false
media_player:
platform: kodi
host: http://10.0.1.48
port: 8080
name: Kodi
username: 1234
password: 1234
turn_off_action: shutdown
cover:
platform: rfxtrx
devices:
071a000000000001:
name: Carport
input_slider:
sprinklertimer:
name: Sprinkler timer
icon: mdi:clock
initial: 45
min: 0
max: 60
step: 5
servo:
name: Servo Slider
min: 0
max: 170
step: 1
unit_of_measurement: degrees
icon: mdi:target
input_select:
camera_presets:
name: Camera presets
options:
- Preset 1
- Preset 2
- Preset 3
- Preset 4
initial: Preset 1
icon: mdi:video
input_boolean:
notify_doors:
name: Notify when doors open
initial: off
icon: mdi:alert-circle-outline
sprinkler:
name: Sprinkler program
initial: off
icon: mdi:timer
allways_detect:
name: Allways detect motion
initial: off
icon: mdi:run-fast
shell_command:
camera_preset_1: !secret camera_preset_1
camera_preset_2: !secret camera_preset_2
camera_preset_3: !secret camera_preset_3
camera_preset_4: !secret camera_preset_4
mindergas: /home/pi/mindergas/mindergas_mqtt.py
script:
mindergas:
alias: Upload gas usage
sequence:
- service: shell_command.mindergas