Configuration Guide Using Custom Development Method

Last Updated on : 2024-04-11 10:40:21download

This topic describes how to create a project, and log in to the Tuya Device Manager app for basic operations such as network pairing.

This documentation is no longer updated. For more information, see Quick Start of Custom Development.

Create a project

  1. Log in to the platform.

  2. In the left navigation bar, click Cloud > Projects.

  3. On the page that appears, click Create.

  4. In the Create Project dialog box, configure Project Name, Description, Industry, and Availability Zone. In the Development Method field, select Custom Development from the dropdown list.

    Note: Tuya deploys six data centers globally and provides reliable IoT cloud services for customers worldwide. You can select one or multiple availability zones where your services are deployed. This can be changed later.

    Configuration Guide Using Custom Development Method
  5. Click Create to continue project configuration.

  6. In Configuration Wizard, select Device status notification and Industry Project Client Service API.
    Configuration Guide Using Custom Development Method

    Note: Industrial General related and Authorization APIs have been selected as default.

  7. Click Authorize.

  8. Fill in the asset and account information, the asset will be created and authorized to this account automatically.

    Note: For more information about assets, see Manage Assets.

    Configuration Guide Using Custom Development Method
  9. Click Create.

Get authorization key

Select Applications > Cloud to get the Access ID and Access Secret.

Configuration Guide Using Custom Development Method

Create an application

  1. Click Cloud > Projects > My Project. Click the target project.

  2. From the top navigation bar, select Applications > App > Add Application.
    Configuration Guide Using Custom Development Method

  3. In the Add Application window, Select Tuya Device Manager (Android) for Application Name and fill in other parameters as needed.

    Note: SHA1 and Application ID will be filled automatically.

    Configuration Guide Using Custom Development Method

Configure on the Tuya Device Manager app (Android)

Tuya Device Manager app provides basic functions such as device pairing, login and registration, and asset management. The sample is based on the Restful API interface of Tuya Open API to implement related functions. Tuya IoT App SDK is an important part of the Tuya SaaS Development Framework product series.

Tuya Device Manager app provides the following functions:

  • User module (login and logout)
  • Asset module (asset query and selection)
  • Device pairing module (AP, EZ, and QR code mode)
  • Device management module (device query and device unbinding)

Step 1: Install the app

Click Tuya Device Manager App to download and install the app.

Step 2: Configure the app

  1. Go to the cloud project page, and click the target project.

  2. From the project page, select Applications > App > Try Tuya Device Manager App, and scan the QR code to configure the Client ID and Client Secret.
    Configuration Guide Using Custom Development Method

Step 3: Log in to the app

  1. Choose the region where we create our account, for example, “China”.
  2. Get the username and password for logging in to the Device Manager app.
    1. Log in to the platform.
    2. Select Cloud > Projects, and click the target project.
    3. Click the Users tab, and get the user information.
  3. Use the username and password to log in to the app.
    The home page of the app is as follows.
    Configuration Guide Using Custom Development Method

Step 4: Pair devices

Pair devices according to the instructions on the page.

  • EZ Mode
    Configuration Guide Using Custom Development Method

  • AP Mode
    Configuration Guide Using Custom Development Method

  • QR Code
    Configuration Guide Using Custom Development Method

Step 5: Successful pairing

  • Successful device pairing

    Configuration Guide Using Custom Development Method
  • Device list

    Configuration Guide Using Custom Development Method