Update Device Status


The Update Device Status node updates the status of the device. If the update fails, the flow will stop executing for subsequent downsteam nodes and the error will be recorded.

Node Type

Action.

Input and Output Ability

This node has 1 entry point and 1 exit point. Both the input and output are JSON.

Node Properties

../../_images/update_device_status.png


Name

Required.

The name of this node.


Asset ID

Required.

The asset ID of the device.


Status

Required.

The status of the device to update, currently supports only “Online”.


Login Duration (seconds)

The login duration to determine the online status of the device. Available range is from 30 to 86,400 seconds.


Description

Optional.

The description for the node.

Limitations

  • Range for Login Duration: 30 to 86,400 seconds

Samples

Input Sample

{
  "id": "eHT8Bnqr"
}

Output Sample

{
  "id": "eHT8Bnqr",
  "status": "online"
}