{
  "title": "Water meter Pulse Sensor LoRaWAN \"Smartico P22-LR\"",
  "configuration": {
    "description": "",
    "widgets": {
      "6bdb19a9-70e5-a6c0-43a5-262e9962b191": {
        "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/Pulse_Sensor_LoRaWAN.png\" width=\"80%\" 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": "6bdb19a9-70e5-a6c0-43a5-262e9962b191"
      },
      "b495c9fc-c64b-08c6-5eb8-929506c72584": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
              "dataKeys": [
                {
                  "name": "REAL_TIME",
                  "type": "timeseries",
                  "label": "Data received",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.15035168616482197,
                  "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": "",
          "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": "b495c9fc-c64b-08c6-5eb8-929506c72584"
      },
      "b7899916-ae98-f1ce-14a5-e00e61df9d22": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
              "dataKeys": [
                {
                  "name": "WATER_PULSE_VALUE_1",
                  "type": "timeseries",
                  "label": "Pulse input value №1",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.5169487721704149,
                  "units": "m³",
                  "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": "м³",
          "decimals": 2,
          "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": "b7899916-ae98-f1ce-14a5-e00e61df9d22"
      },
      "c062ff9e-719c-2ae4-c1ae-b8d3dd4cafff": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
              "dataKeys": [
                {
                  "name": "WATER_PULSE_VALUE_2",
                  "type": "timeseries",
                  "label": "Pulse input value №2",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.03875172549150885,
                  "units": "m³",
                  "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": "м³",
          "decimals": 2,
          "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": "c062ff9e-719c-2ae4-c1ae-b8d3dd4cafff"
      },
      "f5f5f72e-9471-21dd-fd5d-1dc6a0be79a6": {
        "isSystemType": true,
        "bundleAlias": "alarm_widgets",
        "typeAlias": "alarms_table",
        "type": "alarm",
        "title": "New widget",
        "sizeX": 10.5,
        "sizeY": 6.5,
        "config": {
          "timewindow": {
            "realtime": {
              "interval": 1000,
              "timewindowMs": 86400000
            },
            "aggregation": {
              "type": "NONE",
              "limit": 200
            }
          },
          "showTitle": true,
          "backgroundColor": "rgb(255, 255, 255)",
          "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": true,
            "alarmsTitle": "Alarms"
          },
          "title": "New Alarms table",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400,
            "padding": "5px 10px 5px 10px"
          },
          "useDashboardTimewindow": false,
          "showLegend": false,
          "alarmSource": {
            "type": "entity",
            "name": "alarms",
            "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
            "dataKeys": [
              {
                "name": "createdTime",
                "type": "alarm",
                "label": "Сreated Time",
                "color": "#2196f3",
                "settings": {
                  "columnWidth": "0px"
                },
                "_hash": 0.020694731348334994,
                "units": null,
                "decimals": null,
                "funcBody": null,
                "usePostProcessing": null,
                "postFuncBody": null
              },
              {
                "name": "severity",
                "type": "alarm",
                "label": "Severity",
                "color": "#ffc107",
                "settings": {
                  "columnWidth": "0px"
                },
                "_hash": 0.04998845386987383,
                "units": null,
                "decimals": null,
                "funcBody": null,
                "usePostProcessing": null,
                "postFuncBody": null
              },
              {
                "name": "type",
                "type": "alarm",
                "label": "Type",
                "color": "#f44336",
                "settings": {
                  "columnWidth": "0px",
                  "useCellStyleFunction": false,
                  "cellStyleFunction": "",
                  "useCellContentFunction": false,
                  "cellContentFunction": ""
                },
                "_hash": 0.1602785930861783
              }
            ]
          },
          "alarmSearchStatus": "ANY",
          "alarmsPollingInterval": 5,
          "showTitleIcon": false,
          "titleIcon": "more_horiz",
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "widgetStyle": {},
          "displayTimewindow": true,
          "actions": {},
          "datasources": [],
          "alarmsMaxCountLoad": 0,
          "alarmsFetchSize": 100,
          "enableDataExport": false
        },
        "row": 0,
        "col": 0,
        "id": "f5f5f72e-9471-21dd-fd5d-1dc6a0be79a6"
      },
      "d392c44b-cf1e-1518-089d-de3a7de0f1c9": {
        "isSystemType": true,
        "bundleAlias": "cards",
        "typeAlias": "simple_card",
        "type": "latest",
        "title": "New widget",
        "sizeX": 5,
        "sizeY": 3,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
              "dataKeys": [
                {
                  "name": "SN",
                  "type": "timeseries",
                  "label": "Serial number",
                  "color": "#2196f3",
                  "settings": {},
                  "_hash": 0.6145565447562835,
                  "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": "d392c44b-cf1e-1518-089d-de3a7de0f1c9"
      },
      "c27f3962-82b4-6143-70a6-ff7147824650": {
        "isSystemType": true,
        "bundleAlias": "charts",
        "typeAlias": "basic_timeseries",
        "type": "timeseries",
        "title": "New widget",
        "sizeX": 8,
        "sizeY": 5,
        "config": {
          "datasources": [
            {
              "type": "entity",
              "name": null,
              "entityAliasId": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
              "dataKeys": [
                {
                  "name": "WATER_PULSE_VALUE_1",
                  "type": "timeseries",
                  "label": "Pulse input value №1",
                  "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.48559957656798947,
                  "units": "m³",
                  "decimals": 3,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                },
                {
                  "name": "WATER_PULSE_VALUE_2",
                  "type": "timeseries",
                  "label": "Pulse input value №2",
                  "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.6736921451472426,
                  "units": "m³",
                  "decimals": 3,
                  "funcBody": null,
                  "usePostProcessing": null,
                  "postFuncBody": null
                }
              ]
            }
          ],
          "timewindow": {
            "hideInterval": false,
            "hideAggregation": false,
            "hideAggInterval": false,
            "selectedTab": 0,
            "realtime": {
              "timewindowMs": 86400000,
              "interval": 300000
            },
            "aggregation": {
              "type": "AVG",
              "limit": 25000
            }
          },
          "showTitle": true,
          "backgroundColor": "#fff",
          "color": "rgba(0, 0, 0, 0.87)",
          "padding": "8px",
          "settings": {
            "shadowSize": 4,
            "fontColor": "#545454",
            "fontSize": 10,
            "xaxis": {
              "showLabels": true,
              "color": "#545454"
            },
            "yaxis": {
              "showLabels": true,
              "color": "#545454"
            },
            "grid": {
              "color": "#545454",
              "tickColor": "#DDDDDD",
              "verticalLines": true,
              "horizontalLines": true,
              "outlineWidth": 1
            },
            "stack": false,
            "tooltipIndividual": false,
            "timeForComparison": "months",
            "xaxisSecond": {
              "axisPosition": "top",
              "showLabels": true
            }
          },
          "title": "Water meter data",
          "dropShadow": true,
          "enableFullscreen": false,
          "titleStyle": {
            "fontSize": "16px",
            "fontWeight": 400
          },
          "useDashboardTimewindow": false,
          "showTitleIcon": false,
          "iconColor": "rgba(0, 0, 0, 0.87)",
          "iconSize": "24px",
          "titleTooltip": "",
          "enableDataExport": false,
          "widgetStyle": {},
          "showLegend": true,
          "legendConfig": {
            "direction": "column",
            "position": "bottom",
            "showMin": false,
            "showMax": false,
            "showAvg": true,
            "showTotal": false
          },
          "displayTimewindow": true
        },
        "row": 0,
        "col": 0,
        "id": "c27f3962-82b4-6143-70a6-ff7147824650"
      }
    },
    "states": {
      "default": {
        "name": "Smartico LoRaWAN Pulse Sensor",
        "root": true,
        "layouts": {
          "main": {
            "widgets": {
              "6bdb19a9-70e5-a6c0-43a5-262e9962b191": {
                "sizeX": 4,
                "sizeY": 4,
                "row": 0,
                "col": 0
              },
              "b495c9fc-c64b-08c6-5eb8-929506c72584": {
                "sizeX": 20,
                "sizeY": 2,
                "row": 0,
                "col": 4
              },
              "b7899916-ae98-f1ce-14a5-e00e61df9d22": {
                "sizeX": 6,
                "sizeY": 2,
                "row": 2,
                "col": 12
              },
              "c062ff9e-719c-2ae4-c1ae-b8d3dd4cafff": {
                "sizeX": 6,
                "sizeY": 2,
                "row": 2,
                "col": 18
              },
              "f5f5f72e-9471-21dd-fd5d-1dc6a0be79a6": {
                "sizeX": 12,
                "sizeY": 8,
                "row": 4,
                "col": 12
              },
              "d392c44b-cf1e-1518-089d-de3a7de0f1c9": {
                "sizeX": 8,
                "sizeY": 2,
                "row": 2,
                "col": 4
              },
              "c27f3962-82b4-6143-70a6-ff7147824650": {
                "sizeX": 12,
                "sizeY": 8,
                "row": 4,
                "col": 0
              }
            },
            "gridSettings": {
              "backgroundColor": "#eeeeee",
              "color": "rgba(0,0,0,0.870588)",
              "columns": 24,
              "margin": 10,
              "backgroundSizeMode": "100%"
            }
          }
        }
      }
    },
    "entityAliases": {
      "ea02c2a9-a68d-4213-91e7-1f56318ea684": {
        "id": "ea02c2a9-a68d-4213-91e7-1f56318ea684",
        "alias": "PulseSensor",
        "filter": {
          "type": "deviceSearchQuery",
          "resolveMultiple": true,
          "rootStateEntity": false,
          "stateEntityParamName": null,
          "defaultStateEntity": null,
          "rootEntity": {
            "entityType": "ASSET",
            "id": "aa161160-d642-11ea-b1a6-417c1e0e180f"
          },
          "direction": "FROM",
          "maxLevel": 1,
          "fetchLastLevelOnly": false,
          "relationType": "Contains",
          "deviceTypes": [
            "Water Pulse"
          ]
        }
      }
    },
    "timewindow": {
      "hideInterval": false,
      "hideAggregation": false,
      "hideAggInterval": false,
      "selectedTab": 0,
      "realtime": {
        "timewindowMs": 43200000,
        "interval": 120000
      },
      "aggregation": {
        "type": "AVG",
        "limit": 25000
      }
    },
    "settings": {
      "stateControllerId": "entity",
      "showTitle": false,
      "showDashboardsSelect": true,
      "showEntitiesSelect": true,
      "showDashboardTimewindow": true,
      "showDashboardExport": true,
      "toolbarAlwaysOpen": true
    }
  },
  "name": "Water meter Pulse Sensor LoRaWAN \"Smartico P22-LR\""
}