Ms

Results 10 comments of Ms

It can be accessed at this format: get the state of the switch ``` {"id":65028,"method":"get_properties","params":[{"did":"xxx","siid": 2, "piid": 1}]} ``` turn on the switch ``` {"id":65029,"method":"set_properties","params":[{"did":"xxx","siid": 2, "piid": 1,"value":true}]} ``` i...

@lovelylain Thanks for the yaml. did is supposed to be the device ID of the plug not the name of the properties.

> 小米miot知识讲解及设备接入【6日更新支持cover、加速响应】 - 『HomeAssistant』综合讨论区 - 『瀚思彼岸』» 智能家居技术论坛 - Powered by Discuz!: https://bbs.hassbian.com/thread-11749-1-1.html > > ha0y/xiaomi_miot_raw: https://github.com/ha0y/xiaomi_miot_raw 这个太棒了,感觉可以写一个HomeBridge的大一统插件了

Sorry i don't have a Rust runtime. But when i run jieba original version (python) it works as expected. ![image](https://user-images.githubusercontent.com/3821012/185970811-5041ca1e-faec-4bae-894d-0f66f8a4a22b.png)

@curquiza Hi, it works well in jieba-rs too. could you tell which function or command is called when using jieba as a tokenizer? testing code: ```rust extern crate jieba_rs; use...

@JonnoFTW I have the same issue and thanks for the `dict_to_thrift ` function. And there is a little problem in the code. ```python # handle each type here if thrift_type...

哈哈,编号89757的彩蛋可还行~

> 请问这个是通过什么端口和空调伴侣通信的呀 miio

> @ms300 我用miio调用set_power 返回ok 但空调不启动 这种情况 您遇到过么 预先与空调配对过吗?在开启的情况下发送命令设置温度有效吗? 我用到现在还没有遇到过不好使的情况,另外特别频繁发送指令可能会导致空调伴侣不响应,重启下就可以了。

> > > @ms300 我用miio调用set_power 返回ok 但空调不启动 这种情况 您遇到过么 > > > > > > 预先与空调配对过吗?在开启的情况下发送命令设置温度有效吗? 我用到现在还没有遇到过不好使的情况,另外特别频繁发送指令可能会导致空调伴侣不响应,重启下就可以了。 > > 配对了 用米家APP是可以开启的 用米家APP开启用miio发送指令调温度 只有第一次可以 后面的也是返回ok但没有生效 我抓包后用miio解码发现两者的数据包并没有什么区别 这很奇怪 > > ---------------------------Update--------------------------------------- >...