Browse Source

Update demo data dashboards

pull/9195/head
Igor Kulikov 3 years ago
parent
commit
b1f70e162a
  1. 267
      application/src/main/data/json/demo/dashboards/firmware.json
  2. 234
      application/src/main/data/json/demo/dashboards/gateways.json
  3. 82
      application/src/main/data/json/demo/dashboards/rule_engine_statistics.json
  4. 267
      application/src/main/data/json/demo/dashboards/software.json
  5. 229
      application/src/main/data/json/demo/dashboards/thermostats.json

267
application/src/main/data/json/demo/dashboards/firmware.json

@ -1,24 +1,34 @@
{ {
"title": "Firmware", "title": "Firmware",
"image": null, "image": null,
"mobileHide": false,
"mobileOrder": null,
"configuration": { "configuration": {
"description": "", "description": "",
"widgets": { "widgets": {
"cd03188e-cd9d-9601-fd57-da4cb95fc016": { "cd03188e-cd9d-9601-fd57-da4cb95fc016": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -299,16 +309,11 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "cd03188e-cd9d-9601-fd57-da4cb95fc016" "id": "cd03188e-cd9d-9601-fd57-da4cb95fc016",
"typeFullFqn": "system.cards.entities_table"
}, },
"100b756c-0082-6505-3ae1-3603e6deea48": { "100b756c-0082-6505-3ae1-3603e6deea48": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "timeseries_table",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 8, "sizeX": 8,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
@ -461,14 +466,11 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "100b756c-0082-6505-3ae1-3603e6deea48" "id": "100b756c-0082-6505-3ae1-3603e6deea48",
"typeFullFqn": "system.cards.timeseries_table"
}, },
"17543c57-af4a-2c1e-bf12-53a7b46791e6": { "17543c57-af4a-2c1e-bf12-53a7b46791e6": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -496,8 +498,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -545,14 +566,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "17543c57-af4a-2c1e-bf12-53a7b46791e6" "id": "17543c57-af4a-2c1e-bf12-53a7b46791e6",
"typeFullFqn": "system.cards.html_value_card"
}, },
"6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6": { "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -580,8 +598,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -629,14 +666,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6" "id": "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6",
"typeFullFqn": "system.cards.html_value_card"
}, },
"e6674227-9cf3-a2f6-ecac-5ccfc38a3c81": { "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -664,8 +698,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -713,14 +766,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81" "id": "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81",
"typeFullFqn": "system.cards.html_value_card"
}, },
"77b10144-b904-edd5-8c7c-8fb75616c6d8": { "77b10144-b904-edd5-8c7c-8fb75616c6d8": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -748,8 +798,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -797,23 +866,32 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "77b10144-b904-edd5-8c7c-8fb75616c6d8" "id": "77b10144-b904-edd5-8c7c-8fb75616c6d8",
"typeFullFqn": "system.cards.html_value_card"
}, },
"21be08bb-ec90-f760-ad6f-e7678f12c401": { "21be08bb-ec90-f760-ad6f-e7678f12c401": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1094,23 +1172,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "21be08bb-ec90-f760-ad6f-e7678f12c401" "id": "21be08bb-ec90-f760-ad6f-e7678f12c401",
"typeFullFqn": "system.cards.entities_table"
}, },
"e8280043-d3dc-7acb-c2ff-a4522972ff91": { "e8280043-d3dc-7acb-c2ff-a4522972ff91": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1391,23 +1478,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "e8280043-d3dc-7acb-c2ff-a4522972ff91" "id": "e8280043-d3dc-7acb-c2ff-a4522972ff91",
"typeFullFqn": "system.cards.entities_table"
}, },
"3624013b-378c-f110-5eba-ae95c25a4dcc": { "3624013b-378c-f110-5eba-ae95c25a4dcc": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1688,23 +1784,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "3624013b-378c-f110-5eba-ae95c25a4dcc" "id": "3624013b-378c-f110-5eba-ae95c25a4dcc",
"typeFullFqn": "system.cards.entities_table"
}, },
"d2d13e0d-4e71-889f-9343-ad2f0af9f176": { "d2d13e0d-4e71-889f-9343-ad2f0af9f176": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085363133,
"endTimeMs": 1694171763133
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1985,7 +2090,8 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "d2d13e0d-4e71-889f-9343-ad2f0af9f176" "id": "d2d13e0d-4e71-889f-9343-ad2f0af9f176",
"typeFullFqn": "system.cards.entities_table"
} }
}, },
"states": { "states": {
@ -2035,7 +2141,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": true, "mobileAutoFillHeight": true,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2062,7 +2169,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2089,7 +2197,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2116,7 +2225,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2143,7 +2253,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2170,7 +2281,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2488,5 +2600,6 @@
"showUpdateDashboardImage": false "showUpdateDashboardImage": false
} }
}, },
"externalId": null,
"name": "Firmware" "name": "Firmware"
} }

234
application/src/main/data/json/demo/dashboards/gateways.json

@ -1,20 +1,33 @@
{ {
"title": "Gateways", "title": "Gateways",
"image": null,
"mobileHide": false,
"mobileOrder": null,
"configuration": { "configuration": {
"widgets": { "widgets": {
"94715984-ae74-76e4-20b7-2f956b01ed80": { "94715984-ae74-76e4-20b7-2f956b01ed80": {
"isSystemType": true,
"bundleAlias": "entity_admin_widgets",
"typeAlias": "device_admin_table",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 24, "sizeX": 24,
"sizeY": 12, "sizeY": 12,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085270425,
"endTimeMs": 1694171670425
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -187,14 +200,11 @@
] ]
} }
}, },
"id": "94715984-ae74-76e4-20b7-2f956b01ed80" "id": "94715984-ae74-76e4-20b7-2f956b01ed80",
"typeFullFqn": "system.entity_admin_widgets.device_admin_table"
}, },
"eadabbc7-519e-76fc-ba10-b3fe8c18da10": { "eadabbc7-519e-76fc-ba10-b3fe8c18da10": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "timeseries_table",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 14, "sizeX": 14,
"sizeY": 13, "sizeY": 13,
"config": { "config": {
@ -255,14 +265,11 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "eadabbc7-519e-76fc-ba10-b3fe8c18da10" "id": "eadabbc7-519e-76fc-ba10-b3fe8c18da10",
"typeFullFqn": "system.cards.timeseries_table"
}, },
"f928afc4-30d1-8d0c-e3cf-777f9f9d1155": { "f928afc4-30d1-8d0c-e3cf-777f9f9d1155": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 17, "sizeX": 17,
"sizeY": 4, "sizeY": 4,
"config": { "config": {
@ -375,6 +382,15 @@
"xaxisSecond": { "xaxisSecond": {
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
},
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
} }
}, },
"title": "Real time information", "title": "Real time information",
@ -393,25 +409,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
},
"actions": {} "actions": {}
}, },
"id": "f928afc4-30d1-8d0c-e3cf-777f9f9d1155" "id": "f928afc4-30d1-8d0c-e3cf-777f9f9d1155",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"2a95b473-042d-59d0-2da2-40d0cccb6c8a": { "2a95b473-042d-59d0-2da2-40d0cccb6c8a": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "timeseries_table",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 7, "sizeX": 7,
"sizeY": 7, "sizeY": 7,
"config": { "config": {
@ -491,14 +495,11 @@
"showTotal": false "showTotal": false
} }
}, },
"id": "2a95b473-042d-59d0-2da2-40d0cccb6c8a" "id": "2a95b473-042d-59d0-2da2-40d0cccb6c8a",
"typeFullFqn": "system.cards.timeseries_table"
}, },
"aaa69366-aacc-9028-65aa-645c0f8533ec": { "aaa69366-aacc-9028-65aa-645c0f8533ec": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 17, "sizeX": 17,
"sizeY": 4, "sizeY": 4,
"config": { "config": {
@ -604,6 +605,15 @@
"xaxisSecond": { "xaxisSecond": {
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
},
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
} }
}, },
"title": "History information", "title": "History information",
@ -622,25 +632,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": true, "useDashboardTimewindow": true,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
},
"actions": {} "actions": {}
}, },
"id": "aaa69366-aacc-9028-65aa-645c0f8533ec" "id": "aaa69366-aacc-9028-65aa-645c0f8533ec",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"ce5c7d01-a3ef-5cf0-4578-8505135c23a0": { "ce5c7d01-a3ef-5cf0-4578-8505135c23a0": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 17, "sizeX": 17,
"sizeY": 4, "sizeY": 4,
"config": { "config": {
@ -751,6 +749,15 @@
"xaxisSecond": { "xaxisSecond": {
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
},
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
} }
}, },
"title": "Real time information", "title": "Real time information",
@ -769,25 +776,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "right",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": true
},
"actions": {} "actions": {}
}, },
"id": "ce5c7d01-a3ef-5cf0-4578-8505135c23a0" "id": "ce5c7d01-a3ef-5cf0-4578-8505135c23a0",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"466f046d-6005-a168-b107-60fcb2469cd5": { "466f046d-6005-a168-b107-60fcb2469cd5": {
"isSystemType": true,
"bundleAlias": "gateway_widgets",
"typeAlias": "attributes_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 7, "sizeX": 7,
"sizeY": 5, "sizeY": 5,
"config": { "config": {
@ -799,8 +794,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085270425,
"endTimeMs": 1694171670425
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": true, "showTitle": true,
@ -832,14 +846,11 @@
"showLegend": false, "showLegend": false,
"actions": {} "actions": {}
}, },
"id": "466f046d-6005-a168-b107-60fcb2469cd5" "id": "466f046d-6005-a168-b107-60fcb2469cd5",
"typeFullFqn": "system.gateway_widgets.attributes_card"
}, },
"8fc32225-164f-3258-73f7-e6b6d959cf0b": { "8fc32225-164f-3258-73f7-e6b6d959cf0b": {
"isSystemType": true,
"bundleAlias": "gateway_widgets",
"typeAlias": "config_form_latest",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 10, "sizeX": 10,
"sizeY": 9, "sizeY": 9,
"config": { "config": {
@ -851,8 +862,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085270425,
"endTimeMs": 1694171670425
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": true, "showTitle": true,
@ -881,14 +911,11 @@
"showLegend": false, "showLegend": false,
"actions": {} "actions": {}
}, },
"id": "8fc32225-164f-3258-73f7-e6b6d959cf0b" "id": "8fc32225-164f-3258-73f7-e6b6d959cf0b",
"typeFullFqn": "system.gateway_widgets.config_form_latest"
}, },
"063fc179-c9fd-f952-e714-f24e9c43c05c": { "063fc179-c9fd-f952-e714-f24e9c43c05c": {
"isSystemType": true,
"bundleAlias": "control_widgets",
"typeAlias": "rpcbutton",
"type": "rpc", "type": "rpc",
"title": "New widget",
"sizeX": 4, "sizeX": 4,
"sizeY": 2, "sizeY": 2,
"config": { "config": {
@ -930,14 +957,11 @@
"b2487e75-2fa4-f211-142c-434dfd50c70c" "b2487e75-2fa4-f211-142c-434dfd50c70c"
] ]
}, },
"id": "063fc179-c9fd-f952-e714-f24e9c43c05c" "id": "063fc179-c9fd-f952-e714-f24e9c43c05c",
"typeFullFqn": "system.control_widgets.rpcbutton"
}, },
"3c2134cc-27a0-93e1-dbe1-2fa7c1ce16b7": { "3c2134cc-27a0-93e1-dbe1-2fa7c1ce16b7": {
"isSystemType": true,
"bundleAlias": "control_widgets",
"typeAlias": "rpcbutton",
"type": "rpc", "type": "rpc",
"title": "New widget",
"sizeX": 4, "sizeX": 4,
"sizeY": 2, "sizeY": 2,
"config": { "config": {
@ -979,14 +1003,11 @@
"b2487e75-2fa4-f211-142c-434dfd50c70c" "b2487e75-2fa4-f211-142c-434dfd50c70c"
] ]
}, },
"id": "3c2134cc-27a0-93e1-dbe1-2fa7c1ce16b7" "id": "3c2134cc-27a0-93e1-dbe1-2fa7c1ce16b7",
"typeFullFqn": "system.control_widgets.rpcbutton"
}, },
"6770b6ba-eff8-df05-75f8-c1f9326d4842": { "6770b6ba-eff8-df05-75f8-c1f9326d4842": {
"isSystemType": true,
"bundleAlias": "input_widgets",
"typeAlias": "markers_placement_openstreetmap",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 6, "sizeX": 6,
"sizeY": 4, "sizeY": 4,
"config": { "config": {
@ -1015,8 +1036,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085270425,
"endTimeMs": 1694171670425
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -1083,7 +1123,8 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "6770b6ba-eff8-df05-75f8-c1f9326d4842" "id": "6770b6ba-eff8-df05-75f8-c1f9326d4842",
"typeFullFqn": "system.input_widgets.markers_placement_openstreetmap"
} }
}, },
"states": { "states": {
@ -1108,7 +1149,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1158,7 +1200,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1211,7 +1254,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": true, "mobileAutoFillHeight": true,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1224,8 +1268,10 @@
"filter": { "filter": {
"type": "deviceType", "type": "deviceType",
"resolveMultiple": true, "resolveMultiple": true,
"deviceType": "gateway", "deviceNameFilter": "",
"deviceNameFilter": "" "deviceTypes": [
"gateway"
]
} }
}, },
"b2487e75-2fa4-f211-142c-434dfd50c70c": { "b2487e75-2fa4-f211-142c-434dfd50c70c": {
@ -1261,7 +1307,9 @@
"showDashboardExport": true, "showDashboardExport": true,
"toolbarAlwaysOpen": true, "toolbarAlwaysOpen": true,
"titleColor": "rgba(0,0,0,0.870588)" "titleColor": "rgba(0,0,0,0.870588)"
} },
"filters": {}
}, },
"externalId": null,
"name": "Gateways" "name": "Gateways"
} }

