IoT Messaging Communication Based on Mind+ Real-Time Mode

Last revision 2026/08/14

This article introduces how to use Mind+ Real-time Mode and SIoT V2 to conduct a very low-barrier "two-way message communication" experiment, completing your first "data upload + remote reverse control" workflow.

1. Determine Topic Naming

Before sending and receiving data, you must determine a routing channel for data transmission in the platform, which is the Topic.

  • Taking SIoT V2 as an example, when you enter the device name test in the "New Topic" pop-up window, the platform will automatically complete it and generate the full Topic:
    siot/test

Where:

  • siot: Project name (automatically generated and fixed by the platform in SIoT V2, custom naming is not supported yet).
  • test: Device name (customized by the user based on the actual hardware and experiment).
  • /: Level separator. For beginners during debugging and naming, it is recommended to use only English letters, numbers, or underscores to prevent communication errors or garbled characters caused by special Chinese characters.

image-20260814111734907

[!NOTE]
Version Differences (V1 vs. V2):

  • SIoT V1 does not require manual Topic creation on the Web Administration Console. When the program runs and directly sends data to a specific Topic (e.g., Project/Device), the SIoT V1 backend will automatically capture and create that Topic.
  • SIoT V2 is recommended to have Topics created manually in the Web Administration Console, and then directly referenced by their complete platform-generated Topic names in your code.

2. Send Test Data to SIoT

Open the Mind+ software and switch to Real-time Mode:

image-20260814150159573

  1. Click "Extensions" in the bottom-left corner and load the MQTT / SIoT extension library under "Network Services".

image-20260814150530861

  1. Write the block program as shown below: Initialize and configure the SIoT local area network (LAN) server IP, username, and password, and publish the message hello SIoT to the specified Topic:

    MQTT Initialization Interface:

    image-20260814112651364

    SIoT V2 Code:

    image-20260814112641551

[!NOTE]
Distinguishing Block Versions:
In Mind+, SIoT V1 and SIoT V2 use different publishing blocks. V2 blocks will have a clear SIoT V2 label on them. Be careful not to mix them up.
image-20260814112747882


3. Verify Results in the Web Administration Console

Run the Mind+ program, then log into the SIoT Web Administration Console.
Go to the data details page of the corresponding Topic. If you observe the hello SIoT string and its corresponding timestamp sent from Mind+ in the log table, it means the upward data transmission channel has been successfully established.

V1 Interface:

image-20260814134006266

V2 Interface:

image-20260814133831336


4. Test Remote Reverse Control (Sending Commands)

Next, test the issuing of control commands:

  1. In the "Send Message" input box on the Web Administration Console, enter ON or OFF.
  2. Add event receiving logic in the Mind+ Real-time Mode program:
    • When receiving the message ON: Make the stage character say "Turn on the light!"
    • When receiving the message OFF: Make the stage character say "Turn off the light!"

image-20260814135957497

When ON is received, the stage area displays “Turn on the light”:

image-20260814140120504

When OFF is received, the stage area displays “Turn off the light”:

image-20260814140132965

Through this simple closed-loop test, you can verify that the bidirectional communication channels between the client (Mind+) and the server (SIoT) are fully ready.


5. Integrate with Mind+ Dashboard (Data Visualization)

After becoming familiar with basic bidirectional message communication, you can quickly use the built-in Data Visualization service of Mind+. With various exquisite virtual instrument components such as buttons, line charts, and indicator lights, you can easily build an IoT control panel with a very low barrier to entry.

image-20260814140925683

For a detailed tutorial on binding and using the Data Visualization Dashboard, please refer to: Mind+ Data Visualization Dashboard Tutorial.

Was this article helpful?

TOP