For each location, you can add simple metrics used to record and display metric values that do not come from a specific thing, but are related to the location.
For example, a sensor could measure the temperature of the location, and send the value to the cloud, to be then used by the things installed in the location itself.
Currently, in order to define a simple location metric, it is necessary to configure an external data source from which to retrieve the data to be saved.
Location metrics are supplied by external services, so defining a location metric requires enabling and configuring a plugin that supports location metrics data provisioning.
The plugins providing location metrics data are:
Creating a Location metric
To add a new Metric to a Location, you should:
- Ensure to have activated and configure a plugin providing location metric data.
- Enter the RAW Data page.
- Select the Location tab.
- Press the Add Metric button.
- Select the Metric type and provide the required information.
- Press the Save button and edit the additional information, if needed.
Editing a Location metric
Once created, a location simple metric requires configuring which data from the remote data source must be retrieved.
The way the metric is configured depends on the selected data source; for more details, refer to one of the following plugins:
Data
In the Data section, you can configure some aspects related to metric data management.
Range
In case the metric is of type numeric, in this section, you can specify the minimum and maximum values the metric can assume.
Thresholds
In this section, you can specify the intermediate thresholds. This information is used by widgets (e.g. Radial Gauge) to highlight values according to the thresholds (e.g. value > 75 -> amber, value > 90 -> red).
A threshold can also be dynamic by using a property or another metric. You can define static thresholds between the min and max values, and then redefine the thresholds by using metrics or properties.
It is up to you to use plausible values that are contained in the min and max values.
Comments
0 comments
Please sign in to leave a comment.