mihome-binary-protocol
mihome-binary-protocol copied to clipboard
In PROTOCOL.md, the formula for initialization vector is `IV = MD5(MD5(Key) + Token)` However, the following apears to be correct instead (at least for my `dreame.vacuum.mb1808`): `IV = MD5(Key +...
Added some clarifications and fixed encryption key&iv formula
I tried recreating (in my own Python 2 code) a mihome packet that I sniffed with the protocol docs but I wasn't able to get the MD5 checksum right. The...
Hi, A few weeks ago I decided to write my own library to control Yeelights using the protocol described here. I wanted to have provisioning and token harvesting (library aioiotprov)...
I am reading into the topic with the hope to be able to speak to my Roborock vacuum cleaner using UDP messages in an enclosed WiFi without connection to the...
``` Traceback (most recent call last): File "./pcap-decrypt.py", line 67, in args.pcapfile, display_filter=("udp.port == 54321")) File "/usr/local/lib/python3.5/dist-packages/pyshark/capture/file_capture.py", line 47, in __init__ raise FileNotFoundError(str(self.input_filename)) FileNotFoundError: capture.pcapng.gz ``` Hello, Need help with...
Great project! Exactly what I was looking for. I have a Yeelight RGBW with an updated firmware and noticed that indeed the token in the "Hello" packet is missing. I...
首先感谢OpenMiHome的协议文档!为我们打开了一扇非常有趣的大门。 但是非常遗憾,文档里存在一些信息描述错误、以及有些重要的信息没有提及。 踩过几个坑之后,简单总结一下,学习着开了一个repo,试着补充说明一些关于协议的重要的内容,供大家参考。 [miio by C#](https://github.com/xcray/miio-by-CSharp)
Please see commit notes.
The documentation and proof-of-concept code only cover communication between the device and the user's phone. However the device also uses a very similar protocol to talk to Xiaomi's servers. It's...