Comment on page
Dashboards and Labelling
In large workgroups containing common device configuration patterns, the labelling system can be used to configure dashboards with minimal effort.
- 1.Workgroup: a dashboard that can display information from the entire workgroup
- 2.Device: a dashboard intended to display information from an individual device
- 3.Source: a dashboard intended to display information from an individual source on an individual device
When a device contains a source hierarchy, nested source-level dashboards will be generated.
For this example, we will use a fictional workgroup that uses Ardexa to monitor widget production at a number of factories. Each factory contains multiple zones, each containing multiple modules which produce widgets.
For each factory, we would like to have a dashboard displaying a factory-level overview, with the ability to drill down and inspect each zone and each individual module.
The hierarchy at our first example factory with two zones would be:
- zone-1 (Alarm state, Input voltage)
- zone-1-module-1 (Production, Temperature, Input voltage)
- zone-1-module-2 (Production, Temperature, Input voltage)
- zone-1-module-3 (Production, Temperature, Input voltage)
- zone-1-module-4 (Production, Temperature, Input voltage)
- zone-2 (Alarm state, Input voltage)
- zone-2-module-1 (Production, Temperature, Input voltage)
- zone-2-module-2 (Production, Temperature, Input voltage)
- zone-2-module-3 (Production, Temperature, Input voltage)
- zone-2-module-4 (Production, Temperature, Input voltage)
Navigate to the Labelling page, [Admin -> Workgroup -> Labelling]
Labelling page in a brand-new workgroup
Create labels: zone and module
Creating the 'zone' label
Creating the 'module' label
Apply the labels to the relevant sources at our "Widget Factory" device on the Sources tab:
Applying the zone label directly to zone-1
Applying the module label in bulk to all modules at the factory
To create a source hierarchy, click and drag the child source onto the parent, eg. zone-1-module-1 -> zone-1. Repeat for each child source. Multi-layer hierarchies are supported.
Alternatively, select multiple child sources, click the "Send to source" button and choose the parent source. Using a combination of the source filter and select all sources checkbox can aide this:
Once applied, the sources at our Widget Factory should look like:
Labels and source hierarchies at the Widget Factory
Click "Save changes" to persist these settings.
Once a label has been applied to at least one source, you can start to configure dashboard settings. These settings are used to generate a default set of dashboards for devices and sources associated with this label.
To configure these settings, return to the Labels tab on the Labelling page, choose a label, and select the Dashboard settings sub-tab:
Initial dashboard settings for the "zone" label
This section displays all of the fields collected by sources that have the current label. The Device and Source drop-downs can be used to preview live values from any stream with the current label.
Summary: summary fields will be included in a table on the default device-level dashboard.
Chart: chart fields will be graphed in the default source-level dashboard
Display: display fields will have their latest values displayed in the default source-level dashboard, with the number of decimal places specified by the Decimal places setting in Display options
Display options: further display options are available here, dependent on the field type. Click the edit icon to update these settings
For the zone label, making the following selections will generate default device and source-level dashboards.
Fully populated dashboard settings for the zone label
View the default dashboards by navigating to Dashboards -> Workgroup Overview and clicking a relevant device.
Click through to zone-1 or zone-2 to see a basic source-level dashboard:
A basic source-level dashboard with Input voltage charted and displayed
To see the nested 'module' sources (zone-1-module-1 etc) in these dashboards, configure the dashboard settings for the module label:
Dashboard settings for the 'module' label
This will add the 'production' field for each module to the zone dashboard:
Default zone dashboard after 'module' dashboard settings have been configured
A new source-level dashboard will also be configured for module sources:
Default dashboard for modules
Note: if a source has display and/or chart fields selected, but no summary fields, an "available sources" card with a list of sources will be displayed in the device or parent source-level dashboard to enable the user to drill down to the source level.
When this is selected, the latest values from every source with this label will be displayed on the default device-level dashboard. This is recommended for labels associated with one or two sources on a device at most, for example an environmental sensor or meter covering an entire site.
Selecting this option will allow you to create or select a source-level dashboard to act as the default for any source with this label.
A source-level dashboard can only be associated with one label. Once a dashboard has been associated with a label, it will not appear in the list of available custom dashboards for other labels.
For example, to customise the zone source-level dashboard, select "Use custom dashboard at source level", enter a name for the new dashboard, and click "Create custom dashboard". Alternatively, select a pre-existing source-level dashboard from the "Custom dashboard template" list.
Creating a custom Zone Overview dashboard
If a new dashboard is created, it will be generated using the current field settings using fields and child sources from the current preview device and source. Clicking the "View dashboard" link will open the newly created dashboard in a new tab. This dashboard can be edited, as described in Dashboards.
Note: once a custom source-level dashboard has been created, the label's field settings are no longer used to determine the contents of the dashboard. Un-selecting the "Use custom dashboard at source level" setting will restore the default source-level dashboard.
This option determines the layout of any sensor cards generated from the label. By default a "Flexible" layout will be used, where cards will automatically expand horizontally (up to a certain size) to fit their content. Selecting "Grid" layout will display sensors in a fixed-size grid.
To customise a device-level dashboard, take a copy of the dashboard:
Copying a default device-level dashboard
This will present you with customisation options:
Enter a name for the dashboard. Users with the Manage Searches and Dashboards permission and workgroup-level access can share the dashboard with the workgroup. If this option is selected, you can also make the customised dashboard the default for the device.
The "Make default for device" option applies to all users in the workgroup. If you select this option, make sure the dashboard
Make the necessary edits to the dashboard, then share the new dashboard with the rest of the workgroup. Once shared, it can be associated with the device:
...and, if desired, made the default dashboard for the device:
Making the custom dashboard the default for the device
Once selected, the Widget factor overview will be displayed when the Widget Factory is selected in the Workgroup Overview.