starkillerOG
starkillerOG
@xcray I see you have quite some experiance with the Xiaomi Miio protecol since you wrote a CSharp implementation. Do you have any ideas on how to obtain the token...
Alright, thanks for your info. If you happen to come accross new commands for the gateway, please let me know. On a side node, do you happen to know how...
just tryed the `get_device_list` command but does not work on lumi.gateway.v3 I get `miio.exceptions.DeviceError: {'code': -32601, 'message': 'Method not found.'}` I can get devices using `self.send("get_device_prop", ["lumi.0", "device_list"])` and that...
@rezmus you are amazing, that is incredibly helpfull!!! I will emidiatly start adding all those device ids How did you get that model map, where is that documented?
@rezmus is that firmware dump available somewhere (on github) in readable text format?
> > > @starkillerOG if there is some hashing algo for tokens you need to reverse engineer it from hubs firmware. @rezmus I tried looking at the firmware dump you...
Alright, do you happen to know someone who might be able to help with this?
I finished a PR for including this callback mechanism into python miio. The only problem left is obtaining the encrypted_token from the normal token. See https://github.com/rytilahti/python-miio/issues/699#issuecomment-633005818 If someone has any...
I just found a way to get the "encrypted token": ``` from miio.protocol import Utils token = "TokenTokenToken" def calculated_token_enc(token): token_bytes = bytes.fromhex(token) encrypted_token = Utils.encrypt(token_bytes, token_bytes) encrypted_token_hex = encrypted_token.hex()...
@drphungky thank you for reporting the issue. I implemented a fix in this PR: https://github.com/home-assistant/core/pull/76626 If you appreciate the Netgear intgration, consider sponsering the upstream library: https://github.com/MatMaul/pynetgear