openwrt-homeassistant-xiaomi_miot

  1. https://github.com/openlumi/homeassistant_on_openwrt,目前为2024.3.3版
  2. wget https://raw.githubusercontent.com/openlumi/homeassistant_on_openwrt/23.05/ha_install.sh -O – | sh
  3. 重启openwrt或/etc/init.d/homeassistant start,ip:8123建立账号
  4. 手动安装hacs,版本2.0.0起仅支持ha版本2024.4.1 or later
  5. https://github.com/hacs/integration/releases手动下载所需版本
  6. 解压hacs.zip到custom_components/hacs目录下,/etc/init.d/homeassistant restart
  7. 配置-集成-添加集成-hacs,授权验证。。。完成后左侧菜单出现hacs
  8. 进入hacs,搜索xiaomi_miot,安装,/etc/init.d/homeassistant restart
  9. 配置-集成-添加集成-xiaomi_miot,安装,授权等等
  10. 一些问题:
    脚本安装ha过程中提示安装python3-numpy错误,未解决
    脚本安装的xiaomi_miot运行中提示“failed dependencies ffmpeg”,https://github.com/home-assistant/core/releases下载对应版本,解压后找到ffmpeg复制到对应目录下,解决
    脚本安装的xiaomi_miot运行中提示”无法加载配置向导: {“message”:”Invalid handler specified”}”,原因可能为https://bbs.hassbian.com/thread-14046-1-1.html,改hacs安装
    脚本wget -O – https://get.hacs.xyz | bash -安装hacs失败,提示ha版本过低,改手动安装

发表评论