Tuya

Interact with Tuya Smart Home API

List Devices

AI-generated

Summary

Retrieves all devices associated with a Tuya Smart Home account using the configured API credentials.

Inputs

None.

Output shape

a list of items, each containing a device object

The list of devices depends on the API credentials used and the specific account permissions.

Examples

Example 1: Fetch all devices for the Tuya account configured in the node's credentials to generate a master list.

Select 'List Devices' operation, no additional parameters required.

Example 2: Filter a list of devices returned by a previous node to find devices of a specific type.

Use 'List Devices' as the source node, then add an 'If' or 'Filter' node to process the results.

Links

Discussion