Device Property


The Device Property node searches for a device via the data in the metadata and outputs the specified device data to the output msg.

Node Type

Enrichment.

Input and Output Ability

This node has 1 entry point and 1 exit point.

Node Properties

../../../_images/device_property.png


Name

The name for this node.


Output

The device data to be added to the output msg. Currently only time zone is available.


Device Tag Output

You can also add existing device tags to the output msg and give your own alias to the device tags if required. Click + Device Tag to enter the device tag key and its alias.


The table below shows the scenarios for an existing device tag “color” with value “blue”.

Key Alias Output Msg
Not given Not given Device tag will not be shown in output msg, as no tag is specified.
color Not given “color”: “blue”
color shade “shade”: “blue”
highlight shade Device tag will not be shown in output msg, as there is no device tag named “highlight”.


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

{
  "id": "vstk14Od",
  "lastUpdate": null,
  "attribute": {
    "street": 72
  },
  "measurepoint": {
    "EnergyOut": null
  }
}

Output Sample

{

  "id": "vstk14Od",
  "timezone": "+12:00",
  "shade":"blue",
  "lastUpdate": null,
  "attribute": {
    "street": 72
  },
  "measurepoint": {
    "EnergyOut": null
  }
}