82
application/src/main/data/json/demo/dashboards/rule_engine_statistics.json

@ -1,13 +1,12 @@
{ {
"title": "Rule Engine Statistics", "title": "Rule Engine Statistics",
"image": null,
"mobileHide": false,
"mobileOrder": null,
"configuration": { "configuration": {
"widgets": { "widgets": {
"81987f19-3eac-e4ce-b790-d96e9b54d9a0": { "81987f19-3eac-e4ce-b790-d96e9b54d9a0": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 12, "sizeX": 12,
"sizeY": 7, "sizeY": 7,
"config": { "config": {
@ -151,6 +150,15 @@
"xaxisSecond": { "xaxisSecond": {
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
},
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": false,
"showTotal": true
} }
}, },
"title": "Queue Stats", "title": "Queue Stats",
@ -169,25 +177,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true, "actions": {}
"actions": {},
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": false,
"showTotal": true
}
}, },
"id": "81987f19-3eac-e4ce-b790-d96e9b54d9a0" "id": "81987f19-3eac-e4ce-b790-d96e9b54d9a0",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"5eb79712-5c24-3060-7e4f-6af36b8f842d": { "5eb79712-5c24-3060-7e4f-6af36b8f842d": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "timeseries_table",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 24, "sizeX": 24,
"sizeY": 5, "sizeY": 5,
"config": { "config": {
@ -272,14 +268,11 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "5eb79712-5c24-3060-7e4f-6af36b8f842d" "id": "5eb79712-5c24-3060-7e4f-6af36b8f842d",
"typeFullFqn": "system.cards.timeseries_table"
}, },
"ad3f1417-87a8-750e-fc67-49a2de1466d4": { "ad3f1417-87a8-750e-fc67-49a2de1466d4": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 12, "sizeX": 12,
"sizeY": 7, "sizeY": 7,
"config": { "config": {
@ -393,6 +386,15 @@
"xaxisSecond": { "xaxisSecond": {
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
},
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": false,
"showTotal": true
} }
}, },
"title": "Processing Failures and Timeouts", "title": "Processing Failures and Timeouts",
@ -411,18 +413,10 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true, "actions": {}
"actions": {},
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": false,
"showTotal": true
}
}, },
"id": "ad3f1417-87a8-750e-fc67-49a2de1466d4" "id": "ad3f1417-87a8-750e-fc67-49a2de1466d4",
"typeFullFqn": "system.charts.basic_timeseries"
} }
}, },
"states": { "states": {
@ -457,14 +451,12 @@
"backgroundColor": "#eeeeee", "backgroundColor": "#eeeeee",
"color": "rgba(0,0,0,0.870588)", "color": "rgba(0,0,0,0.870588)",
"columns": 24, "columns": 24,
"margins": [
10,
10
],
"backgroundSizeMode": "100%", "backgroundSizeMode": "100%",
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"margin": 10,
"outerMargin": true
} }
} }
} }
@ -477,8 +469,10 @@
"filter": { "filter": {
"type": "assetType", "type": "assetType",
"resolveMultiple": true, "resolveMultiple": true,
"assetType": "TbServiceQueue", "assetNameFilter": "",
"assetNameFilter": "" "assetTypes": [
"TbServiceQueue"
]
} }
} }
}, },
@ -514,7 +508,9 @@
"showDashboardTimewindow": true, "showDashboardTimewindow": true,
"showDashboardExport": true, "showDashboardExport": true,
"toolbarAlwaysOpen": true "toolbarAlwaysOpen": true
} },
"filters": {}
}, },
"externalId": null,
"name": "Rule Engine Statistics" "name": "Rule Engine Statistics"
} }

