Awesome
tuya-local-key-extractor
Get Tuya device's local key easily using Official Tuya IoT Python SDK.
Installation
- Install
tuya/tuya-iot-python-sdk
:
pip3 install tuya-iot-py-sdk
-
Follow this guide to create a Tuya IoT project. You'll find
ACCESS_ID
andACCESS_KEY
after creating it. -
Open
config.py
in text editor and fill in info. -
Run
python3 extract.py
to get local keys.
Sample output:
[
{
"device_id": "ce058fxe********",
"device_name": "Fingerbot Plus",
"product_id": "blliqpsj",
"product_name": "Fingerbot Plus",
"category": "szjqr",
"uuid": "tuyaea0e********",
"local_key": "24e3735b********",
"mac_address": "DC:12:23:**:**:**"
}
]