Tuya icon

Tuya

IoT platform for smart device control and automation.

6 searches7 actionsPollingAuth: OAuth

AI-assisted documentation4 min read

This documentation is compiled from our integration source code, internal specs for Tuya, its official API documentation and anonymized requests logs we collect from our support team[2].

Open Tuya on WEXTL →

To use Tuya on WEXTL you need an active account and OAuth client credentials, granted by signing in with your account.[3]

You’ll be redirected to sign in and approve access — your password is never shared with WEXTL.

  • Data CenterselectRequired
  • Client IDtextRequired

    Follow thr instruction to get your Client ID and Secret.

    [1]
  • Client SecretpasswordRequired
  1. Log in to your WEXTL account, add the Tuya node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your Tuya account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →

Notes

Credentials are org-scoped; share them with teammates from the Credentials picker on any of its nodes.For detailed information on connecting an application, see Connect an application →

Get Device DetailsAction
Input fields[3]
FieldType
DeviceRequired
choice
Output fields[3]
FieldType
Active Timenumber
Categorytext
Category Nametext
Create Timenumber
Gateway IDtext
Icontext
IDtext
Iptext
Lattext
Local Keytext
Lontext
Modeltext
Nametext
Onlineboolean
Owner IDtext
Product IDtext
Product Nametext
Subboolean
Time Zonetext
Update Timedate
1other output field
Get Device Operation LogSearch
Input fields[3]
FieldType
DeviceRequired
choice
TypeRequired
choice
Start TimeRequired
date
End TimeRequired
date
Query TypeRequired
choice
Limitnumber
Output fields[3]
FieldType
Codetext
Event Fromtext
Event IDnumber
Valuetext
Event Timedate
Statustext
Get Device StateAction
Input fields[3]
FieldType
DeviceRequired
choice
Output fields[3]
FieldType
Statenumber
Get Device StatusAction
Input fields[3]
FieldType
DeviceRequired
choice
Output fields[3]
FieldType
Resultarray
Codetext
Valuetext
Get Device Status Reporting LogSearch
Input fields[3]
FieldType
DeviceRequired
choice
Start TimeRequired
date
End TimeRequired
date
Limitnumber
Output fields[3]
FieldType
Codetext
Valuetext
Event Timedate
Get Scene Linkage RulesSearch
Input fields[3]
FieldType
SpaceRequired
choice
Typechoice
Limitnumber
Output fields[3]
FieldType
Typetext
Running Modetext
Nametext
IDtext
Space IDtext
Statustext
Create Scene Linkage RulesAction
Input fields[3]
FieldType
SpaceRequired
choice
NameRequired
text
TypeRequired
choice
Decision ExpressionRequired
choice
ActionsRequired
array
Entity IDRequired
text
Action ExecutorRequired
choice
Output fields[3]
FieldType
IDtext
Delete Scene Linkage RulesAction
Input fields[3]
FieldType
SpaceRequired
choice
Enable / Disable AutomationAction
Input fields[3]
FieldType
SpaceRequired
choice
Is Enable?Required
boolean
Make an API Calluniversal
Input fields[3]
FieldType
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status codenumber
Modify Scene Linkage RuleAction
Input fields[3]
FieldType
SpaceRequired
choice
Nametext
Typechoice
Decision Expressionchoice
Actionsarray
Entity IDRequired
text
Action ExecutorRequired
choice
Send Commands to DeviceAction
Input fields[3]
FieldType
DeviceRequired
choice
Trigger a SceneAction
Input fields[3]
FieldType
SpaceRequired
choice

Look for Tuya templates in the WEXTL template library.

Browse templates →
  1. WEXTL® Tuya Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for Tuya.
  4. WEXTL® visual workflow builder data.

Last updated: Jul 24, 2026 18:13