Margrop
Articles158
Tags353
Categories21
1password AC AP API AppDaemon Aqara Cron Date Diagrams.net HA HADashboard HomeAssistant IP IPv4 Java LVM‑Thin Linux MacOS MySQL NAS PPPoE PostgreSQL ProcessOn Proxmox VE SSL Shell TTS TimeMachine UML Uptime Kuma Web Windows activate ad adb adblock agent aligenie aliyun alpine annotation aop authy autofs backup baidupan bash bitwarden boot brew browser caddy2 cdn centos cert certbot charles chat chrome classloader client clone closures cloudflare cmd command commit container crontab ctyun ddsm demo dependency deploy developer devtools dll dns docker domain download draw drawio dsm dump dylib edge exception export fail2ban feign firewall-cmd flow frp frpc frps fuckgfw function gcc gfw git github golang gperftools gridea grub gvt-g hacs havcs heap hello hexo hibernate hidpi hoisting homeassistant hosts html htmlparser https idea image img img2kvm import index install intel io ios ip iptables iptv ipv6 iso java javascript jetbrains jni jnilib jpa js json jsonb jupter jupyterlab jvm k8s kernel key kid kms kodi koolproxy koolproxyr kvm lan lastpass launchctl learning lede letsencrypt linux live low-code lvm lxc m3u8 mac macos mariadb markdown maven md5 microcode mirror modem modules monitor mount mstsc mysql n2n n5105 nas network nfs node node-red nodejs nohup notepad++ npm nssm ntp oop openfeign openssl os otp ovz packet capture pat pdf pem perf ping pip plugin png powerbutton print pro proxy pve pvekclean python qcow2 qemu qemu-guest-agent rar reboot reflog remote remote desktop renew repo resize retina root route router rule rules runtime safari sata scipy-notebook scoping scp server slmgr so socks source spk spring springboot springfox ssh ssl stash string supernode svg svn swagger sync synology systemctl tap tap-windows tapwindows telecom template terminal tls token totp tvbox txt ubuntu udisk ui undertow uninstall unlocker upgrade url v2ray vhd vim vlmcsd vm vmdk web websocket wechat windows with worker wow xiaoya xml yum zip 中国电信 云电脑 交换机 光猫 公网IP 内存 内网IP 升级 启动 夏令时 天猫精灵 天翼云 安装 容器 导入 小米 常用软件 广告屏蔽 序列号 应用市场 异常 抓包 描述文件 时区 显卡虚拟化 智能家居 智能音箱 梯子 模块 流程 流程图 浏览器 漫游 激活 火绒 电信 画图 直播源 续期 网关 网络风暴 群晖 腾讯 虚拟机 证书 路由 路由器 软件管家 软路由 运维监控 镜像 镜像源 门窗传感器 防火墙 阿里云 阿里源 集客

Hitokoto

Archive

HomeAssistant:常用的 HACS,Github 第三方支持库 Repo

HomeAssistant:常用的 HACS,Github 第三方支持库 Repo

HACS

亲测米家系列

米家互联网空调,zhimi.aircondition.ma3

https://github.com/margrop/zhimi
样例配置文件如下

1
2
3
4
5
6
7
8
9
10
11
12
13
climate:
- platform: xiaomi_miio_airconditioningcompanionmcn02
name: 主卧空调
host: 192.168.1.xxx
token: 00000000996745e6373da0000000000
target_sensor: sensor.none
scan_interval: 60
- platform: xiaomi_miio_airconditioningcompanionmcn02
name: 次卧空调
host: 192.168.1.xxx
token: 00000000eb4b89209de37fd00000000
target_sensor: sensor.none
scan_interval: 60

小米空调伴侣2,lumi.acpartner.mcn02

https://github.com/EugeneLiu/xiaomi_airconditioningcompanionMCN02
样例配置文件如下

1
2
3
4
5
6
7
8
9
climate:
- platform: zhiair
name: 客厅空调
host: 192.168.1.xxx
token: 000000060cbdb81c632a6ea00000000
- platform: zhiair
name: 儿童房空调
host: 192.168.1.xxx
token: 0000000008a4efa9b0f3fb000000000

小爱触屏音箱,钉钉群的消息提醒,xiaomi.wifispeaker.lx04

https://github.com/Yonsm/ZhiMsg
https://github.com/Yonsm/ZhiMi
https://github.com/Yonsm/ZhiBot
样例配置文件如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
zhimsg:
- platform: ding
name: 钉钉信使
token: !secret dingbot_token
secret: !secret dingbot_secret
- platform: miai
name: 小爱触屏音箱
did: 2671000000
model: lx04

zhibot:
- platform: genie
- platform: miai
token: !secret zhibot_token
- platform: ding
token: !secret zhibot_token
- platform: ding
name: 小爱触屏音响
token: !secret zhibot_token

米家万能遥控器,chuangmi.remote.v2

https://github.com/custom-components/remote_homeassistant
样例配置文件如下

1
2
3
4
5
6
7
8
9
remote:
- platform: xiaomi_miio
host: 192.168.1.xxx
token: 0000000649a5afc10f6fc60b0000000
model: chuangmi.remote.v2
name: 万能遥控 SH
slot: 1
timeout: 30
hidden: false

米家智能插座基础版(WIFI),chuangmi.plug.m1,使用官方 xiaomi_miio即可

https://www.home-assistant.io/integrations/xiaomi_miio/
样例配置文件如下

1
2
3
4
5
6
7
8
9
10
11
switch: 
- platform: xiaomi_miio
name: N4插座SH主卧
host: 192.168.1.xxx
token: 00000000c002be49862b1d1e00000000
model: chuangmi.plug.m1
- platform: xiaomi_miio
name: N3插座SH主卧
host: 192.168.1.xxx
token: 0000000016e418341ece619100000000
model: chuangmi.plug.m1

亲测天猫精灵和小度音箱

HAVCS全称为Home Assistant Voice Control Skill,诣在提供Home Assistant对接音箱平台的能力,通过在Home Assistant上运行本插件,可对接音箱厂家的技能开放平台(自建技能或用线上技能),响应音箱指令控制相关设备。
https://github.com/cnk700i/havcs

解决问题:HAVCS菜单套娃(HAVCS菜单无限嵌套显示)

  1. 进入Supervisor页面,打开加载项File editor,打开目录custom_components/havcs/
  2. index.html 中的 /havcs/ 替换为 /havcshtml/
  3. login.html 中的 /havcs/ 替换为 /havcshtml/
  4. 找到http.py中的 class HavcsDeviceView类,查找下面代码段,将下面代码中havcs改为havcshtml
    1
    hass.http.register_static_path('/havcs', local, False)
  5. 还是http.py这个文件,查找下面代码段,将下面代码中havcs改为havcshtml
    1
    config = {"url": '/havcs/index.html'}`
  6. 检查无误后,重启 HA

亲测 Apple 系列

iCloud设备
https://github.com/gcobb321/icloud3

参考文章

  1. https://ask.csdn.net/questions/4358468
Author:Margrop
Link:http://blog.margrop.com/post/homeassistant-github-support-repo/
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可