English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Message Service

Last Updated on : 2022-09-05 07:37:30download

On the Tuya IoT Development Platform, you can enable the message service to timely receive messages about a device, such as device registration, data reporting, and status change.

Only the Message Queue service is available currently. The platform provides push notifications of message accumulation via SMS or email.

Procedure

  1. Log in to the Tuya IoT Development Platform.

  2. In the left-side navigation bar, click Cloud > Message Service.

  3. Select a project from the drop-down list at the top of the Message Service page. Click the toggle switch to enable the message service.

    Message Service

  4. In the Configure Message Service dialog box, you can set parameters for push notifications.

    Message Service
    Parameter Description
    Message service type Only the message queue service is available currently. For more information, see Message Queue.
    Alert contact No alert (not recommend) When messages are accumulated, the platform will not send you notifications.
    Set phone number or new email address When the number of accumulated device messages exceeds the threshold, the platform will send you notifications via SMS or email.
    Alert threshold The threshold value to trigger an alert, ranging from 3 to 100.
    Alert interval The time interval to send push notifications. 1, 6, 12, and 24 hours are available.
  5. Click OK.

    Wait for the message queue to take effect. It takes about 30 minutes for the message service or data center changes to be implemented.
    Once your subscription is ready, you will see Subscribed in the Status column.

    Message Service

  6. (Optional) Set a test device.

    1. Click the Message Test tab.

    2. Enter the associated device ID in the search box, click the magnifier icon, and double-click the selected device.

      Message Service

      If an associated device is specified as a test device, it will report a message to the test channel for you to debug device features.