Section 33

MQTT Data Format Details

⏱️ Estimated Duration: 20 mins

Deeply understand the full MQTT protocol format for device reporting and receiving control commands.

📚 Learning Points

  • MQTT Protocol Command Set: Detailed analysis of IOTAutoMate's MQTT control command format (e.g., JSON structure, method, params)
  • Control Instruction Details: Parameter analysis of instructions such as relay control (setOut), PWM control (setPWM), and task execution (ro)
  • Reporting Data Format Analysis: Detailed analysis of the device reporting JSON data structure (e.g., o for switch state, p for PWM state, i for input state, adc for analog value, cnt for counter)
  • Platform Integration Practice: Demonstrate how to send control instructions and parse reported data in combination with specific platforms
📝

Content in Progress

Detailed content for this section is currently being written. Please stay tuned. You can browse other completed sections or check out the MQTT Protocol Documentation .