Upload Measurement Point¶
The upload measurement point node uploads measurement point data to EnOS. The uploaded measurement point data is stored according to the storage policy.
Node Type¶
EnOS.
Input and Output Ability¶
This node has multiple entry points and 1 exit point.
The input must be a JSON object or JSON array and is the measurement point data of an asset. The measurement point data must conform to the format of any EnOS-defined standard connectivity protocol. For more information on the protocols, see Connection Protocols.
The output is the upload result representing success or failure, which can be combined by the Combine node if required.
Node Properties¶
Name
The name for this node.
Channel
The channel for uploading the measurement point, either Real-time or Offline.
Description
The description for the node.
Samples¶
Input Sample¶
The input message of this node is JSON object containing the mesurement point data of an asset that conforms to the standard connectivity protocols EnOS defines. AssetId alone or productKey + deviceKey together can identify a device.
{
"assetId":"assetId",
"time":24214324324,
"measurepoints":{
"temperature":22.4,
"humidity":78
}
}
Output Sample¶
{
"MetaData": {},
"Body": {
"id": "iot-hub-1647423512173",
"code": 200,
"data": {}
}
}