|
新买的树莓派鼓捣了半天,装了HA和awtrix 2.0。不知道什么原因,HA私活发现不了小米的设备(小米网关2,温度湿度计,人体感应器),本想买论坛的开关模块智能家居,鼓捣完,只有一个自动发现且能控制,余下来1个单开,一个3联都看得见摸不到,哪位大神能指导一下,谢谢
代码如下
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 31.31023
longitude: 121.5037
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 8
# 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
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Discover some devices automatically
discovery:
# Sensors
sensor:
# Weather prediction
- platform: yr
- platform: bitcoin
display_options:
- exchangerate
- trade_volume_btc
# Text to speech
tts:
- platform: google_translate
language: 'zh-cn'
media_player:
- platform: vlc
introduction_hachina:
tunnel2local:
# frpc命令位置
frpc_bin: "/home/pi/bin/frpc"
redpoint:
mqtt:
broker: 192.168.4.11
port: 1883
username: mqtt
password: mqtt
discovery: true
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
|
-
|