How to send SPM data to a private IoT platform using MQTT?

Data processing methods vary depending on the specific version:

Modbus: Connect to a DTU or computer for data export.

Tuya WiFi: Retrieve data by calling Tuya’s API directly.

ESP WiFi: MQTT can be invoked under the embedded web page.

Tuya Zigbee:

Option 1: Connect directly to the server via Z2M, allowing data export to their MQTT platform.
Option 2: Retrieve data by using Tuya’s API, which requires a connection to the Tuya gateway.
Refer to Tuya’s official technical documentation for API specifications and usage rules.

Zigbee 3.0:
Z2M

Read more here: Source link