Configuration Wizard of Smart Home PaaS

Last Updated on : 2023-10-18 02:47:49download

This topic describes how to create a project on the Tuya IoT Development Platform and link devices to this project with an account of the Smart Life app.

Prerequisites

You have registered with the Smart Life app.

Create a project

  1. Log in to the Tuya IoT Development Platform.

  2. In the left navigation pane, click Cloud.

  3. On the page that appears, click Create Cloud Project.

  4. In the Create Cloud Project dialog, set the required parameters.

    Parameters Description
    Project Name User-defined
    Description User-defined
    Industry Select one as per your needs.
    Development Method Select Smart Home.
    Data Center Select the correct data center to serve your project. For more information, see Mappings Between OEM App Accounts and Data Centers.
    Configuration Wizard of Smart Home PaaS
  5. Click Create to continue with project configuration.

  6. In the Authorize API Services dialog, select Industry Basic Service, Smart Home Basic Service and Device Status Notification.

    Configuration Wizard of Smart Home PaaS
  7. Click Authorize.

Get authorization key

Click the newly created project to enter the Overview page and get the Authorization Key used to make API requests.

Configuration Wizard of Smart Home PaaS

Link devices by app account

  1. Click the Devices tab.

  2. Choose Link Tuya App Account > Add App Account. A QR code will appear.

    Configuration Wizard of Smart Home PaaS

    Configuration Wizard of Smart Home PaaS
  3. Scan the QR code with the Smart Life app.

    The data center selected for your cloud project must be capable of serving the region of your app account. Here is how to find the region: open the mobile app you use and tap Me > Setting > Account and Security > Region. For more information, see Mappings Between OEM App Accounts and Data Centers.

    Configuration Wizard of Smart Home PaaS

  4. Tap Confirm on the app.

  5. Click All Devices. You will find all your smart devices that have been added to this mobile app are listed here.

Mappings between regions and data centers

Make sure the data center you select for your cloud project can serve the region of your app account.

  • Region: the region you have selected when you register with the Smart Life app. Here is how to find the region: open the mobile app you use and tap Me > Setting > Account and Security > Region.

    Configuration Wizard of Smart Home PaaS
  • Data center: The server that your cloud project is hosted on. You must select the correct data center that can serve your region. Otherwise, your devices cannot be connected to the Tuya IoT Development Platform.

    Configuration Wizard of Smart Home PaaS

    For more information, see Mappings Between OEM App Accounts and Data Centers.