Enable Quick Toggle

Last Updated on : 2024-06-24 09:27:10download

This topic describes how to configure a quick toggle and common functions of a product. After configurations are completed, a quick toggle appears to the right of the specified device on your app, so users can easily control the device.

Expected result

For example, you can enable the quick toggle feature of a smart device. Then, when you test the product on the Smart Life app, you will see the device card displays the quick toggle and common functions on the My Home page of the app. You can simply tap the quick toggle to power on or off the device.

Enable Quick ToggleEnable Quick ToggleEnable Quick Toggle

Prerequisites

You have created at least one product. For more information, see Create Products.

Procedure

  1. Log in to the Tuya Developer Platform.

  2. Go to Product Development.

  3. Select a product in the Developing state, and click Develop in the Operation column.

  4. Click Product Configuration.

  5. Find the Quick Toggle section and click Settings to enter the Quick operation settings page.

    Enable Quick Toggle
  6. On the Quick operation settings page, select the operation types. Also, you can change the icons.

    • Quick Toggle: You can select multiple quick toggles corresponding to specific data points.

      After configurations are completed, a quick toggle appears to the right of the specified device on your app, so users can easily control the device. Moreover, the quick toggle appears as a widget on users’ mobile phones, facilitating a quick wakeup.

    • Configure Common Functions: Up to four common functions are allowed.

      After configurations are completed, the section of Common Functions appears beside the specified device on your app.

      Enable Quick Toggle
  7. Click Save.

  8. Go back to Step 2 Device Interaction, and use the Smart Life app to scan the QR code and try out the quick toggle and common functions you have configured.

    Enable Quick Toggle