This page explains how to show a specific content instead of the data value itself in a single value widget. For example, how to show an icon according to a boolean value.
You can add this widget in 2 locations in AirVantage:
- The Start Page by clicking on the logo on the top left corner in AirVantage to display a dashboard about your fleet
- The System Details View from Monitor > Systems and selecting your system.
To open the configuration dialog box:
By default, if you add a widget in the start page, the data value will be computed by using the fleet aggregation. You can select a specific system, if you want to highligh a system.
If you add a widget in a system dashboard, the data from the system will be used by default, but you can show the fleet aggregated data value if you want to show the global behavior of the fleet in the system’s dashboard (and then you can compare it with your system for example).
You can then select the data:
Now the data has been selected, you can choose if you want to show the last value or a computed value on a given period of time. For example, you can show the last hour mean value of a temperature, the sum of a data value during the last month…
To configure such data, select the time aggregation on the right of the data field: raw (no aggregation), mean, minimum, maximum, sum, count. If one of the time-aggregations is selected (that means any except RAW), you can select the period of time to apply the aggregation: Monthly, Daily or Hourly at the top of the widget configuration dialog.
Further right, again, you can click on the gear button in order to configure what to show in the widget:
Finally, typically for boolean values, you may want to show a custom icon instead of
false which is not user friendly:
You can define 2 rules to be applied on the same condition, one to set the icon and the other to change the color. If the two rules execute the same action, the last in the list will be effective.