forked from scipioni/home-assistant-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
233 lines (181 loc) · 5.05 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
homeassistant:
name: Home
latitude: 45.493400
longitude: 11.106900
elevation: 430
unit_system: metric
time_zone: Europe/Rome
#customize: !include_dir_merge_named customizations
customize: !include customize.yaml
whitelist_external_dirs:
- /media/photo
config:
frontend:
http:
# see https://www.home-assistant.io/components/http/
api_password: !secret http_password
base_url: !secret base_url
cors_allowed_origins:
- https://google.com
- https://www.home-assistant.io
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
trusted_networks:
- 127.0.0.1
- 192.168.2.0/24
updater:
#discovery:
history:
recorder:
purge_interval: 1
purge_keep_days: 2
logbook:
sun:
#mqtt:
# broker: 127.0.0.1
# port: 1883
# client_id: home-assistant-1
# keepalive: 60
# username: pi
# password: !secret mqtt_password
# protocol: 3.1
zwave:
usb_path: /dev/zwave
network_key: !secret zwave_network_key
#config_path: /home/hass/lib/lib/python3.5/site-packages/libopenzwave-0.3.1-py3.5-linux-x86_64.egg/config
#device_config: !include zwave_device_config.yaml
logger:
default: warning
#default: debug
logs:
homeassistant.components.device_tracker: debug
# homeassistant.components.device_tracker.mqtt: debug
# custom_components.telegram_webhooks: debug
# custom_components.grafana_webhooks: debug
# homeassistant.components.http: debug
# homeassistant.components.shell_command: debug
homeassistant.components.tradfri: debug
device_tracker: !include device_trackers.yaml
notify: !include notify.yaml
media_player: !include media_players.yaml
sensor: !include_dir_merge_list sensors
zone: !include zones.yaml
automation: !include_dir_list automation
group: !include groups.yaml
input_boolean: !include input_boolean.yaml
input_select: !include input_select.yaml
shell_command: !include shell_command.yaml
script: !include_dir_named scripts
switch: !include switch.yaml
google_assistant: !include google_assistant.yaml
###########################################
weblink:
entities:
- name: Musica
url: http://cubo.home:6680/musicbox_webclient
- name: Grafana
url: http://pi.csgalileo.org/grafana/
- name: Cloud
url: http://pi.csgalileo.org/cloud/
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
camera:
- platform: foscam
ip: 192.168.2.14
port: 80
username: foscam
password: !secret foscam_c1
# rtsp url: rtsp://foscam:foscam1@192.168.2.21:554/11
# rtsp mcast: rtsp://192.168.2.21:554/11
# - platform: generic
# name: 'Bianca'
# still_image_url: http://192.168.2.12:80/cgi-bin/anv/images_cgi?channel=0&user=admin&pwd=admin
# # sito del costruttore: http://www.szsinocam.net/ (non il .com)
# # model: szsinocam SN-IPC-5029CSW
# # rtsp url: rtsp://192.168.2.12:554/ucast/11
# - platform: onvif
# host: 192.168.2.29
# username: admin
# password: admin
# port: 1018
# - platform: ffmpeg
# input: rtsp://192.168.2.29:554/11
# name: cancello
- platform: mjpeg
name: cancello
still_image_url: http://192.168.2.35:8080/b9en9X80sUF9vvWw4AMvrrphdC2ATG/jpeg/64JpGe9I8r/XJhXxDIcGQ/s.jpg
mjpeg_url: http://192.168.2.35:8080/b9en9X80sUF9vvWw4AMvrrphdC2ATG/mjpeg/64JpGe9I8r/XJhXxDIcGQ
#graphite:
# host: 127.0.0.1
# port: 2003
influxdb:
host: 127.0.0.1
port: 8086
include:
entities:
- sensor.contatore_power_2
- sensor.contatore_power_3
- sensor.frigorifero_power
- sensor.lavastoviglie_power
- sensor.lavatrice_power
- sensor.multi_soggiorno_luminance
- sensor.multi_soggiorno_relative_humidity
- sensor.multi_soggiorno_temperature
- sensor.multi_portico_luminance
- sensor.multi_portico_temperature
- sensor.multi_portico_seismic_intensity
- sensor.multi_camere_luminance
- sensor.multi_camere_temperature
- sensor.multi_camere_seismic_intensity
- sun.sun
- sensor.speedtest_download
- sensor.speedtest_upload
- sensor.speedtest_ping
- sensor.yweather_temperature_max
- sensor.yweather_temperature_min
- sensor.yweather_condition
telegram_bot:
#platform: webhooks
platform: polling
api_key: !secret telegram_token
trusted_networks:
- 149.154.167.197/32
- 149.154.167.198/31
- 149.154.167.200/29
- 149.154.167.208/28
- 149.154.167.224/29
- 149.154.167.232/31
allowed_chat_ids:
- 73496590
- 84015820
- 609301127
#- -209766105
#microsoft_face:
# api_key: !secret microsoft_api
#grafana_webhooks:
panel_iframe:
music:
title: 'Music'
url: !secret music_url
consumi:
title: 'Consumi'
url: https://scipio.csgalileo.org/grafana/dashboard/db/consumi?orgId=2
sensori:
title: 'Sensori'
url: https://scipio.csgalileo.org/grafana/dashboard/db/sensori?orgId=2
tts:
- platform: google
language: 'en'
- platform: picotts
language: 'en-US'
#language: 'it_I'
conversation:
intents:
HassShoppingListAddItem:
- Add {item} to my shopping list
shopping_list:
map:
python_script:
tradfri:
host: 192.168.2.30