267
application/src/main/data/json/demo/dashboards/software.json

@ -1,24 +1,34 @@
{ {
"title": "Software", "title": "Software",
"image": null, "image": null,
"mobileHide": false,
"mobileOrder": null,
"configuration": { "configuration": {
"description": "", "description": "",
"widgets": { "widgets": {
"cd03188e-cd9d-9601-fd57-da4cb95fc016": { "cd03188e-cd9d-9601-fd57-da4cb95fc016": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343279,
"endTimeMs": 1694171743279
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -299,16 +309,11 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "cd03188e-cd9d-9601-fd57-da4cb95fc016" "id": "cd03188e-cd9d-9601-fd57-da4cb95fc016",
"typeFullFqn": "system.cards.entities_table"
}, },
"100b756c-0082-6505-3ae1-3603e6deea48": { "100b756c-0082-6505-3ae1-3603e6deea48": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "timeseries_table",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 8, "sizeX": 8,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
@ -461,14 +466,11 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "100b756c-0082-6505-3ae1-3603e6deea48" "id": "100b756c-0082-6505-3ae1-3603e6deea48",
"typeFullFqn": "system.cards.timeseries_table"
}, },
"17543c57-af4a-2c1e-bf12-53a7b46791e6": { "17543c57-af4a-2c1e-bf12-53a7b46791e6": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -496,8 +498,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -545,14 +566,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "17543c57-af4a-2c1e-bf12-53a7b46791e6" "id": "17543c57-af4a-2c1e-bf12-53a7b46791e6",
"typeFullFqn": "system.cards.html_value_card"
}, },
"6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6": { "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -580,8 +598,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -629,14 +666,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6" "id": "6c1c4e1a-bce0-f5ad-ff8b-ba1dfc5a4ec6",
"typeFullFqn": "system.cards.html_value_card"
}, },
"e6674227-9cf3-a2f6-ecac-5ccfc38a3c81": { "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -664,8 +698,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -713,14 +766,11 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81" "id": "e6674227-9cf3-a2f6-ecac-5ccfc38a3c81",
"typeFullFqn": "system.cards.html_value_card"
}, },
"77b10144-b904-edd5-8c7c-8fb75616c6d8": { "77b10144-b904-edd5-8c7c-8fb75616c6d8": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "html_value_card",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 8, "sizeX": 8,
"sizeY": 3, "sizeY": 3,
"config": { "config": {
@ -748,8 +798,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -797,23 +866,32 @@
"enableDataExport": false, "enableDataExport": false,
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "77b10144-b904-edd5-8c7c-8fb75616c6d8" "id": "77b10144-b904-edd5-8c7c-8fb75616c6d8",
"typeFullFqn": "system.cards.html_value_card"
}, },
"21be08bb-ec90-f760-ad6f-e7678f12c401": { "21be08bb-ec90-f760-ad6f-e7678f12c401": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1094,23 +1172,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "21be08bb-ec90-f760-ad6f-e7678f12c401" "id": "21be08bb-ec90-f760-ad6f-e7678f12c401",
"typeFullFqn": "system.cards.entities_table"
}, },
"e8280043-d3dc-7acb-c2ff-a4522972ff91": { "e8280043-d3dc-7acb-c2ff-a4522972ff91": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1391,23 +1478,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "e8280043-d3dc-7acb-c2ff-a4522972ff91" "id": "e8280043-d3dc-7acb-c2ff-a4522972ff91",
"typeFullFqn": "system.cards.entities_table"
}, },
"3624013b-378c-f110-5eba-ae95c25a4dcc": { "3624013b-378c-f110-5eba-ae95c25a4dcc": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000,
"timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1688,23 +1784,32 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "3624013b-378c-f110-5eba-ae95c25a4dcc" "id": "3624013b-378c-f110-5eba-ae95c25a4dcc",
"typeFullFqn": "system.cards.entities_table"
}, },
"d2d13e0d-4e71-889f-9343-ad2f0af9f176": { "d2d13e0d-4e71-889f-9343-ad2f0af9f176": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"image": null,
"description": null,
"sizeX": 7.5, "sizeX": 7.5,
"sizeY": 6.5, "sizeY": 6.5,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085343280,
"endTimeMs": 1694171743280
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -1985,7 +2090,8 @@
}, },
"row": 0, "row": 0,
"col": 0, "col": 0,
"id": "d2d13e0d-4e71-889f-9343-ad2f0af9f176" "id": "d2d13e0d-4e71-889f-9343-ad2f0af9f176",
"typeFullFqn": "system.cards.entities_table"
} }
}, },
"states": { "states": {
@ -2035,7 +2141,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": true, "mobileAutoFillHeight": true,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2062,7 +2169,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2089,7 +2197,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2116,7 +2225,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2143,7 +2253,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2170,7 +2281,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"backgroundImageUrl": null, "backgroundImageUrl": null,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70 "mobileRowHeight": 70,
"outerMargin": true
} }
} }
} }
@ -2488,5 +2600,6 @@
"showUpdateDashboardImage": false "showUpdateDashboardImage": false
} }
}, },
"externalId": null,
"name": "Software" "name": "Software"
} }

