Open lelemm opened 2 years ago
One more question, why array position 1? auth_descriptors[1].write(_SUBSCRIBE_TRUE, "true")
If I let it write to auth_descriptors[1], it breaks my code (for my kettle)
if I run this code:
authDescriptors = authService.getDescriptors()
for x in authDescriptors:
print(x.uuid)
it returns the following uuids:
00000004-0000-1000-8000-00805f9b34fb 00002901-0000-1000-8000-00805f9b34fb 00000010-0000-1000-8000-00805f9b34fb 00002901-0000-1000-8000-00805f9b34fb 00002902-0000-1000-8000-00805f9b34fb 00000017-0000-1000-8000-00805f9b34fb 00002901-0000-1000-8000-00805f9b34fb 00002902-0000-1000-8000-00805f9b34fb 00000018-0000-1000-8000-00805f9b34fb 00002901-0000-1000-8000-00805f9b34fb 00002902-0000-1000-8000-00805f9b34fb 00000019-0000-1000-8000-00805f9b34fb 00002901-0000-1000-8000-00805f9b34fb 00002902-0000-1000-8000-00805f9b34fb
Any help?
The new hw revision features a completely different firmware which doesn't work with this project.
Right. Got it. When I have some time I will try to see what I can get from the APK then.
Hi drndos.
I'm trying to use your code with HA, but all handles are different for my kettle, so instead of using the handle directly, i'm using the UUID to get the characteristic and then write the data.
The problem is that the UUID 0001 that is used for auth is not visible/unavailable. When I list all characteristics from my Kettle, this is what it returns: Hi, trying to auth my kettle (mijia kettle pro), but the uuid 0001 is missing from the characteristics.
All uuids returned:
00002a00-0000-1000-8000-00805f9b34fb 00002a01-0000-1000-8000-00805f9b34fb 00002a04-0000-1000-8000-00805f9b34fb 00002a05-0000-1000-8000-00805f9b34fb 00002a50-0000-1000-8000-00805f9b34fb 00002a28-0000-1000-8000-00805f9b34fb 00010203-0405-0607-0809-0a0b0c0d2b10 00010203-0405-0607-0809-0a0b0c0d2b11 00010203-0405-0607-0809-0a0b0c0d2b12 00010203-0405-0607-0809-0a0b0c0d2b21 00000004-0000-1000-8000-00805f9b34fb 00000010-0000-1000-8000-00805f9b34fb 00000017-0000-1000-8000-00805f9b34fb 00000018-0000-1000-8000-00805f9b34fb 00000019-0000-1000-8000-00805f9b34fb 00000101-0065-6c62-2e74-6f696d2e696d 00000102-0065-6c62-2e74-6f696d2e696d 0000aa01-0000-1000-8000-00805f9b34fb 0000aa02-0000-1000-8000-00805f9b34fb 0000aa03-0000-1000-8000-00805f9b34fb 0000aa04-0000-1000-8000-00805f9b34fb 0000aa05-0000-1000-8000-00805f9b34fb
Have you had any kind of problems like this? Any ideas?
I tried to decompile the APK but it even after removing obfuscation, continues bad for reading...
Thanks!