Link Devices

Last Updated on : 2022-12-20 09:26:39download

After you add devices to an app, you can link the devices with cloud projects to enable device control and management on the Tuya IoT Development Platform. The platform provides several methods to link devices.

  • Link my app
  • Link my WeChat mini program
  • Link Tuya app account
  • Link SaaS

Method 1: Link my app

You can pair devices through the app and link them with a cloud project.

Each app can be linked with two projects at most. To link the app with a third project, you must unlink the app from one of the two linked projects first.

Prerequisites

  • You have created a project. For more information about project creation, see Quick Start.
  • You have created an app. The following types of apps are supported.

Procedure

  1. Visit My Cloud Projects.

  2. Click a project to be linked.

  3. Click the Devices tab.

  4. Click Link My App > Add Apps.

    Link Devices
  5. On the page of Link App, you can select apps to be linked and click Link in the Operation column.

  6. On the page that appears, set up the device linking method and device permissions, and click OK.

    Link Devices
  7. (Optional) You can click Manage Devices to manage the devices, or click Unlink to unlink an app from a project.

    Link Devices

Method 2: Link my WeChat mini program

You can link devices paired through the WeChat mini programs.

Each WeChat mini program can be linked with two projects at most. To link the WeChat mini program with a third project, you must unlink the WeChat mini program from one of the two linked projects first.

Prerequisites

  • You have created a project. For more information about project creation, see Quick Start.
  • You have created a WeChat mini program.

Procedure

  1. Visit My Cloud Projects.

  2. Click a project to be linked.

  3. Click the Devices tab.

  4. Click Link My WeChat Mini Program > Add WeChat Mini Programs.

    Link Devices
  5. On the page of Link WeChat Mini Program, you can select WeChat mini programs to be linked and click Link in the Operation column.

  6. On the page that appears, set up the device linking method and device permissions, and click OK.

    Link Devices
  7. (Optional) You can click Manage Devices to manage the devices, or click Unlink to unlink a WeChat Mini Program from a project.

    Link Devices

Method 3: Link a Tuya app account

You can link devices associated with accounts of the Smart Life app with a project.

Each app account can be linked with two projects at most. To link the app with a third project, you must unlink the app account from one of the two linked projects first.

Prerequisites

  • You have created a project. For more information about project creation, see Quick Start.
  • You have registered an app account.
  • Make sure the app account is associated with a device.

Procedure

  1. Log in to the Tuya IoT Development Platform.

  2. Choose Cloud > Development to enter My Cloud Projects and select a project.

  3. Click the Devices tab.

  4. Click Link Tuya App Account > Add App Account.

    Link Devices
  5. On the Scan QR Code page, you can scan the QR code with the Smart Life app.

    Link Devices
  6. Tap Confirm login on the app.

  7. On the page that appears, set up the device linking method and device permissions, and click OK.

    Link Devices
  8. (Optional) You can click Manage Devices to manage devices, or click Unlink to unlink an app from a project.

    Link Devices

Method 4: Link SaaS applications

To manage devices that are associated with a product, you can link them with a cloud project.

Prerequisites

  • You have created a project. For more information about project creation, see Quick Start.
  • You have created a product. For more information about project creation, see Create Products.

Procedure

  1. Visit My Cloud Projects.

  2. Click a project to be linked.

  3. Click the Devices tab.

  4. Click Link SaaS > Link SaaS.

    Link Devices
  5. On the page of Link SaaS, you can select a SaaS to be linked.

    Link Devices
  6. Click OK. The interface is as shown below.

    Link Devices
  7. (Optional) You can click Link SaaS to enter the Link SaaS page. And then, deselect the previously linked SaaS and click OK to unlink the SaaS from a project.

    Link Devices

FAQs

Why does a paired device not appear in the device list?

Your own app, your own mini program, Tuya app account, and SaaS apps have completed the network pairing for the device and linked with the specified apps, but the device does not appear in the list. In this case, you can try: