-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.yaml
229 lines (212 loc) · 6.99 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
homeassistant:
auth_providers:
- type: homeassistant
# Name of the location where Home Assistant is running
name: JimmyHome
# Location required to calculate the time the sun rises and sets
# 34.7832120008,113.5896400503
latitude: 34.7831370996
longitude: 113.5896239570
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 116
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Asia/Shanghai
# Customization file
customize: !include_dir_merge_named customize
customize_domain:
automation:
homebridge_hidden: true
initial_state: on
#introduction:
# Enables the frontend
frontend:
http:
#base_url: https://www.efeichn.wang:8123
ssl_certificate: /home/pi/.homeassistant/ssl/efeichn.top.crt
ssl_key: /home/pi/.homeassistant/ssl/efeichn.top.key
cors_allowed_origins:
- http://reformedreality.com
#Discovery:
# enable:
# - homekit
homekit:
#auto_start: false
name: Home Assistant
filter:
#include_entities:
include_domains:
- cover
- light
- fan
- switch
- sensor
- climate
# - media_player
exclude_entities:
- switch.ciwo_room_light_an
- switch.ciwo_room_light_changyedeng
- switch.ciwo_room_light_light_sleep
- switch.ciwo_room_light_ming
- switch.ciwo_room_light_nuanbaise
- switch.ciwo_room_light_on_off
- switch.ciwo_room_light_quanliang
- switch.ciwo_room_light_riguangse
- switch.cool
- switch.heat
- switch.heat_slave
- switch.left_right
- switch.light_mode
- switch.mode
- switch.sleep_mode
- switch.smart_enjoy
- switch.speed
- switch.temp_down
- switch.temp_up
- switch.temp_visiable
- switch.up_down
- switch.zhuwo_room_light_an
- switch.zhuwo_room_light_changyedeng
- switch.zhuwo_room_light_light_sleep
- switch.zhuwo_room_light_ming
- switch.zhuwo_room_light_nuanbaise
- switch.zhuwo_room_light_on_off
- switch.zhuwo_room_light_quanliang
- switch.zhuwo_room_light_riguangse
- switch.kayee_fan_onoff
#- sensor.keting_xiaomi_filter_used
#- sensor.keting_xiaomi_filter_remaining
- switch.keting_light
#- switch.lg_tv
#- switch.air_conditioner
# entity_config:
# media_player.lg_tv:
# feature_list:
# - feature: on_off
# Enables configuration UI
config:
mobile_app:
discovery:
# 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
# Discover some devices automatically
# Allows you to issue voice commands from the frontend in enabled browsers
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Sensors
# Text to speech
tts:
- platform: google_translate
service_name: google_say
language: 'zh-cn'
- platform: baidu
#app_id,api_key,secret_key从百度云上注册得到
app_id: 6786368
api_key: guwmwrNwc7RiDScPK7wgb19n
secret_key: IDdbf8M5powM5ViY93A9REsOqLNqRXiT
#speed:语速0-9(缺省5)
#pitch:语调0-9(缺省5)
#volume:音量0-15(缺省5)
#person:声音(0:女,1:男,3:百度合成,4:百度合成,缺省0)
speed: 4
pitch: 5
volume: 13
person: 0
smartir:
check_updates: false
mqtt:
broker: 192.168.88.1
panel_iframe:
# homebridge:
# title: HomeBridge
# icon: mdi:apple
# url: https://www.efeichn.top:8125
# kodi:
# title: KODI
# icon: mdi:kodi
# url: https://www.efeichn.top:8890
# weblink:
# title: SmartHome
# icon: mdi:home-automation
# url: https://www.efeichn.top:1234
weblink:
title: NODE-RED
icon: mdi:home-automation
url: https://www.efeichn.top:1881
notify:
havcs:
platform: # 音箱平台服务网关,至少启用一个
- aligenie # 天猫精灵
http:
clients:
aligeniedemo: 123456
aligenie_ignore: ignore
ha_url: https://www.efeichn.top:8123
skill:
bind_device: True # 是否启动时更新设备绑定信息。不设置默认True(叮咚音箱才有效)>>*新版本加入<<
sync_device: False # 是否主动上报设备状态。不设置默认False(小度音箱才有效)
# mqtt相关设置,启用http代理服务及APP技能服务才生效
setting:
app_key: RosF0J0W8ofPu82t # 注册账号获取的AppKey
app_secret: GoKGsYuxtSPz.=Vn # 注册账号获取的AppSecret
entity_key: 1qaz2wsx1qaz2wsx # 加密entity_id的key,自定义16个字符。不设置则不加密
device_config: ui
lovelace:
mode: yaml
system_health:
logger:
# 可能的日志严重程度是: notset, debug, info, warn, warning, error, fatal, critical
default: info
#default: info
logs:
aiohttp.access: critical
aiohttp.server: critical
homeassistant.core: error
homeassistant.components.automation: warn
homeassistant.components.binary_sensor: warn
homeassistant.components.device_tracker: warn
homeassistant.components.switch: debug
homeassistant.components.sensor: debug
homeassistant.components.discovery: warn
homeassistant.components.http: warn
homeassistant.components.media_player: warn
homeassistant.components.recorder: warn
homeassistant.components.sensor.command_line: warn
homeassistant.components.shell_command: debug
homeassistant.helpers.script: warn
homeassistant.helpers.entity: warn
#homeassistant.components.homekit: debug
#homeassistant.components.homekit.type_media_players: debug
custom_components.smartir: debug
custom_components.havcs: debug
#requests.packages.urllib3.http.client: error
group: !include_dir_merge_named group
device_tracker: !include_dir_merge_list device_tracker
sensor: !include_dir_merge_list sensor
automation: !include_dir_merge_list automation
scene: !include_dir_merge_list scene
switch: !include_dir_merge_list switch
climate: !include_dir_merge_list climate
light: !include_dir_merge_list light
cover: !include_dir_merge_list cover
script: !include_dir_merge_named script
fan: !include_dir_merge_list fan
input_number: !include_dir_merge_named input_number
input_boolean: !include_dir_merge_named input_boolean
shell_command: !include_dir_merge_named shell_command
conversation: !include_dir_merge_named conversation
intent_script: !include_dir_merge_named intent_script
media_player: !include_dir_merge_list media_player