229
application/src/main/data/json/demo/dashboards/thermostats.json

@ -1,20 +1,33 @@
{ {
"title": "Thermostats", "title": "Thermostats",
"image": null,
"mobileHide": false,
"mobileOrder": null,
"configuration": { "configuration": {
"widgets": { "widgets": {
"f33c746c-0dfc-c212-395b-b448c8a17209": { "f33c746c-0dfc-c212-395b-b448c8a17209": {
"isSystemType": true,
"bundleAlias": "cards",
"typeAlias": "entities_table",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 11, "sizeX": 11,
"sizeY": 11, "sizeY": 11,
"config": { "config": {
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"realtimeType": 1,
"interval": 1000, "interval": 1000,
"timewindowMs": 86400000 "timewindowMs": 86400000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085177686,
"endTimeMs": 1694171577686
},
"quickInterval": "CURRENT_DAY"
}, },
"aggregation": { "aggregation": {
"type": "NONE", "type": "NONE",
@ -184,14 +197,11 @@
"rowClick": [] "rowClick": []
} }
}, },
"id": "f33c746c-0dfc-c212-395b-b448c8a17209" "id": "f33c746c-0dfc-c212-395b-b448c8a17209",
"typeFullFqn": "system.cards.entities_table"
}, },
"7943196b-eedb-d422-f9c3-b32d379ad172": { "7943196b-eedb-d422-f9c3-b32d379ad172": {
"isSystemType": true,
"bundleAlias": "alarm_widgets",
"typeAlias": "alarms_table",
"type": "alarm", "type": "alarm",
"title": "New widget",
"sizeX": 13, "sizeX": 13,
"sizeY": 5, "sizeY": 5,
"config": { "config": {
@ -230,7 +240,7 @@
"titleStyle": { "titleStyle": {
"fontSize": "16px", "fontSize": "16px",
"fontWeight": 400, "fontWeight": 400,
"padding": "5px 10px 5px 10px" "padding": "5px 10px 5px 2px"
}, },
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"showLegend": false, "showLegend": false,
@ -290,7 +300,6 @@
} }
] ]
}, },
"alarmSearchStatus": "ANY",
"alarmsPollingInterval": 5, "alarmsPollingInterval": 5,
"showTitleIcon": false, "showTitleIcon": false,
"titleIcon": null, "titleIcon": null,
@ -302,16 +311,22 @@
"actions": {}, "actions": {},
"datasources": [], "datasources": [],
"alarmsMaxCountLoad": 0, "alarmsMaxCountLoad": 0,
"alarmsFetchSize": 100 "alarmsFetchSize": 100,
"alarmFilterConfig": {
"statusList": [],
"severityList": [],
"typeList": [],
"searchPropagatedAlarms": true
},
"widgetCss": "",
"pageSize": 1024,
"noDataDisplayMessage": ""
}, },
"id": "7943196b-eedb-d422-f9c3-b32d379ad172" "id": "7943196b-eedb-d422-f9c3-b32d379ad172",
"typeFullFqn": "system.alarm_widgets.alarms_table"
}, },
"14a19183-f0b2-d6be-0f62-9863f0a51111": { "14a19183-f0b2-d6be-0f62-9863f0a51111": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 18, "sizeX": 18,
"sizeY": 6, "sizeY": 6,
"config": { "config": {
@ -395,7 +410,16 @@
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
}, },
"smoothLines": true "smoothLines": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": false
}
}, },
"title": "Temperature", "title": "Temperature",
"dropShadow": true, "dropShadow": true,
@ -413,25 +437,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": false
},
"actions": {} "actions": {}
}, },
"id": "14a19183-f0b2-d6be-0f62-9863f0a51111" "id": "14a19183-f0b2-d6be-0f62-9863f0a51111",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"07f49fd5-a73b-d74c-c220-362c20af81f4": { "07f49fd5-a73b-d74c-c220-362c20af81f4": {
"isSystemType": true,
"bundleAlias": "charts",
"typeAlias": "basic_timeseries",
"type": "timeseries", "type": "timeseries",
"title": "New widget",
"sizeX": 18, "sizeX": 18,
"sizeY": 6, "sizeY": 6,
"config": { "config": {
@ -515,7 +527,16 @@
"axisPosition": "top", "axisPosition": "top",
"showLabels": true "showLabels": true
}, },
"smoothLines": true "smoothLines": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": false
}
}, },
"title": "Humidity", "title": "Humidity",
"dropShadow": true, "dropShadow": true,
@ -533,25 +554,13 @@
"widgetStyle": {}, "widgetStyle": {},
"useDashboardTimewindow": false, "useDashboardTimewindow": false,
"displayTimewindow": true, "displayTimewindow": true,
"showLegend": true,
"legendConfig": {
"direction": "column",
"position": "bottom",
"showMin": true,
"showMax": true,
"showAvg": true,
"showTotal": false
},
"actions": {} "actions": {}
}, },
"id": "07f49fd5-a73b-d74c-c220-362c20af81f4" "id": "07f49fd5-a73b-d74c-c220-362c20af81f4",
"typeFullFqn": "system.charts.basic_timeseries"
}, },
"c4631f94-2db3-523b-4d09-2a1a0a75d93f": { "c4631f94-2db3-523b-4d09-2a1a0a75d93f": {
"isSystemType": true,
"bundleAlias": "input_widgets",
"typeAlias": "update_multiple_attributes",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 6, "sizeX": 6,
"sizeY": 6, "sizeY": 6,
"config": { "config": {
@ -626,8 +635,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085177686,
"endTimeMs": 1694171577686
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": true, "showTitle": true,
@ -661,14 +689,11 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "c4631f94-2db3-523b-4d09-2a1a0a75d93f" "id": "c4631f94-2db3-523b-4d09-2a1a0a75d93f",
"typeFullFqn": "system.input_widgets.update_multiple_attributes"
}, },
"3da9a9a1-0b9a-2e1f-0dcb-0ff34a695abb": { "3da9a9a1-0b9a-2e1f-0dcb-0ff34a695abb": {
"isSystemType": true,
"bundleAlias": "maps_v2",
"typeAlias": "openstreetmap",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 13, "sizeX": 13,
"sizeY": 6, "sizeY": 6,
"config": { "config": {
@ -725,8 +750,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085177686,
"endTimeMs": 1694171577686
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -802,14 +846,11 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "3da9a9a1-0b9a-2e1f-0dcb-0ff34a695abb" "id": "3da9a9a1-0b9a-2e1f-0dcb-0ff34a695abb",
"typeFullFqn": "system.maps_v2.openstreetmap"
}, },
"00fb2742-ba1f-7e43-673f-d6c08b72ed06": { "00fb2742-ba1f-7e43-673f-d6c08b72ed06": {
"isSystemType": true,
"bundleAlias": "input_widgets",
"typeAlias": "markers_placement_openstreetmap",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 24, "sizeX": 24,
"sizeY": 12, "sizeY": 12,
"config": { "config": {
@ -864,8 +905,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085177686,
"endTimeMs": 1694171577686
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -937,14 +997,11 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "00fb2742-ba1f-7e43-673f-d6c08b72ed06" "id": "00fb2742-ba1f-7e43-673f-d6c08b72ed06",
"typeFullFqn": "system.input_widgets.markers_placement_openstreetmap"
}, },
"0a430429-9078-9ae6-2b67-e4a15a2bf8bf": { "0a430429-9078-9ae6-2b67-e4a15a2bf8bf": {
"isSystemType": true,
"bundleAlias": "input_widgets",
"typeAlias": "markers_placement_openstreetmap",
"type": "latest", "type": "latest",
"title": "New widget",
"sizeX": 6, "sizeX": 6,
"sizeY": 6, "sizeY": 6,
"config": { "config": {
@ -999,8 +1056,27 @@
} }
], ],
"timewindow": { "timewindow": {
"displayValue": "",
"selectedTab": 0,
"realtime": { "realtime": {
"timewindowMs": 60000 "realtimeType": 1,
"interval": 1000,
"timewindowMs": 60000,
"quickInterval": "CURRENT_DAY"
},
"history": {
"historyType": 0,
"interval": 1000,
"timewindowMs": 60000,
"fixedTimewindow": {
"startTimeMs": 1694085177686,
"endTimeMs": 1694171577686
},
"quickInterval": "CURRENT_DAY"
},
"aggregation": {
"type": "AVG",
"limit": 25000
} }
}, },
"showTitle": false, "showTitle": false,
@ -1073,7 +1149,8 @@
"titleTooltip": "", "titleTooltip": "",
"displayTimewindow": true "displayTimewindow": true
}, },
"id": "0a430429-9078-9ae6-2b67-e4a15a2bf8bf" "id": "0a430429-9078-9ae6-2b67-e4a15a2bf8bf",
"typeFullFqn": "system.input_widgets.markers_placement_openstreetmap"
} }
}, },
"states": { "states": {
@ -1110,7 +1187,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1136,7 +1214,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1182,7 +1261,8 @@
"autoFillHeight": true, "autoFillHeight": true,
"mobileAutoFillHeight": false, "mobileAutoFillHeight": false,
"mobileRowHeight": 70, "mobileRowHeight": 70,
"margin": 10 "margin": 10,
"outerMargin": true
} }
} }
} }
@ -1195,8 +1275,10 @@
"filter": { "filter": {
"type": "deviceType", "type": "deviceType",
"resolveMultiple": true, "resolveMultiple": true,
"deviceType": "thermostat", "deviceNameFilter": "",
"deviceNameFilter": "" "deviceTypes": [
"thermostat"
]
} }
}, },
"12ae98c7-1ea2-52cf-64d5-763e9d993547": { "12ae98c7-1ea2-52cf-64d5-763e9d993547": {
@ -1245,5 +1327,6 @@
}, },
"filters": {} "filters": {}
}, },
"externalId": null,
"name": "Thermostats" "name": "Thermostats"
} }
Loading…
Cancel
Save