uzlonewolf
uzlonewolf
I'm not thrilled with the idea of distributing the key/secret from a hacked Android app with tinytuya, but having the framework there so someone can just paste it in on...
No, they're tied to the app version, they'll only change if a new version of the app is released.
Aaaand I found a Python version: https://gist.github.com/avataar/2a6ee4f58aaedfcc062a838380f3cffb which is a standalone version of https://github.com/rospogrigio/localtuya/pull/1131 . The secret that one expects is `'_'.join( (certSign, secret2, secret) )` I also found a...
Very nice @blakadder !
> can it potentially implement on tinyTuya? Like I mentioned above, I'm not thrilled with the idea of distributing the key/secret from a hacked Android app with TinyTuya, so you're...
I now have a PR in with @blakadder to add support for tinytuya-compatible device.json files.
While it's a good start, this PR breaks when passed IVs >96 bits and also does not handle authentication tags at all (which are the whole point of GCM mode).
That can still blow up if the bulb accepts the command but does not return anything (as `status()` can return None) or if '20' is not in the response. It...
@romicaiarca It's a Zigbee gateway and sensors? You need to create a "parent" device for the gateway itself and then attach the sensors as children: https://github.com/jasonacox/tinytuya/pull/226
If you haven't already I'd try rebooting the gateway. Sometimes they get stuck in a weird state and need to be rebooted. Beyond that I'm not sure what else to...