Skip to content

Unable to Obtain UUID/AuthKey for TuyaOpen (ESP32-S3) – Blocking Device Authentication #553

Description

@Karthikeyareddy183

Hi team,

I’m currently working with DuckyClaw using an ESP32-S3 and TuyaOpen (TuyaOS), and I’ve run into a blocking issue related to device authentication.

🔍 Problem

Even after setting up everything correctly, I’m unable to obtain valid UUID and AuthKey, which are required for the device to authenticate with Tuya Cloud. Because of this, the device fails to pair and does not appear in the Smart Life app.

⚙️ Setup Details
Board: ESP32-S3
SDK: TuyaOpen (latest)
Framework: TuyaOS
Project: Successfully created in Tuya IoT Platform
Cloud project: Created under “Smart Home”
APIs: Authorized
License: Purchased TuyaOpen License (Personal Developer Version)
📌 Observed Behavior
Device boots normally and enters pairing mode
Wi-Fi AP is created successfully

Serial logs show:

Authorization read failure. Replace the TUYA_OPENSDK_UUID and TUYA_OPENSDK_AUTHKEY
Device is not discoverable in the Smart Life app
❗ Key Issue

I’m unable to find a way to generate or retrieve the required UUID/AuthKey, even after purchasing the TuyaOpen license:

Tuya Cloud only provides Access ID and Access Secret, which don’t work for device authentication
No visible option to “Get License” or generate credentials in the product/hardware section
Documentation around TuyaOpen + ESP32 flow is unclear on this step
❓ Questions
What is the correct way to obtain UUID/AuthKey when using DuckyClaw with TuyaOpen?
Does the purchased license require any activation step before credentials become available?
Is DuckyClaw expecting these credentials to be manually provisioned, or is there an automated flow?
🚫 Impact

This issue is currently blocking device-cloud connectivity and further development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions