Instantly share code, notes, and snippets.
Created
February 21, 2024 16:11
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save ashvayka/d1d781b23a20d96fa997f5b2486e4fe0 to your computer and use it in GitHub Desktop.
ThingsBoard dashboard with 4 states to showcase Action Button widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Buttons", | |
"image": null, | |
"mobileHide": false, | |
"mobileOrder": null, | |
"configuration": { | |
"description": "", | |
"widgets": { | |
"1061b1b7-240e-ef27-37a2-d2a823149b63": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": true, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Home", | |
"showIcon": true, | |
"icon": "home", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "total", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "1061b1b7-240e-ef27-37a2-d2a823149b63" | |
}, | |
"e0ee4cbd-dc4d-20f1-b20a-2a5944781af1": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Water", | |
"showIcon": true, | |
"icon": "water_drop", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "water", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "e0ee4cbd-dc4d-20f1-b20a-2a5944781af1" | |
}, | |
"b81a27fc-0236-70b0-25d7-d58629e228bb": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Electricity", | |
"showIcon": true, | |
"icon": "bolt", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "electricity", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "b81a27fc-0236-70b0-25d7-d58629e228bb" | |
}, | |
"ebd1c16d-bc93-d980-aea7-4771aaecd3c9": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Gas", | |
"showIcon": true, | |
"icon": "mdi:fire-circle", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "gas", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "ebd1c16d-bc93-d980-aea7-4771aaecd3c9" | |
}, | |
"b149387e-475c-e6b0-7e83-d3b814f7a9b1": { | |
"typeFullFqn": "system.cards.html_card", | |
"type": "static", | |
"sizeX": 7.5, | |
"sizeY": 3, | |
"config": { | |
"datasources": [ | |
{ | |
"type": "static", | |
"name": "function", | |
"dataKeys": [ | |
{ | |
"name": "f(x)", | |
"type": "function", | |
"label": "Random", | |
"color": "#2196f3", | |
"settings": {}, | |
"_hash": 0.15479322438769105, | |
"funcBody": "var value = prevValue + Math.random() * 100 - 50;\nvar multiplier = Math.pow(10, 2 || 0);\nvar value = Math.round(value * multiplier) / multiplier;\nif (value < -1000) {\n\tvalue = -1000;\n} else if (value > 1000) {\n\tvalue = 1000;\n}\nreturn value;" | |
} | |
] | |
} | |
], | |
"timewindow": { | |
"realtime": { | |
"timewindowMs": 60000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "rgba(255, 255, 255, 0)", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "8px", | |
"settings": { | |
"cardHtml": "<div class='card'>home state</div>", | |
"cardCss": ".card {\n font-weight: bold;\n font-size: 48px;\n color: #999;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}" | |
}, | |
"title": "HTML Card", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "" | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "b149387e-475c-e6b0-7e83-d3b814f7a9b1" | |
}, | |
"f713475b-8c3d-4679-9c99-bfc5b6a4cc6b": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Home", | |
"showIcon": true, | |
"icon": "home", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "home", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "f713475b-8c3d-4679-9c99-bfc5b6a4cc6b" | |
}, | |
"6bd16d38-7774-c293-f01b-bad5c3259cb8": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": true, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Water", | |
"showIcon": true, | |
"icon": "water_drop", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "water", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "6bd16d38-7774-c293-f01b-bad5c3259cb8" | |
}, | |
"5ffc6fef-ccc5-22f1-4f9d-390921a67026": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Electricity", | |
"showIcon": true, | |
"icon": "bolt", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "electricity", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "5ffc6fef-ccc5-22f1-4f9d-390921a67026" | |
}, | |
"85d34678-35be-8911-8ce9-1b956e889dda": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Home", | |
"showIcon": true, | |
"icon": "home", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "home", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "85d34678-35be-8911-8ce9-1b956e889dda" | |
}, | |
"828a9c40-a795-c686-9d9e-afc6c4d1e886": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Home", | |
"showIcon": true, | |
"icon": "home", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "home", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "828a9c40-a795-c686-9d9e-afc6c4d1e886" | |
}, | |
"56435f8e-88e6-a92d-b44b-3758dbc0e452": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Water", | |
"showIcon": true, | |
"icon": "water_drop", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "water", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "56435f8e-88e6-a92d-b44b-3758dbc0e452" | |
}, | |
"0cdcf102-68fe-6e28-1e96-b074eb7b8f2e": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Water", | |
"showIcon": true, | |
"icon": "water_drop", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "water", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "0cdcf102-68fe-6e28-1e96-b074eb7b8f2e" | |
}, | |
"ba56a7b1-ba4f-8f07-d56e-13bd000e3486": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": true, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Electricity", | |
"showIcon": true, | |
"icon": "bolt", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "electricity", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "ba56a7b1-ba4f-8f07-d56e-13bd000e3486" | |
}, | |
"cff1b5db-124d-3d29-ab46-b2a79c06e0e0": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Electricity", | |
"showIcon": true, | |
"icon": "bolt", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "electricity", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "cff1b5db-124d-3d29-ab46-b2a79c06e0e0" | |
}, | |
"14fa7066-5e66-f4dd-f792-69636759c946": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": true, | |
"executeRpc": { | |
"method": null, | |
"requestTimeout": null, | |
"requestPersistent": null, | |
"persistentPollingInterval": null | |
}, | |
"getAttribute": { | |
"scope": null, | |
"key": "state" | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;", | |
"compareToValue": true | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Gas", | |
"showIcon": true, | |
"icon": "mdi:fire-circle", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "gas", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "14fa7066-5e66-f4dd-f792-69636759c946" | |
}, | |
"45a19c19-de75-f524-bbb4-feeec82215b9": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Gas", | |
"showIcon": true, | |
"icon": "mdi:fire-circle", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "gas", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "45a19c19-de75-f524-bbb4-feeec82215b9" | |
}, | |
"08d1a111-164e-2157-5dc9-62840de02cc7": { | |
"typeFullFqn": "system.action_button", | |
"type": "latest", | |
"sizeX": 3, | |
"sizeY": 1, | |
"config": { | |
"datasources": [], | |
"timewindow": { | |
"displayValue": "", | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 1, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708443855386, | |
"endTimeMs": 1708530255386 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "#FFFFFF01", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "0px", | |
"settings": { | |
"activatedState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"disabledState": { | |
"action": "DO_NOTHING", | |
"defaultValue": false, | |
"getAttribute": { | |
"key": "state", | |
"scope": null | |
}, | |
"getTimeSeries": { | |
"key": "state" | |
}, | |
"dataToValue": { | |
"type": "NONE", | |
"compareToValue": true, | |
"dataToValueFunction": "/* Should return boolean value */\nreturn data;" | |
} | |
}, | |
"appearance": { | |
"type": "outlined", | |
"showLabel": true, | |
"label": "Gas", | |
"showIcon": true, | |
"icon": "mdi:fire-circle", | |
"iconSize": 24, | |
"iconSizeUnit": "px", | |
"mainColor": "var(--tb-primary-500)", | |
"backgroundColor": "#FFFFFF", | |
"autoScale": true, | |
"customStyle": { | |
"enabled": null, | |
"hovered": null, | |
"pressed": null, | |
"activated": null, | |
"disabled": null | |
} | |
} | |
}, | |
"title": "Action button", | |
"showTitleIcon": false, | |
"iconColor": "rgba(0, 0, 0, 0.87)", | |
"iconSize": "24px", | |
"titleTooltip": "", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"titleStyle": { | |
"fontSize": "16px", | |
"fontWeight": 400 | |
}, | |
"showLegend": false, | |
"useDashboardTimewindow": true, | |
"displayTimewindow": true, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "", | |
"borderRadius": "4px", | |
"configMode": "basic", | |
"actions": { | |
"click": [ | |
{ | |
"id": "98182eb2-b03d-1864-ab60-9d9873cd9878", | |
"name": "onClick", | |
"icon": "more_horiz", | |
"type": "updateDashboardState", | |
"targetDashboardStateId": "gas", | |
"openRightLayout": false, | |
"setEntityId": true, | |
"stateEntityParamName": null, | |
"openInSeparateDialog": false, | |
"openInPopover": false | |
} | |
] | |
} | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "08d1a111-164e-2157-5dc9-62840de02cc7" | |
}, | |
"cad7fad2-5043-a34a-57a8-90e1b9d0a8cb": { | |
"typeFullFqn": "system.cards.html_card", | |
"type": "static", | |
"sizeX": 7.5, | |
"sizeY": 3, | |
"config": { | |
"datasources": [ | |
{ | |
"type": "static", | |
"name": "function", | |
"dataKeys": [ | |
{ | |
"name": "f(x)", | |
"type": "function", | |
"label": "Random", | |
"color": "#2196f3", | |
"settings": {}, | |
"_hash": 0.15479322438769105, | |
"funcBody": "var value = prevValue + Math.random() * 100 - 50;\nvar multiplier = Math.pow(10, 2 || 0);\nvar value = Math.round(value * multiplier) / multiplier;\nif (value < -1000) {\n\tvalue = -1000;\n} else if (value > 1000) {\n\tvalue = 1000;\n}\nreturn value;" | |
} | |
] | |
} | |
], | |
"timewindow": { | |
"realtime": { | |
"timewindowMs": 60000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "rgba(255, 255, 255, 0)", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "8px", | |
"settings": { | |
"cardHtml": "<div class='card'>electricity state</div>", | |
"cardCss": ".card {\n font-weight: bold;\n font-size: 48px;\n color: #999;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}" | |
}, | |
"title": "HTML Card", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "" | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "cad7fad2-5043-a34a-57a8-90e1b9d0a8cb" | |
}, | |
"f19a6086-ab56-8d63-12a2-428ac5d056c0": { | |
"typeFullFqn": "system.cards.html_card", | |
"type": "static", | |
"sizeX": 7.5, | |
"sizeY": 3, | |
"config": { | |
"datasources": [ | |
{ | |
"type": "static", | |
"name": "function", | |
"dataKeys": [ | |
{ | |
"name": "f(x)", | |
"type": "function", | |
"label": "Random", | |
"color": "#2196f3", | |
"settings": {}, | |
"_hash": 0.15479322438769105, | |
"funcBody": "var value = prevValue + Math.random() * 100 - 50;\nvar multiplier = Math.pow(10, 2 || 0);\nvar value = Math.round(value * multiplier) / multiplier;\nif (value < -1000) {\n\tvalue = -1000;\n} else if (value > 1000) {\n\tvalue = 1000;\n}\nreturn value;" | |
} | |
] | |
} | |
], | |
"timewindow": { | |
"realtime": { | |
"timewindowMs": 60000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "rgba(255, 255, 255, 0)", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "8px", | |
"settings": { | |
"cardHtml": "<div class='card'>gas state</div>", | |
"cardCss": ".card {\n font-weight: bold;\n font-size: 48px;\n color: #999;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}" | |
}, | |
"title": "HTML Card", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "" | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "f19a6086-ab56-8d63-12a2-428ac5d056c0" | |
}, | |
"b687dd99-ca73-06eb-aa7b-3605a675a1ef": { | |
"typeFullFqn": "system.cards.html_card", | |
"type": "static", | |
"sizeX": 7.5, | |
"sizeY": 3, | |
"config": { | |
"datasources": [ | |
{ | |
"type": "static", | |
"name": "function", | |
"dataKeys": [ | |
{ | |
"name": "f(x)", | |
"type": "function", | |
"label": "Random", | |
"color": "#2196f3", | |
"settings": {}, | |
"_hash": 0.15479322438769105, | |
"funcBody": "var value = prevValue + Math.random() * 100 - 50;\nvar multiplier = Math.pow(10, 2 || 0);\nvar value = Math.round(value * multiplier) / multiplier;\nif (value < -1000) {\n\tvalue = -1000;\n} else if (value > 1000) {\n\tvalue = 1000;\n}\nreturn value;" | |
} | |
] | |
} | |
], | |
"timewindow": { | |
"realtime": { | |
"timewindowMs": 60000 | |
} | |
}, | |
"showTitle": false, | |
"backgroundColor": "rgba(255, 255, 255, 0)", | |
"color": "rgba(0, 0, 0, 0.87)", | |
"padding": "8px", | |
"settings": { | |
"cardHtml": "<div class='card'>water state</div>", | |
"cardCss": ".card {\n font-weight: bold;\n font-size: 48px;\n color: #999;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}" | |
}, | |
"title": "HTML Card", | |
"dropShadow": false, | |
"enableFullscreen": false, | |
"enableDataExport": false, | |
"widgetStyle": {}, | |
"widgetCss": "", | |
"pageSize": 1024, | |
"noDataDisplayMessage": "" | |
}, | |
"row": 0, | |
"col": 0, | |
"id": "b687dd99-ca73-06eb-aa7b-3605a675a1ef" | |
} | |
}, | |
"states": { | |
"water": { | |
"name": "Water", | |
"root": false, | |
"layouts": { | |
"main": { | |
"widgets": { | |
"f713475b-8c3d-4679-9c99-bfc5b6a4cc6b": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 0 | |
}, | |
"6bd16d38-7774-c293-f01b-bad5c3259cb8": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 3 | |
}, | |
"5ffc6fef-ccc5-22f1-4f9d-390921a67026": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 6 | |
}, | |
"45a19c19-de75-f524-bbb4-feeec82215b9": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 9 | |
}, | |
"b687dd99-ca73-06eb-aa7b-3605a675a1ef": { | |
"sizeX": 12, | |
"sizeY": 6, | |
"row": 1, | |
"col": 0 | |
} | |
}, | |
"gridSettings": { | |
"backgroundColor": "#eeeeee", | |
"columns": 24, | |
"margin": 10, | |
"outerMargin": true, | |
"backgroundSizeMode": "100%" | |
} | |
} | |
} | |
}, | |
"electricity": { | |
"name": "Electricity", | |
"root": false, | |
"layouts": { | |
"main": { | |
"widgets": { | |
"85d34678-35be-8911-8ce9-1b956e889dda": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 0 | |
}, | |
"0cdcf102-68fe-6e28-1e96-b074eb7b8f2e": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 3 | |
}, | |
"ba56a7b1-ba4f-8f07-d56e-13bd000e3486": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 6 | |
}, | |
"08d1a111-164e-2157-5dc9-62840de02cc7": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 9 | |
}, | |
"cad7fad2-5043-a34a-57a8-90e1b9d0a8cb": { | |
"sizeX": 12, | |
"sizeY": 6, | |
"row": 1, | |
"col": 0 | |
} | |
}, | |
"gridSettings": { | |
"backgroundColor": "#eeeeee", | |
"columns": 24, | |
"margin": 10, | |
"outerMargin": true, | |
"backgroundSizeMode": "100%" | |
} | |
} | |
} | |
}, | |
"gas": { | |
"name": "Gas", | |
"root": false, | |
"layouts": { | |
"main": { | |
"widgets": { | |
"828a9c40-a795-c686-9d9e-afc6c4d1e886": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 0 | |
}, | |
"56435f8e-88e6-a92d-b44b-3758dbc0e452": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 3 | |
}, | |
"cff1b5db-124d-3d29-ab46-b2a79c06e0e0": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 6 | |
}, | |
"14fa7066-5e66-f4dd-f792-69636759c946": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 9 | |
}, | |
"f19a6086-ab56-8d63-12a2-428ac5d056c0": { | |
"sizeX": 12, | |
"sizeY": 6, | |
"row": 1, | |
"col": 0 | |
} | |
}, | |
"gridSettings": { | |
"backgroundColor": "#eeeeee", | |
"columns": 24, | |
"margin": 10, | |
"outerMargin": true, | |
"backgroundSizeMode": "100%" | |
} | |
} | |
} | |
}, | |
"home": { | |
"name": "Home", | |
"root": true, | |
"layouts": { | |
"main": { | |
"widgets": { | |
"1061b1b7-240e-ef27-37a2-d2a823149b63": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 0 | |
}, | |
"e0ee4cbd-dc4d-20f1-b20a-2a5944781af1": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 3 | |
}, | |
"b81a27fc-0236-70b0-25d7-d58629e228bb": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 6 | |
}, | |
"ebd1c16d-bc93-d980-aea7-4771aaecd3c9": { | |
"sizeX": 3, | |
"sizeY": 1, | |
"row": 0, | |
"col": 9 | |
}, | |
"b149387e-475c-e6b0-7e83-d3b814f7a9b1": { | |
"sizeX": 12, | |
"sizeY": 6, | |
"row": 1, | |
"col": 0 | |
} | |
}, | |
"gridSettings": { | |
"backgroundColor": "#eeeeee", | |
"columns": 24, | |
"margin": 10, | |
"outerMargin": true, | |
"backgroundSizeMode": "100%" | |
} | |
} | |
} | |
} | |
}, | |
"entityAliases": {}, | |
"filters": {}, | |
"timewindow": { | |
"displayValue": "", | |
"hideInterval": false, | |
"hideLastInterval": false, | |
"hideQuickInterval": false, | |
"hideAggregation": false, | |
"hideAggInterval": false, | |
"hideTimezone": false, | |
"selectedTab": 0, | |
"realtime": { | |
"realtimeType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"history": { | |
"historyType": 0, | |
"interval": 1000, | |
"timewindowMs": 60000, | |
"fixedTimewindow": { | |
"startTimeMs": 1708441703532, | |
"endTimeMs": 1708528103532 | |
}, | |
"quickInterval": "CURRENT_DAY" | |
}, | |
"aggregation": { | |
"type": "AVG", | |
"limit": 25000 | |
} | |
}, | |
"settings": { | |
"stateControllerId": "entity", | |
"showTitle": false, | |
"showDashboardsSelect": true, | |
"showEntitiesSelect": true, | |
"showDashboardTimewindow": true, | |
"showDashboardExport": true, | |
"toolbarAlwaysOpen": true | |
} | |
}, | |
"name": "Buttons" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment