Skip to content

MindConnect nodes

With "MindConnect" nodes, you can write the values of the datapoint, send a command to MindConnect MQTT device and check the status of the sent command. For more information about MindConnect Elements, refer to Connectivity.

Note

Ensure your MindConnect device is successfully onboarded before using these nodes.

In the “MindConnect” node palette, the following nodes are available:

  • Write MindConnect
  • Command MindConnect
  • Command MindConnect Status

Write MindConnect

write-mindconnect-node

The "write mindconnect" node allows you to write a plain value to a datapoint of the onboarded MindConnect device.

Example

To execute the example flow using the write mindconnect node, follow these steps:

  1. Create the flows as shown below:

    write-mindconnect-node-flow

  2. Edit the inject node properties to enter the values:

    • Payload (Number): 127
  3. Edit write mindconnect node properties:

    edit-write-mindconnect-node

  4. Click option.

  5. Select the “Device”, “Datasources” and “Datapoints” to update the value.

    select-mindconnect-device

  6. Save and execute the flow.

Result

The datapoint value is successfully updated.

Command MindConnect

command-mindconnect-node

The “command mindconnect” node allows you to send a command to a MindConnect MQTT device.

Example

To execute the example flow using the command mindconnect node, follow these steps:

  1. Create the flows as shown below:

    command-mindconnect-node-flow

  2. Edit the function node properties to enter the values:

    • Code:
      msg.payload = {"testprop5": "first"}; return msg;
  3. Edit the command mindconnect node properties:

    edit-command-mindconnect-node

  4. Click option to select the MQTT device.

  5. Save and execute the flow.

Result

You can view the results in the message payload. The command is successfully executed for the selected device.

command-mindconnect-result

Command MindConnect Status

command-mindconnect-status-node

The “command mindconnect status” node allows you to get the status of a commanding job (MindConnect MQTT device).

Example

To execute the example flow using command mindconnect node, follow these steps:

  1. Create the flows as shown below:

    edit-command-mindconnect-status-node

  2. Edit command mindconnect status node properties:

    edit-mindconnect-status-node

  3. Enter “JobId”.

  4. Save and execute the flow.

Result

You can view the results in the message payload. The status of the command is displayed successfully.

edit-mindconnect-status-node-result


Last update: January 22, 2024