2024年9月29日星期日 上午11:23:01

Yeelight设备接入HA方式总结-举例:Yeelight韶华420接入HA

2 年 前
#11300 引用
Yeelight 设备接入HA方式总结 - 举例:Yeelight韶华420接入HA

https://post.smzdm.com/p/a3g7v625/
0
2 年 前
#11301 引用
Yeelight  wifi灯接入HA有三种方式:

一种是将设备接入Yeelight APP,适用Yeelight集成插件。

在Yeelight APP开启“局域网控制”,然后在HA -> 配置 -> 集成 -> 添加集成 -> 搜索并选择Yeelight -> 输入灯的ip -> 提交。


一种是将设备接入米家APP,用token

一种是将设备接入米家APP,用 米家账号批量集成(使用第三方集成,如:xiaomi miot auto)



come f rom:
https://github.com/openhab/openhab-addons/blob/e24d43aecbcfc5af551c8e9087d9be6992e5c69a/bundles/org.openhab.binding.yeelight/README.md

To control Yeelight devices with this binding, you need to connect the device to your local network at first with the Yeelight app. This app is available in the iOS AppStore and on Google Play.

Then you need to activate LAN control mode by enable Developer Mode in device settings, after which it will become discoverable by Home assistant.


Yeelight smart LED devices announce themselves on the network through UPnP, so that they can be discovered.



Full list of commands can be found here
https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf
0
2 年 前
#11302 引用
支持本地miot协议的设备


'yeelink.bhf_light.v6',
    'yeelink.controller.v2',
    'yeelink.curtain.ctmt1',
    'yeelink.light.ceil26',
    'yeelink.light.ceil29',
    'yeelink.light.ceil31',
    'yeelink.light.ceil34',
    'yeelink.light.ceila',
    'yeelink.light.ceilb',
    'yeelink.light.ceilc',
    'yeelink.light.colorb',
    'yeelink.light.colorc',
    'yeelink.light.fancl1',
    'yeelink.light.fancl2',
    'yeelink.light.fancl5',
    'yeelink.light.lamp15',
    'yeelink.light.lamp22',
    'yeelink.light.mono6',
    'yeelink.light.monoa',
    'yeelink.light.monob',
    'yeelink.light.strip8',
    'yeelink.light.stripa',
    'yeelink.switch.sw1',
    'yeelink.ven_fan.vf3',
    'yeelink.ven_fan.vf5',
0
2 年 前
#11303 引用
1
0
2 年 前
#11304 引用
通过米家开放协议miio接入,不过这种方式对小白不是很友好。

1. 获取设备token:走米家协议接入HA,首先要将设备接入米家APP;

然后要获取设备的token,方法好几种,最简单的就是安装“Xiaomi Gateway 3”集成,选择“Add Mi Cloud Account”,输入小米账号密码即可自动获取账号下所有米家设备信息及token。

“Xiaomi Gateway 3”是非官方集成,需要通过HACS安装或者手动下载安装,因为HACS的安装也不容易,不是本文重点,就不详细描述了。

2. 安装xiaomi_miio_raw集成:HA集成里的Xiaoni Miio集成,只支持网关,不支持Yeelight灯接入,对于没有被他人适配的miio设备,我们可以用xiaomi_miio_raw集成实现接入HA。xiaomi_miio_raw也是非官方集成,可以在HACS里搜索“Xiaomi MiIO Raw”安装。

3. 使用miio_raw将Yeelight灯接入HA:在HA的配置文件configuration.yaml中添加如下内容
0
2 年 前
#16415 引用
xiaomi miot auto 局域网集成步骤图解

https://www.wunote.cn/article/4651/
0