redphx / tuya-local-key-extractor

Get Tuya device's local key easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tuya-local-key-extractor

Get Tuya device's local key easily using Official Tuya IoT Python SDK.

Installation

  1. Install tuya/tuya-iot-python-sdk:
pip3 install tuya-iot-py-sdk
  1. Follow this guide to create a Tuya IoT project. You'll find ACCESS_ID and ACCESS_KEY after creating it.

  2. Open config.py in text editor and fill in info.

  3. 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:**:**:**"
  }
]

About

Get Tuya device's local key easily


Languages

Language:Python 100.0%