TUPY - Embaladora
Dashboard módulo digital
Dashboard módulo digital
{
  "__inputs": [
    {
      "name": "DS_INFLUXDB-TUPY",
      "label": "InfluxDB-TUPY",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    },
    {
      "name": "DS_INFLUXDB_(GRAFANA ONLINE)",
      "label": "influxdb (grafana online)",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "bargauge",
      "name": "Bar gauge",
      "version": ""
    },
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.0.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph (old)",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "text",
      "name": "Text",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "limit": 100,
        "matchAny": true,
        "name": "Annotations & Alerts",
        "showIn": 0,
        "tags": [
          "desperdicio",
          "DESPERDICIO",
          "META DO DIA",
          "meta do dia"
        ],
        "type": "tags"
      }
    ]
  },
  "description": "Dashboard módulo digital",
  "editable": true,
  "gnetId": 14654,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1625147344899,
  "links": [
    {
      "asDropdown": true,
      "icon": "external link",
      "tags": [],
      "title": "NAVEGAÇÃO",
      "type": "dashboards"
    }
  ],
  "panels": [
    {
      "collapsed": false,
      "datasource": "${DS_INFLUXDB_(GRAFANA ONLINE)}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 26,
      "panels": [],
      "title": "ESTIMATIVA DE PRODUÇÃO",
      "type": "row"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 87.3,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 9,
        "x": 0,
        "y": 1
      },
      "id": 28,
      "options": {
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_4\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"VELOCIDADE_01antigo\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PEAMOD_Park\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |> map(fn: (r) => ({ r with _value: ((r._value)*6.191)}))\r\n  //|> map(fn: (r) => ({ r with _value: r._value}))",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "VELOCIDADE ESTAMPO",
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB_(GRAFANA ONLINE)}",
      "gridPos": {
        "h": 2,
        "w": 15,
        "x": 9,
        "y": 1
      },
      "id": 59,
      "options": {
        "content": "<p style=\"text-align: center;\"><span style=\"font-family: Verdana, Geneva, sans-serif;\"><strong><span style=\"color: rgb(0, 0, 0); font-size: 30px;\">PRODUÇÃO ESTIMADA</span></strong></span><br>",
        "mode": "html"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "transparent": true,
      "type": "text"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "": {
                  "text": ""
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 5,
        "x": 9,
        "y": 3
      },
      "id": 57,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_1\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"temperature_1\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PME_Park\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n\r\n  |> map(fn: (r) => ({ r with _value: ${META_DO_DIA_CAIXAS}.0}))",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "EM CAIXAS",
      "type": "stat"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 5,
        "x": 14,
        "y": 3
      },
      "id": 30,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_1\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"temperature_1\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PME_Park\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n\r\n  |> map(fn: (r) => ({ r with _value: ${META_DO_DIA_CAIXAS}.0 * 4.0}))",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "EM PACOTES",
      "type": "stat"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-blue",
                "value": null
              }
            ]
          },
          "unit": "massg"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 5,
        "x": 19,
        "y": 3
      },
      "id": 56,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_1\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"temperature_1\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PME_Park\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n\r\n  |> map(fn: (r) => ({ r with _value: ${META_DO_DIA_CAIXAS}.0 * 4.0 * ${peso}.0}))",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "EM BISCOITOS (PESO)",
      "type": "stat"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 9,
        "x": 0,
        "y": 7
      },
      "hiddenSeries": false,
      "id": 55,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_4\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"VELOCIDADE_01antigo\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PEAMOD_Park\")\r\n  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n |> map(fn: (r) => ({ r with _value: ((r._value)*6.191)}))\r\n // |> map(fn: (r) => ({ r with _value: r._value}))",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "LINHA DO TEMPO VELOCIDADE",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:294",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:295",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "collapsed": false,
      "datasource": "${DS_INFLUXDB_(GRAFANA ONLINE)}",
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 35,
      "panels": [],
      "title": "PRODUÇÃO DE BISCOITOS",
      "type": "row"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "rgba(217, 199, 199, 1)",
            "mode": "fixed"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "text",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 24,
        "x": 0,
        "y": 14
      },
      "id": 68,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\" or r[\"alias\"] == \"Input_02\" or r[\"alias\"] == \"Input_03\" or r[\"alias\"] == \"Input_04\" or r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n // |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n // |> yield(name: \"last\")\r\n  |> group()\r\n  |> sum(column: \"_value\")",
          "refId": "A"
        }
      ],
      "title": "TOTAL PRODUZIDO",
      "type": "stat"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "prod/min",
          "mappings": [],
          "max": 50,
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "green",
                "value": 20
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 0,
        "y": 18
      },
      "hideTimeOverride": true,
      "id": 87,
      "libraryPanel": {
        "description": "",
        "meta": {
          "connectedDashboards": 1,
          "created": "2021-06-30T18:19:21Z",
          "createdBy": {
            "avatarUrl": "/avatar/d667ab7cb9ad17405595070b8bb9dba6",
            "id": 2,
            "name": "matheusaragao"
          },
          "folderName": "General",
          "folderUid": "",
          "updated": "2021-06-30T18:31:49Z",
          "updatedBy": {
            "avatarUrl": "/avatar/d667ab7cb9ad17405595070b8bb9dba6",
            "id": 2,
            "name": "matheusaragao"
          }
        },
        "name": "EMBALADORA 01 ",
        "type": "gauge",
        "uid": "Kt0-l1k7k",
        "version": 4
      },
      "options": {
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> cumulativeSum(columns: [\"_value\"])\r\n  ",
          "refId": "A"
        }
      ],
      "timeFrom": "1m",
      "timeShift": "2m",
      "title": "EMBALADORA 01 ",
      "transformations": [],
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "prod/min",
          "mappings": [],
          "max": 50,
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "green",
                "value": 20
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 4,
        "y": 18
      },
      "hideTimeOverride": true,
      "id": 88,
      "options": {
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_02\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> cumulativeSum(columns: [\"_value\"])\r\n  ",
          "refId": "A"
        }
      ],
      "timeFrom": "1m",
      "timeShift": "2m",
      "title": "EMBALADORA 02",
      "transformations": [],
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "prod/min",
          "mappings": [],
          "max": 50,
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "green",
                "value": 20
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 8,
        "y": 18
      },
      "hideTimeOverride": true,
      "id": 89,
      "options": {
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_03\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> cumulativeSum(columns: [\"_value\"])\r\n  ",
          "refId": "A"
        }
      ],
      "timeFrom": "1m",
      "timeShift": "2m",
      "title": "EMBALADORA 03",
      "transformations": [],
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "prod/min",
          "mappings": [],
          "max": 50,
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "green",
                "value": 20
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 12,
        "y": 18
      },
      "hideTimeOverride": true,
      "id": 90,
      "options": {
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_04\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> cumulativeSum(columns: [\"_value\"])\r\n  ",
          "refId": "A"
        }
      ],
      "timeFrom": "1m",
      "timeShift": "2m",
      "title": "EMBALADORA 04",
      "transformations": [],
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "prod/min",
          "mappings": [],
          "max": 50,
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 10
              },
              {
                "color": "green",
                "value": 20
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 16,
        "y": 18
      },
      "hideTimeOverride": true,
      "id": 91,
      "options": {
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "text": {}
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> cumulativeSum(columns: [\"_value\"])\r\n  ",
          "refId": "A"
        }
      ],
      "timeFrom": "1m",
      "timeShift": "2m",
      "title": "EMBALADORA 05",
      "transformations": [],
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "dark-blue",
                "value": 0
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 14,
        "w": 4,
        "x": 20,
        "y": 18
      },
      "id": 44,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "text": {},
        "textMode": "auto"
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_06\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n//  |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  \r\n  |> cumulativeSum(columns: [\"_value\"])",
          "queryType": "measurements",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "value"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              },
              {
                "params": [
                  " / 100"
                ],
                "type": "math"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "CAIXAS PRODUZIDAS",
      "type": "stat"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 0,
        "y": 27
      },
      "id": 62,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {
          "valueSize": 50
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n  |> sum(column: \"_value\")",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "title": "EMBALADORA 01",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 4,
        "y": 27
      },
      "id": 92,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {
          "valueSize": 50
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_02\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> sum(column: \"_value\")  ",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "title": "EMBALADORA 02",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "displayName": "-",
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 8,
        "y": 27
      },
      "id": 93,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {
          "valueSize": 50
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_03\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> sum(column: \"_value\")  ",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "title": "EMBALADORA 03",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "blue",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 12,
        "y": 27
      },
      "id": 94,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {
          "valueSize": 50
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_04\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> sum(column: \"_value\")  ",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "title": "EMBALADORA 04",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 9,
        "w": 4,
        "x": 16,
        "y": 27
      },
      "id": 95,
      "options": {
        "displayMode": "lcd",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showUnfilled": true,
        "text": {
          "valueSize": 50
        }
      },
      "pluginVersion": "8.0.3",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> sum(column: \"_value\")  ",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "title": "EMBALADORA 05",
      "transformations": [],
      "type": "bargauge"
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 14,
        "w": 4,
        "x": 20,
        "y": 32
      },
      "hiddenSeries": false,
      "hideTimeOverride": false,
      "id": 83,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_06\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": " ",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados",
          "unit": "Pacotes"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 0,
        "y": 36
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 74,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": "EMBALADORA 01",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "Pacotes",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 4,
        "y": 36
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 79,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_02\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": " EMBALADORA 02",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 8,
        "y": 36
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 80,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_03\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 03",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 12,
        "y": 36
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 81,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_04\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 04",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": true,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 6,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 16,
        "y": 36
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 82,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "30m",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 05",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:512",
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:513",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 7,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "displayName": "Pacotes",
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 46
      },
      "id": 72,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "hidden",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.0.2",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\" or r[\"alias\"] == \"Input_02\" or r[\"alias\"] == \"Input_03\" or r[\"alias\"] == \"Input_04\" or r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A"
        },
        {
          "hide": true,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\" or r[\"alias\"] == \"Input_02\" or r[\"alias\"] == \"Input_03\" or r[\"alias\"] == \"Input_04\" or r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n // |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n // |> yield(name: \"last\")\r\n  |> group()\r\n  |> sum(column: \"_value\")",
          "refId": "B"
        }
      ],
      "timeFrom": "1h",
      "timeShift": null,
      "title": "PRODUÇÃO TOTAL POR MINUTO",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 54
      },
      "id": 70,
      "panels": [],
      "title": "HISTÓRICO 09 HORAS",
      "type": "row"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "decimals": 3,
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 0,
        "y": 55
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 48,
      "interval": null,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "maxDataPoints": null,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> aggregateWindow(\r\n      every: 30m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )\r\n  |> cumulativeSum(columns: [\"_value\"])",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "8h",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 01",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:893",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:894",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 4,
        "y": 55
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 96,
      "interval": null,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "maxDataPoints": null,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_02\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> aggregateWindow(\r\n      every: 30m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )\r\n  |> cumulativeSum(columns: [\"_value\"])",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "8h",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 02",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:982",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:983",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 8,
        "y": 55
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 97,
      "interval": null,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "maxDataPoints": null,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_03\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> aggregateWindow(\r\n      every: 30m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )\r\n  |> cumulativeSum(columns: [\"_value\"])",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "8h",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 03",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1071",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1072",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 12,
        "y": 55
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 98,
      "interval": null,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "maxDataPoints": null,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_04)\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> aggregateWindow(\r\n      every: 30m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )\r\n  |> cumulativeSum(columns: [\"_value\"])",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "8h",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 04",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1160",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1161",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "displayName": "Pacotes Embalados"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 16,
        "y": 55
      },
      "hiddenSeries": false,
      "hideTimeOverride": true,
      "id": 99,
      "interval": null,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "maxDataPoints": null,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "8.0.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n|> aggregateWindow(\r\n      every: 30m,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )\r\n  |> cumulativeSum(columns: [\"_value\"])",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "thresholds": [],
      "timeFrom": "8h",
      "timeRegions": [],
      "timeShift": null,
      "title": "  EMBALADORA 05",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:1249",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:1250",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "stepAfter",
            "lineWidth": 4,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "displayName": "Caixas Produzidas",
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "value {alias=\"Input_06\", gateway_mac=\"00:14:2d:65:d9:82\", gateway_name=\"colibri-imx7-emmc\", host=\"colibri-imx7-emmc\", sensor_mac=\"0013a20041a79c09\", sensor_name=\"PMA_Park\", type=\"1\"}"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 10,
        "w": 4,
        "x": 20,
        "y": 55
      },
      "id": 60,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.0.2",
      "targets": [
        {
          "groupBy": [],
          "measurement": "sensor_data_4",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_06\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> aggregateWindow(\r\n      every: 1h,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "Corrente_04"
                ],
                "type": "field"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": "9h",
      "timeShift": null,
      "title": " ",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 65
      },
      "id": 66,
      "panels": [],
      "title": "HISTÓRICO 30 DIAS",
      "type": "row"
    },
    {
      "datasource": "${DS_INFLUXDB-TUPY}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 10,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "displayName": "Pacotes",
          "mappings": [],
          "noValue": "0",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 66
      },
      "id": 64,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "hidden",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "single"
        }
      },
      "pluginVersion": "8.0.2",
      "targets": [
        {
          "hide": false,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\" or r[\"alias\"] == \"Input_02\" or r[\"alias\"] == \"Input_03\" or r[\"alias\"] == \"Input_04\" or r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")  \r\n  |> group()\r\n  |> aggregateWindow(\r\n      every: 1d,\r\n      fn: (tables=<-, column) => tables |> sum(column: \"_value\")\r\n  )",
          "refId": "A"
        },
        {
          "hide": true,
          "query": "from(bucket: \"TUPY-PDMA\")\r\n  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |> filter(fn: (r) => r[\"_measurement\"] == \"sensor_data_2\")\r\n  |> filter(fn: (r) => r[\"_field\"] == \"value\")\r\n  |> filter(fn: (r) => r[\"alias\"] == \"Input_01\" or r[\"alias\"] == \"Input_02\" or r[\"alias\"] == \"Input_03\" or r[\"alias\"] == \"Input_04\" or r[\"alias\"] == \"Input_05\")\r\n  |> filter(fn: (r) => r[\"sensor_name\"] == \"PMA_Park\")\r\n // |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n // |> yield(name: \"last\")\r\n  |> group()\r\n  |> sum(column: \"_value\")",
          "refId": "B"
        }
      ],
      "timeFrom": "30d",
      "timeShift": null,
      "title": " HISTÓRICO PRODUÇÃO",
      "type": "timeseries"
    }
  ],
  "refresh": "",
  "schemaVersion": 30,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "20",
          "value": "20"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "label": "Meta do dia em caixas",
        "name": "META_DO_DIA_CAIXAS",
        "options": [
          {
            "selected": true,
            "text": "20",
            "value": "20"
          }
        ],
        "query": "20",
        "skipUrlSync": false,
        "type": "textbox"
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "Input_01",
          "value": "Input_01"
        },
        "description": null,
        "error": null,
        "hide": 2,
        "includeAll": false,
        "label": "Histórico da:",
        "multi": false,
        "name": "historico_embaladora",
        "options": [
          {
            "selected": true,
            "text": "Input_01",
            "value": "Input_01"
          },
          {
            "selected": false,
            "text": "Input_02",
            "value": "Input_02"
          },
          {
            "selected": false,
            "text": "Input_03",
            "value": "Input_03"
          },
          {
            "selected": false,
            "text": "Input_04",
            "value": "Input_04"
          },
          {
            "selected": false,
            "text": "Input_05",
            "value": "Input_05"
          },
          {
            "selected": false,
            "text": "Input_06",
            "value": "Input_06"
          }
        ],
        "query": "Input_01,Input_02,Input_03,Input_04,Input_05,Input_06",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "current": {
          "selected": false,
          "text": "",
          "value": ""
        },
        "description": null,
        "error": null,
        "hide": 0,
        "label": "Peso do Pacote (g):",
        "name": "peso",
        "options": [
          {
            "selected": true,
            "text": "136",
            "value": "136"
          }
        ],
        "query": "136",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "hidden": false,
    "refresh_intervals": [
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d",
      "2d"
    ]
  },
  "timezone": "",
  "title": "TUPY - Embaladora",
  "uid": "yZlRi7lGkk",
  "version": 153
}