In this tutorial, you are configuring a summary dashboard to monitor the average amount of work that is performed by painting robots in an automotive process.
Complete these tutorials:
In this tutorial, you configure a dashboard that monitors the work that is performed by all painting robots in an industrial automotive process.
The dashboard displays the following metrics:
You use the summary dashboard editor to create the dashboard and define its layout. To add use some extra dashboard features, you export the JSON configuration, modify it to add the features, and import the JSON file.
The dashboard displays the following card types:
event_1_
, for example, event_1_load
. As you complete the tutorial, preappend each input data item with event_1_
. For example,
update load
and torque
but not work_performed
.For help with defining the card types in this tutorial, see Dashboard features and Dashboard JSON reference.
load
to include it on the dashboard. mean
.From the Device types tab, select your device type.
work_performed
by robots.work_performed
by robots for the last 7 days. Add the work_performed_too_high
alert.work_performed
value for entities 73000 and 73001. Use the dataFilter
object to specify each deviceid
.dataFilter
.
{
"title": "Painting robot daily summary",
"timeGrain": "day",
"cards": [{
"type": "TIMESERIES",
"id": "line_cardID",
"size": "LARGE",
"title": "Minimum work performed vs Maximum work performed vs Average work performed",
"content": {
"series": [{
"dataSourceId": "work_performed_mean_ID",
"label": "Average work performed"
},
{
"dataSourceId": "work_performed_max_ID",
"label": "Maximum work performed"
},
{
"dataSourceId": "work_performed_min_ID",
"label": "Minimum work performed"
}
]
},
"dataSource": {
"attributes": [{
"aggregator": "mean",
"attribute": "work_performed",
"id": "work_performed_mean_ID"
},
{
"aggregator": "max",
"attribute": "work_performed",
"id": "work_performed_max_ID"
},
{
"aggregator": "min",
"attribute": "work_performed",
"id": "work_performed_min_ID"
}
]
}
},
{
"type": "TABLE",
"id": "table_card_ID",
"size": "LARGE",
"title": "Work performed",
"content": {
"columns": [{
"dataSourceId": "deviceid",
"label": "Robot"
},
{
"dataSourceId": "work_performed_too_high_ID",
"label": "Too high"
},
{
"dataSourceId": "work_performed_mean_ID",
"label": "Mean"
},
{
"dataSourceId": "timestamp",
"label": "Timestamp",
"type": "TIMESTAMP",
"priority": 1
}
],
"expandedRows": [{
"dataSourceId": "travel_time_mean_ID",
"label": "Average travel time"
}],
"sort": "DESC"
},
"dataSource": {
"attributes": [{
"aggregator": "count",
"attribute": "work_performed_too_high",
"id": "work_performed_too_high_ID"
},
{
"aggregator": "mean",
"attribute": "work_performed",
"id": "work_performed_mean_ID"
},
{
"aggregator": "mean",
"attribute": "travel_time",
"id": "travel_time_mean_ID"
}
],
"range": {
"count": -7,
"interval": "day"
},
"timeGrain": "day",
"groupBy": ["deviceid"]
}
},
{
"type": "VALUE",
"id": "value_card_ID",
"size": "MEDIUM",
"title": "Work performed",
"content": {
"attributes": [{
"dataSourceId": "work_performed_mean_ID",
"dataFilter": {
"deviceid": "73000"
},
"label": "Average - 73000",
"precision": 3
},
{
"dataSourceId": "work_performed_mean_ID2",
"dataFilter": {
"deviceid": "73001"
},
"label": "Average - 73001",
"precision": 3
}
]
},
"dataSource": {
"attributes": [{
"aggregator": "mean",
"attribute": "work_performed",
"id": "work_performed_mean_ID"
},
{
"aggregator": "mean",
"attribute": "work_performed",
"id": "work_performed_mean_ID2"
}
],
"groupBy": ["deviceid"]
}
},
{
"id": "image_card_ID",
"size": "LARGE",
"title": "Work performed - last month",
"type": "IMAGE",
"content": {
"image": "map",
"alt": "US Map",
"hotspots": [{
"color": "#00F",
"icon": "icon--info--solid",
"content": {
"attributes": [{
"dataSourceId": "work_performed_mean_id",
"label": "Average work performed"
}]
},
"locations": [{
"x": 65,
"y": 65.5,
"dataFilter": {
"deviceid": "73000"
}
},
{
"x": 65.2,
"y": 52.5,
"dataFilter": {
"deviceid": "73001"
}
}
],
"thresholds": [{
"color": "red",
"comparison": ">",
"dataSourceId": "work_performed_mean_id",
"icon": "icon--error",
"value": 4600
}]
}]
},
"dataSource": {
"attributes": [{
"attribute": "work_performed",
"id": "work_performed_mean_id",
"aggregator": "mean"
}],
"range": {
"count": -1,
"interval": "month"
},
"groupBy": [
"deviceid"
]
}
}
]
}
Tip: If the hotspots do not display on the image card, make sure to set the time range on the image card to a period of time that contains data. Alternatively, you might need to resize the dashboard for the hotspots to display.