Message Reporting Test

Last Updated on : 2023-01-29 09:27:16

This topic describes how to test the device-to-cloud messaging to measure the number of messages a device reports to the cloud per day. This can help you estimate the cost of your usage and detect unusual data reporting.

Prerequisites

  • You have created at least one smart product on the Tuya IoT Development Platform. For more information, see Create Products.
  • You have at least one device activated.

Procedure

Step 1: Go to Messaging Test

  1. Log in to the Tuya IoT Development Platform.

  2. In the left navigation bar, choose Product > Messaging Test.

  3. Click Change Product and select the target product from the drop-down list.

    Message Reporting Test

Step 2: Add device under test

You can add a device by device ID. After a device is added, its message usage is calculated at 00:00 on the next day. The result is estimated to be available within 12 hours. You can have the usage statistics run for up to three days with up to five devices.

Message Reporting Test

Step 3: View the test result

The metrics in the test result:

  • Range: The data points and logs that the device reports to the cloud.
  • Total Messages Reported: The total number of messages that the device reports to the cloud within the messaging test period.
  • Total Message Overages: The total number of messages over the free limits of 5,000 messages daily within the messaging test period. It is estimated that the device may go over the free usage limits.

If a device is forecasted to exceed the free limits, you can reduce unnecessary data reporting to avoid incurring additional charges.

Data isolation

To meet compliance requirements of different countries or regions, Tuya IoT Development Platform has six data centers deployed worldwide, namely China Data Center, Western America Data Center, Central Europe Data Center, India Data Center, Eastern America Data Center, and Western Europe Data Center. One device can be paired and activated in different data centers. You can switch between data centers to view device details stored in a specific data center.