homeassistant研究參考

Configuration.yaml模板:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

#latitude: 39.5067
#longitude: 116.6659
#time_zone: Asia/Shanghai


# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


xiaomi_aqara: #多網關配置
  discovery_retry: 5 #重連嘗試次數
  interface: '192.168.**.**' #ha主機地址
  gateways:
    - mac: * #網關mac
      key: * #網關密鑰
      host: * #網關ip
    - mac: *
      key: *
      host: *
    - mac: *
      key: *
      host: *


logger: #控制檯打日誌級別
  default: debug

指南:

  1. 安裝zlib
    https://blog.csdn.net/u014749862/article/details/54430022

  2. 多線程編譯
    https://www.cnblogs.com/linbc/archive/2011/09/06/2168393.html

  3. 安裝Python37
    https://www.cnblogs.com/anxminise/p/9650206.html

  4. 解決ssl問題
    https://jingyan.baidu.com/article/cbf0e500475c042eab289362.html

  5. 安裝ffmpeg
    https://linuxconfig.org/how-to-install-ffmpeg-on-redhat-8
    https://www.cnblogs.com/wintercloud/p/11162962.html
    http://www.ffmpeg.org/releases/

  6. 指定國內源
    https://blog.csdn.net/qq_30162859/article/details/81808155

  7. 安裝HA
    https://home-assistant.cc/installation/general/

監控畫面
https://www.home-assistant.io/integrations/ffmpeg/
https://www.cnblogs.com/dpf-10/p/5533698.html
https://blog.neroxps.cn/2017/11/30/home_assistant_ffmpeg/
https://bbs.hassbian.com/forum.php?mod=viewthread&tid=6395
https://bbs.hassbian.com/thread-2251-1-1.html
https://bbs.hassbian.com/thread-7279-1-2.html

數據庫替換
http://cxlwill.cn/Home-Assistant/HomeAssistant-PostgreSQL/

自動化
https://bbs.hassbian.com/thread-4386-1-1.html
https://www.home-assistant.io/docs/automation/trigger/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章