Grafana dashboard: PDMA - Equipamento
Description: PDMA equipment dashboard


{
  "__inputs": [
    {
      "name": "DS_INFLUXDB",
      "label": "InfluxDB",
      "description": "",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.4.2"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "natel-plotly-panel",
      "name": "Plotly",
      "version": "0.0.6"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "PDMA equipment dashboard",
  "editable": true,
  "gnetId": 11815,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1604503862888,
  "links": [],
  "panels": [
    {
      "cacheTimeout": null,
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 0,
        "y": 0
      },
      "id": 10,
      "links": [],
      "options": {
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "N/A",
                "to": "",
                "type": 1,
                "value": "null"
              }
            ],
            "max": 300,
            "min": 0,
            "thresholds": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 227
              }
            ],
            "unit": "volt"
          },
          "override": {},
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.4.2",
      "targets": [
        {
          "alias": "fase 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Tensão instantânea (fase e neutro)",
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 6,
        "w": 7,
        "x": 6,
        "y": 0
      },
      "id": 13,
      "links": [],
      "options": {
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "N/A",
                "to": "",
                "type": 1,
                "value": "null"
              }
            ],
            "max": 100,
            "min": 0,
            "thresholds": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 2.2
              },
              {
                "color": "red",
                "value": 6.6
              }
            ]
          },
          "override": {},
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.4.2",
      "targets": [
        {
          "alias": "vibration 0",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_0"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Banda Larga - RMS",
      "transparent": true,
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 11,
        "x": 13,
        "y": 0
      },
      "id": 14,
      "legend": {
        "alignAsTable": false,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "vibration 0",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_0"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "broadband_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": false,
          "line": true,
          "op": "gt",
          "value": 2.2,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": false,
          "line": true,
          "op": "gt",
          "value": 6.6,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Histórico da Banda Larga - RMS",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "none",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 5
      },
      "id": 12,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": false,
        "hideZero": false,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "fase 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "query": "SELECT last(\"voltage_phase_1\") FROM \"sensor_data_1\" WHERE (\"gateway_mac\" =~ /^$Gateway$/ AND \"sensor_mac\" =~ /^$PME$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
          "rawQuery": false,
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "voltage_phase_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Histórico da tensão (fase e neutro)",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "volt",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 6,
        "w": 18,
        "x": 6,
        "y": 6
      },
      "hideTimeOverride": false,
      "id": 17,
      "interval": "",
      "links": [],
      "options": {},
      "pconfig": {
        "fixScale": "",
        "layout": {
          "dragmode": "lasso",
          "font": {
            "family": "\"Open Sans\", Helvetica, Arial, sans-serif"
          },
          "hovermode": "closest",
          "legend": {
            "orientation": "h"
          },
          "showlegend": false,
          "xaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "title": "Frequência (Hz)",
            "type": "",
            "zeroline": false
          },
          "yaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "title": "Amplitude",
            "type": "",
            "zeroline": false
          },
          "zaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "type": "linear",
            "zeroline": false
          }
        },
        "loadFromCDN": false,
        "settings": {
          "displayModeBar": false,
          "type": "scatter"
        },
        "showAnnotations": true,
        "traces": [
          {
            "mapping": {
              "color": "broadband_fft.x_amp",
              "size": null,
              "text": null,
              "x": "broadband_fft.freq",
              "y": "broadband_fft.amp",
              "z": null
            },
            "name": "x",
            "settings": {
              "color_option": "ramp",
              "line": {
                "color": "#FF9830",
                "dash": "solid",
                "shape": "linear",
                "width": 2
              },
              "marker": {
                "color": "#33B5E5",
                "colorscale": "\n              ",
                "line": {
                  "color": "#DDD",
                  "width": 0
                },
                "showscale": false,
                "size": 3,
                "sizemin": 3,
                "sizemode": "diameter",
                "sizeref": 0.2,
                "symbol": "circle"
              },
              "textposition": "bottom"
            },
            "show": {
              "line": true,
              "lines": true,
              "markers": false
            }
          }
        ]
      },
      "targets": [
        {
          "alias": "",
          "groupBy": [],
          "measurement": "broadband_fft",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "${broadband_amp}"
                ],
                "type": "field"
              },
              {
                "params": [
                  "amp"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "${broadband_freq}"
                ],
                "type": "field"
              },
              {
                "params": [
                  "freq"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": "$fft_relative_time",
      "timeShift": "$fft_time_shift",
      "title": "Banda Larga - FFT",
      "transparent": true,
      "type": "natel-plotly-panel",
      "version": 1
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 5,
        "w": 6,
        "x": 0,
        "y": 12
      },
      "id": 5,
      "links": [],
      "options": {
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "decimals": 1,
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "N/A",
                "to": "",
                "type": 1,
                "value": "null"
              }
            ],
            "max": 30,
            "min": 0,
            "thresholds": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 20
              }
            ],
            "unit": "amp"
          },
          "override": {},
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.4.2",
      "targets": [
        {
          "alias": "fase 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Corrente instantânea",
      "transparent": true,
      "type": "gauge"
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 6,
        "w": 7,
        "x": 6,
        "y": 12
      },
      "id": 18,
      "links": [],
      "options": {
        "fieldOptions": {
          "calcs": [
            "last"
          ],
          "defaults": {
            "mappings": [
              {
                "from": "",
                "id": 1,
                "operator": "",
                "text": "N/A",
                "to": "",
                "type": 1,
                "value": "null"
              }
            ],
            "max": 100,
            "min": 0,
            "thresholds": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "#EAB839",
                "value": 2
              },
              {
                "color": "red",
                "value": 6
              }
            ]
          },
          "override": {},
          "values": false
        },
        "orientation": "auto",
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "6.4.2",
      "targets": [
        {
          "alias": "vibration 0",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_0"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "previous"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Envelope - RMS",
      "transparent": true,
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 6,
        "w": 11,
        "x": 13,
        "y": 12
      },
      "id": 6,
      "legend": {
        "alignAsTable": false,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "vibration 0",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_0"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "vibration 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "envelope_rms",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "vibration_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "thresholds": [
        {
          "colorMode": "warning",
          "fill": false,
          "line": true,
          "op": "gt",
          "value": 2,
          "yaxis": "left"
        },
        {
          "colorMode": "critical",
          "fill": false,
          "line": true,
          "op": "gt",
          "value": 6,
          "yaxis": "left"
        }
      ],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Histórico do Envelope  - RMS",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_INFLUXDB}",
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 17
      },
      "id": 8,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "connected",
      "options": {
        "dataLinks": []
      },
      "percentage": false,
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "alias": "fase 1",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_1"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 2",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_2"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        },
        {
          "alias": "fase 3",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "null"
              ],
              "type": "fill"
            }
          ],
          "measurement": "sensor_data_1",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "current_phase_3"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pme_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pme_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Histórico da corrente",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transparent": true,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "amp",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_INFLUXDB}",
      "gridPos": {
        "h": 6,
        "w": 18,
        "x": 6,
        "y": 18
      },
      "id": 16,
      "links": [],
      "options": {},
      "pconfig": {
        "fixScale": "",
        "layout": {
          "dragmode": "lasso",
          "font": {
            "family": "\"Open Sans\", Helvetica, Arial, sans-serif"
          },
          "hovermode": "closest",
          "legend": {
            "orientation": "h"
          },
          "showlegend": false,
          "xaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "title": "Frequência (Hz)",
            "type": "",
            "zeroline": false
          },
          "yaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "title": "Amplitude",
            "type": "",
            "zeroline": false
          },
          "zaxis": {
            "rangemode": "normal",
            "showgrid": true,
            "type": "linear",
            "zeroline": false
          }
        },
        "loadFromCDN": false,
        "settings": {
          "displayModeBar": false,
          "type": "scatter"
        },
        "showAnnotations": true,
        "traces": [
          {
            "mapping": {
              "color": "envelope_fft.x_amp",
              "size": null,
              "text": null,
              "x": "envelope_fft.freq",
              "y": "envelope_fft.amp",
              "z": null
            },
            "name": "x",
            "settings": {
              "color_option": "ramp",
              "line": {
                "color": "#FF9830",
                "dash": "solid",
                "shape": "linear",
                "width": 2
              },
              "marker": {
                "color": "#33B5E5",
                "colorscale": "YlOrRd",
                "line": {
                  "color": "#DDD",
                  "width": 0
                },
                "showscale": false,
                "size": 15,
                "sizemin": 3,
                "sizemode": "diameter",
                "sizeref": 0.2,
                "symbol": "circle"
              }
            },
            "show": {
              "line": true,
              "lines": true,
              "markers": false
            }
          }
        ]
      },
      "targets": [
        {
          "alias": "",
          "groupBy": [],
          "measurement": "envelope_fft",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "${envelope_freq}"
                ],
                "type": "field"
              },
              {
                "params": [
                  "freq"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "${envelope_amp}"
                ],
                "type": "field"
              },
              {
                "params": [
                  "amp"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "gateway_mac",
              "operator": "=~",
              "value": "/^$gateway_mac$/"
            },
            {
              "condition": "AND",
              "key": "sensor_name",
              "operator": "=~",
              "value": "/^$pav_sensor_name$/"
            },
            {
              "condition": "AND",
              "key": "sensor_mac",
              "operator": "=~",
              "value": "/^$pav_sensor_mac$/"
            },
            {
              "condition": "AND",
              "key": "gateway_name",
              "operator": "=~",
              "value": "/^$gateway_name$/"
            }
          ]
        }
      ],
      "timeFrom": "$fft_relative_time",
      "timeShift": "$fft_time_shift",
      "title": "Envelope  - FFT",
      "transparent": true,
      "type": "natel-plotly-panel",
      "version": 1
    }
  ],
  "refresh": "5s",
  "schemaVersion": 20,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES WITH KEY = \"gateway_name\"",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "gateway_name",
        "options": [],
        "query": "SHOW TAG VALUES WITH KEY = \"gateway_name\"",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES WITH KEY = \"gateway_mac\" WHERE \"gateway_name\" =~ /^$gateway_name$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "gateway_mac",
        "options": [],
        "query": "SHOW TAG VALUES WITH KEY = \"gateway_mac\" WHERE \"gateway_name\" =~ /^$gateway_name$/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"sensor_data_1\" WITH KEY = \"sensor_name\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "pme_sensor_name",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"sensor_data_1\" WITH KEY = \"sensor_name\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"sensor_data_1\" WITH KEY = \"sensor_mac\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/ AND \"sensor_name\" =~ /^$pme_sensor_name$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "pme_sensor_mac",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"sensor_data_1\" WITH KEY = \"sensor_mac\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/ AND \"sensor_name\" =~ /^$pme_sensor_name$/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"sensor_data_3\" WITH KEY = \"sensor_name\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "pav_sensor_name",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"sensor_data_3\" WITH KEY = \"sensor_name\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "SHOW TAG VALUES FROM \"sensor_data_3\" WITH KEY = \"sensor_mac\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/ AND \"sensor_name\" =~ /^$pav_sensor_name$/",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "pav_sensor_mac",
        "options": [],
        "query": "SHOW TAG VALUES FROM \"sensor_data_3\" WITH KEY = \"sensor_mac\" WHERE \"gateway_mac\" =~ /^$gateway_mac$/ AND \"sensor_name\" =~ /^$pav_sensor_name$/",
        "refresh": 2,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "show field keys on telegraf from envelope_fft",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "envelope_freq",
        "options": [],
        "query": "show field keys on telegraf from envelope_fft",
        "refresh": 2,
        "regex": "/.*freq/",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "show field keys on telegraf from envelope_fft",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "envelope_amp",
        "options": [],
        "query": "show field keys on telegraf from envelope_fft",
        "refresh": 2,
        "regex": "/.*amplitude/",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "show field keys on telegraf from broadband_fft",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "broadband_freq",
        "options": [],
        "query": "show field keys on telegraf from broadband_fft",
        "refresh": 2,
        "regex": "/.*freq/",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB}",
        "definition": "show field keys on telegraf from broadband_fft",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "broadband_amp",
        "options": [],
        "query": "show field keys on telegraf from broadband_fft",
        "refresh": 2,
        "regex": "/.*amplitude/",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": false,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "text": "2h",
          "value": "2h"
        },
        "hide": 0,
        "label": null,
        "name": "fft_relative_time",
        "options": [
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": true,
            "text": "2h",
            "value": "2h"
          },
          {
            "selected": false,
            "text": "3h",
            "value": "3h"
          },
          {
            "selected": false,
            "text": "4h",
            "value": "4h"
          },
          {
            "selected": false,
            "text": "5h",
            "value": "5h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "7h",
            "value": "7h"
          },
          {
            "selected": false,
            "text": "8h",
            "value": "8h"
          },
          {
            "selected": false,
            "text": "9h",
            "value": "9h"
          },
          {
            "selected": false,
            "text": "10h",
            "value": "10h"
          },
          {
            "selected": false,
            "text": "11h",
            "value": "11h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          }
        ],
        "query": "1h,2h,3h,4h,5h,6h,7h,8h,9h,10h,11h,12h",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      },
      {
        "auto": false,
        "auto_count": 30,
        "auto_min": "2h",
        "current": {
          "text": "0h",
          "value": "0h"
        },
        "hide": 0,
        "label": null,
        "name": "fft_time_shift",
        "options": [
          {
            "selected": true,
            "text": "0h",
            "value": "0h"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "2h",
            "value": "2h"
          },
          {
            "selected": false,
            "text": "3h",
            "value": "3h"
          },
          {
            "selected": false,
            "text": "4h",
            "value": "4h"
          },
          {
            "selected": false,
            "text": "5h",
            "value": "5h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "7h",
            "value": "7h"
          },
          {
            "selected": false,
            "text": "8h",
            "value": "8h"
          },
          {
            "selected": false,
            "text": "9h",
            "value": "9h"
          },
          {
            "selected": false,
            "text": "10h",
            "value": "10h"
          },
          {
            "selected": false,
            "text": "11h",
            "value": "11h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          }
        ],
        "query": "0h,1h,2h,3h,4h,5h,6h,7h,8h,9h,10h,11h,12h",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now/d",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "PDMA - Equipamento",
  "uid": "SbmnLNTZk",
  "version": 38
}