Set Measurement Point¶
The Set Measurement Point node controls the set measurement point downstream message to Kafka.
Note
This does not automatically set the measurement point for the device; to do this, use the Send Command node instead.
If there is custom processing done on the set measurement point message, not using the Set Measurement Point node will result in the failure to send the message to Kafka, which will cause the device to be unable to receive any control commands.
Node Type¶
EnOS.
Input and Output Ability¶
This node has multiple entry points and 2 exit points (success/failure).
Node Properties¶
Name
The name for this node.
Description
The description for this node.
Samples¶
Input Sample¶
{
"MetaData": {
"messageType": "SetMeasurePoint",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId"
},
"Body": {
"payload": [
123,
34,
105,
100,
34,
58,
34,
51,
48,
54,
55,
125
],
"code": 200,
"orgId": "yourOrgId",
"productKey": "productKey",
"deviceKey": "deviceKey",
"assetId": "assetId",
"method": "thing.service.measurepoint.set",
"extProps": {
"gwDeviceKey": "deviceKey",
"gwProductKey": "productKey",
"%TRACE_ID%": "3f564d0d -f718-4b78-899f-814eaa95cc7e"
}
}
}
Output Sample¶
{
"MetaData": {
"messageType": "SetMeasurePoint",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"componentResult": "Success"
},
"Body": {
"payload": [
123,
34,
105,
100,
34,
58,
34,
51,
48,
54,
55,
125
],
"code": 200,
"orgId": "yourOrgId",
"productKey": "productKey",
"deviceKey": "deviceKey",
"assetId": "assetId",
"method": "thing.service.measurepoint.set",
"extProps": {
"gwDeviceKey": "deviceKey",
"gwProductKey": "productKey",
"%TRACE_ID%": "3f564d0d -f718-4b78-899f-814eaa95cc7e"
}
}
}