Tuya

Interact with Tuya Smart Home API

Get Device Status

AI-generated

Summary

Fetches the current status of a Tuya device using its device ID and the configured Tuya API credentials.

Inputs

  • Device ID (required) — ID of the device whose status to retrieve.

Output shape

A list of n8n items, each containing the Tuya API response in its json field.

The node first obtains an access token, then sends a GET request for each input item to that device’s status endpoint. If Continue On Fail is enabled, a failed item returns a json object with an error field.

Links

Discussion