{
  "title": "Ultrasonic Residential Smart Gas Meter LoRaWAN",
  "configuration": {
    "description": "",
    "widgets": {
      "b2f82b6b-8969-9c65-8495-034573440529": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
              "dataKeys": [
                {
                  "name": "gasMeter",
                  "type": "timeseries",
                  "label": "Readings",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.08153707724379844,
                  "units": null,
                  "decimals": null,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "realtime": {
              "timewindowMs": 60000
            }
          },
          "showTitle": false,
          "backgroundColor": "#3f51b5",
          "color": "rgba(255, 255, 255, 0.87)",
          "padding": "16px",
          "settings": {
            "labelPosition": "top"
          },
          "title": "",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "12px",
            "fontWeight": 200
          },
          "units": "m³",
          "decimals": 3,
          "useDashboardTimewindow": true,
          "showLegend": false,
          "widgetStyle": {},
          "actions": {},
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false,
          "titleIcon": "border_color",
          "legendConfig": {
            "direction": "column",
            "position": "bottom",
            "showMin": false,
            "showMax": false,
            "showAvg": false,
            "showTotal": false
          }
        },
        "row": 0,
        "col": 0,
        "id": "b2f82b6b-8969-9c65-8495-034573440529"
      },
      "012c8803-87c7-64db-4b6c-b9c09d396d62": {
        "isSystemType": true,
        "bundleAlias": "charts",
        "typeAlias": "basic_timeseries",
        "type": "timeseries",
        "title": "New widget",
        "sizeX": 8,
        "sizeY": 5,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
              "dataKeys": [
                {
                  "name": "gasMeter",
                  "type": "timeseries",
                  "label": "Gas Meter Readings",
                  "color": "#2196f3",
                  "settings": {
                    "excludeFromStacking": false,
                    "hideDataByDefault": false,
                    "disableDataHiding": false,
                    "removeFromLegend": false,
                    "showLines": true,
                    "fillLines": false,
                    "showPoints": false,
                    "showPointShape": "circle",
                    "pointShapeFormatter": "var size = radius * Math.sqrt(Math.PI) / 2;\nctx.moveTo(x - size, y - size);\nctx.lineTo(x + size, y + size);\nctx.moveTo(x - size, y + size);\nctx.lineTo(x + size, y - size);",
                    "showPointsLineWidth": 5,
                    "showPointsRadius": 3,
                    "showSeparateAxis": false,
                    "axisPosition": "left",
                    "thresholds": [
                      {
                        "thresholdValueSource": "predefinedValue"
                      }
                    ],
                    "comparisonSettings": {
                      "showValuesForComparison": true
                    }
                  },
                  "_hash": 0.28480557141969065,
                  "units": "m³",
                  "decimals": 1,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                },
                {
                  "name": "temperature",
                  "type": "timeseries",
                  "label": "temperature",
                  "color": "#4caf50",
                  "settings": {
                    "excludeFromStacking": false,
                    "hideDataByDefault": false,
                    "disableDataHiding": false,
                    "removeFromLegend": false,
                    "showLines": true,
                    "fillLines": false,
                    "showPoints": false,
                    "showPointShape": "circle",
                    "pointShapeFormatter": "var size = radius * Math.sqrt(Math.PI) / 2;\nctx.moveTo(x - size, y - size);\nctx.lineTo(x + size, y + size);\nctx.moveTo(x - size, y + size);\nctx.lineTo(x + size, y - size);",
                    "showPointsLineWidth": 5,
                    "showPointsRadius": 3,
                    "showSeparateAxis": false,
                    "axisPosition": "left",
                    "thresholds": [
                      {
                        "thresholdValueSource": "predefinedValue"
                      }
                    ],
                    "comparisonSettings": {
                      "showValuesForComparison": true
                    }
                  },
                  "_hash": 0.8319662247219961,
                  "units": "°C",
                  "decimals": 1,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "hideInterval": false,
            "hideAggregation": false,
            "hideAggInterval": false,
            "selectedTab": 0,
            "realtime": {
              "timewindowMs": 3600000,
              "interval": 15000
            },
            "aggregation": {
              "type": "AVG",
              "limit": 25000
            }
          },
          "showTitle": true,
          "backgroundColor": "#ffffff",
          "color": "#000000",
          "padding": "8px",
          "settings": {
            "shadowSize": 4,
            "fontColor": "#000000",
            "fontSize": 10,
            "xaxis": {
              "showLabels": true,
              "color": "#000000"
            },
            "yaxis": {
              "showLabels": true,
              "color": "#000000",
              "tickDecimals": 1
            },
            "grid": {
              "color": "rgba(0, 0, 0, 0.46)",
              "tickColor": "rgba(0, 0, 0, 0.46)",
              "verticalLines": true,
              "horizontalLines": true,
              "outlineWidth": 1
            },
            "stack": false,
            "tooltipIndividual": false,
            "timeForComparison": "months",
            "xaxisSecond": {
              "axisPosition": "top",
              "showLabels": true
            },
            "smoothLines": true
          },
          "title": "Meter readings graph",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "useDashboardTimewindow": false,
          "showTitleIcon": true,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false,
          "widgetStyle": {},
          "showLegend": true,
          "legendConfig": {
            "direction": "column",
            "position": "bottom",
            "showMin": true,
            "showMax": true,
            "showAvg": true,
            "showTotal": false
          },
          "titleIcon": "show_chart",
          "displayTimewindow": true
        },
        "row": 0,
        "col": 0,
        "id": "012c8803-87c7-64db-4b6c-b9c09d396d62"
      },
      "72d64ba8-4115-f28f-f27a-c7218d67982c": {
        "isSystemType": true,
        "bundleAlias": "alarm_widgets",
        "typeAlias": "alarms_table",
        "type": "alarm",
        "title": "New widget",
        "sizeX": 10.5,
        "sizeY": 6.5,
        "config": {
          "timewindow": {
            "hideInterval": false,
            "hideAggregation": false,
            "hideAggInterval": false,
            "selectedTab": 0,
            "realtime": {
              "timewindowMs": 86400000,
              "interval": 1000
            },
            "aggregation": {
              "type": "NONE",
              "limit": 200
            }
          },
          "showTitle": true,
          "backgroundColor": "#ffffff",
          "color": "rgba(0,0,0,0.87)",
          "padding": "4px",
          "settings": {
            "enableSelection": true,
            "enableSearch": true,
            "displayDetails": true,
            "allowAcknowledgment": true,
            "allowClear": true,
            "displayPagination": true,
            "defaultPageSize": 10,
            "defaultSortOrder": "-createdTime",
            "enableSelectColumnDisplay": true,
            "enableStatusFilter": true,
            "enableStickyAction": false,
            "alarmsTitle": "Alarms"
          },
          "title": "Тревоги",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400,
            "padding": "5px 10px 5px 10px"
          },
          "useDashboardTimewindow": false,
          "showLegend": false,
          "alarmSource": {
            "type": "entity",
            "name": "alarms",
            "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
            "dataKeys": [
              {
                "name": "createdTime",
                "type": "alarm",
                "label": "Created Time",
                "color": "#2196f3",
                "settings": {
                  "columnWidth": "0px"
                },
                "_hash": 0.2132397828486825,
                "units": null,
                "decimals": null,
                "funcBody": null,
                "usePostProcessing": null,
                "postFuncBody": null
              },
              {
                "name": "type",
                "type": "alarm",
                "label": "Type",
                "color": "#f44336",
                "settings": {
                  "columnWidth": "0px"
                },
                "_hash": 0.6714196077479946,
                "units": null,
                "decimals": null,
                "funcBody": null,
                "usePostProcessing": null,
                "postFuncBody": null
              },
              {
                "name": "severity",
                "type": "alarm",
                "label": "Severity",
                "color": "#ffc107",
                "settings": {
                  "columnWidth": "0px"
                },
                "_hash": 0.24767684070102525,
                "units": null,
                "decimals": null,
                "funcBody": null,
                "usePostProcessing": null,
                "postFuncBody": null
              }
            ]
          },
          "alarmSearchStatus": "ACTIVE",
          "alarmsPollingInterval": 5,
          "showTitleIcon": false,
          "titleIcon": "more_horiz",
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "widgetStyle": {},
          "displayTimewindow": true,
          "actions": {},
          "datasources": [],
          "enableDataExport": false,
          "alarmsMaxCountLoad": 0,
          "alarmsFetchSize": 100
        },
        "row": 0,
        "col": 0,
        "id": "72d64ba8-4115-f28f-f27a-c7218d67982c"
      },
      "1b5e7d9c-dd3a-7efe-0744-82c9fa8c13b0": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
              "dataKeys": [
                {
                  "name": "temperature",
                  "type": "timeseries",
                  "label": "Gas temperature",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.4917295638188117,
                  "units": null,
                  "decimals": 2,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "realtime": {
              "timewindowMs": 60000
            }
          },
          "showTitle": false,
          "backgroundColor": "#3f51b5",
          "color": "rgba(255, 255, 255, 0.87)",
          "padding": "16px",
          "settings": {
            "labelPosition": "top"
          },
          "title": "New Simple card",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "units": "°C",
          "decimals": 0,
          "useDashboardTimewindow": true,
          "showLegend": false,
          "widgetStyle": {},
          "actions": {},
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false
        },
        "row": 0,
        "col": 0,
        "id": "1b5e7d9c-dd3a-7efe-0744-82c9fa8c13b0"
      },
      "f932b922-08df-1868-4d0f-a171560dba1c": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
              "dataKeys": [
                {
                  "name": "gasTime",
                  "type": "timeseries",
                  "label": "Data received",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.9413910726924155,
                  "units": null,
                  "decimals": null,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "realtime": {
              "timewindowMs": 60000
            }
          },
          "showTitle": false,
          "backgroundColor": "#72a0d0",
          "color": "rgba(255, 255, 255, 0.87)",
          "padding": "16px",
          "settings": {
            "labelPosition": "top"
          },
          "title": "New Simple card",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "units": "°C",
          "decimals": 0,
          "useDashboardTimewindow": true,
          "showLegend": false,
          "widgetStyle": {},
          "actions": {},
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false
        },
        "row": 0,
        "col": 0,
        "id": "f932b922-08df-1868-4d0f-a171560dba1c"
      },
      "cb271845-45a0-24d5-45cb-27b07db1bac3": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "html_card",
        "type": "static",
        "title": "New widget",
        "sizeX": 7.5,
        "sizeY": 3,
        "config": {
          "datasources": [],
          "timewindow": {
            "realtime": {
              "timewindowMs": 60000
            }
          },
          "showTitle": false,
          "backgroundColor": "rgb(255, 255, 255)",
          "color": "rgba(0, 0, 0, 0.87)",
          "padding": "8px",
          "settings": {
            "cardHtml": "<div class='card'><img src=\"https://upload.smartico.biz/pictures/Ultrasonic_Gas_Meter_LoRaWAN.png\" width=\"50%\" height=\"100%\" no-repeat></div>",
            "cardCss": ".card {\n    font-weight: bold;\n    font-size: 32px;\n    color: #999;\n    width: 100%;\n    height: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n}"
          },
          "title": "New HTML Card",
          "dropShadow": true,
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableFullscreen": false,
          "enableDataExport": false,
          "widgetStyle": {},
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "showLegend": false
        },
        "row": 0,
        "col": 0,
        "id": "cb271845-45a0-24d5-45cb-27b07db1bac3"
      },
      "6850d368-1128-7e55-0608-6b4e5fa1b12c": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "4103d3e6-0657-e6ce-21f8-544065c129fa",
              "dataKeys": [
                {
                  "name": "SN",
                  "type": "timeseries",
                  "label": "Serial number",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.24273572548308864,
                  "units": null,
                  "decimals": null,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "realtime": {
              "timewindowMs": 60000
            }
          },
          "showTitle": false,
          "backgroundColor": "#4caf50",
          "color": "rgba(255, 255, 255, 0.87)",
          "padding": "16px",
          "settings": {
            "labelPosition": "top"
          },
          "title": "New Simple card",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "units": "",
          "decimals": null,
          "useDashboardTimewindow": true,
          "showLegend": false,
          "widgetStyle": {},
          "actions": {},
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false
        },
        "row": 0,
        "col": 0,
        "id": "6850d368-1128-7e55-0608-6b4e5fa1b12c"
      }
    },
    "states": {
      "default": {
        "name": "Ultrasonic Residential Smart Gas Meter LoRaWAN",
        "root": true,
        "layouts": {
          "main": {
            "widgets": {
              "b2f82b6b-8969-9c65-8495-034573440529": {
                "sizeX": 6,
                "sizeY": 2,
                "row": 2,
                "col": 12
              },
              "012c8803-87c7-64db-4b6c-b9c09d396d62": {
                "sizeX": 12,
                "sizeY": 9,
                "row": 4,
                "col": 0
              },
              "72d64ba8-4115-f28f-f27a-c7218d67982c": {
                "sizeX": 12,
                "sizeY": 9,
                "row": 4,
                "col": 12
              },
              "1b5e7d9c-dd3a-7efe-0744-82c9fa8c13b0": {
                "sizeX": 6,
                "sizeY": 2,
                "row": 2,
                "col": 18
              },
              "f932b922-08df-1868-4d0f-a171560dba1c": {
                "sizeX": 20,
                "sizeY": 2,
                "row": 0,
                "col": 4
              },
              "cb271845-45a0-24d5-45cb-27b07db1bac3": {
                "sizeX": 4,
                "sizeY": 4,
                "row": 0,
                "col": 0
              },
              "6850d368-1128-7e55-0608-6b4e5fa1b12c": {
                "sizeX": 8,
                "sizeY": 2,
                "row": 2,
                "col": 4
              }
            },
            "gridSettings": {
              "backgroundColor": "#eeeeee",
              "color": "rgba(0,0,0,0.870588)",
              "columns": 24,
              "margin": 10,
              "backgroundSizeMode": "100%"
            }
          }
        }
      }
    },
    "entityAliases": {
      "4103d3e6-0657-e6ce-21f8-544065c129fa": {
        "id": "4103d3e6-0657-e6ce-21f8-544065c129fa",
        "alias": "Gas Meter",
        "filter": {
          "type": "deviceSearchQuery",
          "resolveMultiple": true,
          "rootStateEntity": false,
          "stateEntityParamName": null,
          "defaultStateEntity": null,
          "rootEntity": {
            "entityType": "ASSET",
            "id": "930b1410-e778-11ea-bfc0-9de199798a7d"
          },
          "direction": "FROM",
          "maxLevel": 1,
          "fetchLastLevelOnly": false,
          "relationType": "Contains",
          "deviceTypes": [
            "gasMeters"
          ]
        }
      }
    },
    "timewindow": {
      "hideInterval": false,
      "hideAggregation": false,
      "hideAggInterval": false,
      "selectedTab": 0,
      "realtime": {
        "timewindowMs": 86400000,
        "interval": 300000
      },
      "aggregation": {
        "type": "AVG",
        "limit": 25000
      }
    },
    "settings": {
      "stateControllerId": "entity",
      "showTitle": false,
      "showDashboardsSelect": true,
      "showEntitiesSelect": true,
      "showDashboardTimewindow": true,
      "showDashboardExport": true,
      "toolbarAlwaysOpen": true
    }
  },
  "name": "Ultrasonic Residential Smart Gas Meter LoRaWAN"
}