Label (Not required, by default: [entityType][queryId])
Entity
Name
Data Path

Entity

Command: represents a message dispatched by clients for devices
Notification: represents a message dispatched by devices for clients

Name

Name is a string value of the notification/command field in a notification/command JSON object.
Examples:

Notification: { ..., notification: { notification: [this-is-a-notification-name-value], ... }, ... }

Command: { ..., command: { command: [this-is-a-command-name-value], ... }, ... }

Data path

Since a notification/command is a JSON object, Data Path is a simple point-separated value.
A basic structure of tne notification/command object is described here Notification and here Command

Converters

After clicking on the "Add converter" button () You will be able to select converter.
Converter is the simple function that transforms the value in some way.
For now the DeviceHive datasource supports next type of converters:
  • Scale - multiplies by a given value
  • Offset - adds a given value
  • Unit converter - converts value between different units of below mentioned measurement types:
    • Temperature ('c' - Celsius, 'f' - Fahrenheit, 'k' - Kelvin)
    • Length ('m' - Meter, 'mi' - Mile, 'yd' - Yard, 'ft' - Feet, 'in' - Inch)
    • Weight ('kg' - Kilogram, 'lb' - Pound, 'oz' - Ounces)
    • Volume ('l' - Liter, 'gal' - Gallon, 'pt' - Pint)

will collapse converter selector

By clicking on the converter arrow icon the edit panel will be shown.

Click to reselect converter or to delete converter.


Official site
Official documentation
Official playground
GitHub