- 积分
- 117
- 金钱
- 103
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
注册会员
- 积分
- 117
- 金钱
- 103
- HASS币
- 0
|
本帖最后由 wodeming 于 2020-1-5 21:22 编辑
大神求助,云米浴霸如何能接入home assistant。已经有了token和did按照https://github.com/xcray/miio-by-CSharp,同时抓了浴霸的数据包(21310050000000000729d74b5d4e970e3b2d981705dca70cc3e0a6656abc8473234fc9cda656d6deb0db6656f4a00b0b26bd9c17563e8641acfe784e83a482a74406f7cb6ea6d7faff6f833c1aa2f2b8),结果解密不了;
尝试向浴霸发数据,{"id":65005,"method":"set_led","params":["on"]},无论method后面跟什么指令,返回的都是{"result":["OK"],"id":65005}
今天拆开面板遥控器看了一下,是NST LT8910SSC 的芯片,也就是2.4G遥控
云米比Yeelight差远了,Yeelight的文档非常完整,指令,功能,参数范围写的清清楚楚。以后再不敢买云米的东西了。
安装云米商城的应用,最好是2.0以前的版本,安装好以后登录小米账号,打开列表里的设备,让软件自己下载好插件。
再把 “内部存储/Android/data/com.yunmi.water/files/Download/(UUID)/viomildex.bundle" 复制到电脑上,用notepad++打开
里面会有详细的操作指令。可能所有的云米设备都可以这样搞。
这个是云米热水器的:
get_prop:"washStatus[0 off,1 heat ,2 warm]","velocity","waterTemp","targetTemp","errStatus","hotWater[remain]","modeType[0 温水,1速热,2预约]","appointStart","appointEnd","needClean","smartAppoint","smartDetail"
set:"set_temp[30-75]","set_mode[0,1]","set_power[0,1]","set_smart_appoint","set_appoint[1,18,23]"
这个是云米浴霸的:
['switch_state','wind_tem','temp','humidity','customState','off_time','DelayShutdown','DisplayLamp']
'setDelayShutdown','setCustomMode','set_windtem','set_offtime','setCustomState','setReservatTime','setDisplayLamp'
换气:'set_switch'[4],
照明:'set_switch'[16]
自然风:'set_switch'[16384]
暖风:'set_switch'[4096]
待机:'set_switch'[2]
自定义:'set_switch'[256]
|
|