|
楼主 |
发表于 2017-12-15 19:58:09
|
显示全部楼层
configuration.yaml 这里面设置什么吗?
homeassistant:
# Name of the location where Home Assistant is running
# 智能家居系统的名字,显示在主界面顶部。
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 24.5133
longitude: 117.6556
# 下面填入纬度和经度,计算太阳升起和设定时间所需位置,越精确越好。
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# 海拔高度用于修正天气参数和日出日落时间参数 (默认单位是:米)。
# 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 customize.yaml
#在网页界面的首页显示简介(那一大段英文),不想看到的话,请在前面加上#号
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# 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.
# base_url: example.duckdns.org:8123
# 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
discovery:
# 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:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: yr
# Text to speech
tts:
- platform: google
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
# xiaomi gateway 自己的
xiaomi_aqara:
gateways:
- mac: 35CE008C060E
key: E29E6BFD60179588
这是我现在的设置
|
|