Send Measurement Point


The Send Measurement Point node sends the output from the previous node to a Kafka topic as device measurement point information.

  • You can check whether the measurement point is updated at the device’s details page via EnOS Management Console > Device Management > Device Assets.

    ../../../_images/send_measurement_point_updated.png


  • You can also subscribe to the Kafka topic to view the message. The specific Kafka topic to subscribe to depends on the following.

    • For real-time messages, the format of the topic is MEASURE_POINT_ORIGIN_[OUID]. If your OU ID is o180782221079, the topic would be MEASURE_POINT_ORIGIN_o180782221079.
    • For offline messages, the format of the topic is MEASURE_POINT_ORIGIN_OFFLINE_[OUID]. If your OU ID is o180782221079, the topic would be MEASURE_POINT_ORIGIN_OFFLINE_o180782221079.

Node Type

EnOS.

Input and Output Ability

This node has multiple entry points and 2 exit points (success/failure).

Node Properties

../../../_images/send_measurement_point.png


Name

The name for this node.


Description

The description for this node.

Limitations

  • The input msg must be in EnOS standard data format, with the metadata containing the asset ID, device key, product key, and organization ID.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "PostMeasurePoint",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "ts": "1622176678155"
  },
  "Body": {
    "modelId":"Inverter_Demo_LY",
    "INV.GenActivePW":"67",
    "productKey":"productKey"
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "PostMeasurePoint",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success",
    "ts": "1622176678155"
  },
  "Body": {
    "modelId":"Inverter_Demo_LY",
    "INV.GenActivePW":"67",
    "productKey":"productKey"
  }
}