Grafana dashboard: Sense Collector - Monitor and Detection
Description: Sense Collector provides a way of collecting real-time data from the Sense Energy Monitor. These Grafana dashboards offer visualizations for detected devices and smart plugs and their wattage, voltage, and amp utilization.

The **Monitor & Detection** dashboard provides observability of the monitor itself.

**Device Detection Status**:  Represents Device Detection Status for both "Found" and "In Progress" devices.

**Wifi Signal Strength - RSSI**: Represents the Wifi signal strength of your Sense monitor.

**Monitor Details**: This panel shows current information about Online status, General Status, Learning Progress, IP Address, MAC Address, Wifi SSID, Wifi Strength, Ethernet, NDT Enabled, and software version. 

More details on these Sense Collector dashboards may be found:

Github Project: [https://github.com/lux4rd0/sense-collector/](https://github.com/lux4rd0/sense-collector/)

Web Site: [https://labs.lux4rd0.com/sense-collector/](https://labs.lux4rd0.com/sense-collector/)

{
  "__inputs": [
    {
      "name": "DS_INFLUXDB_- SENSE",
      "label": "InfluxDB - sense",
      "description": "https://github.com/lux4rd0/sense-collector/",
      "type": "datasource",
      "pluginId": "influxdb",
      "pluginName": "InfluxDB"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "8.0.6"
    },
    {
      "type": "datasource",
      "id": "influxdb",
      "name": "InfluxDB",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "table",
      "name": "Table",
      "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)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 14737,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1626665965748,
  "links": [
    {
      "asDropdown": true,
      "icon": "external link",
      "includeVars": true,
      "keepTime": true,
      "tags": [
        "sense-collector"
      ],
      "targetBlank": false,
      "title": "Sense Collector - Dashboards",
      "tooltip": "",
      "type": "dashboards",
      "url": ""
    }
  ],
  "panels": [
    {
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 11,
      "title": "Device Detection Status",
      "type": "row"
    },
    {
      "datasource": "${DS_INFLUXDB_- SENSE}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "smooth",
            "lineStyle": {
              "fill": "solid"
            },
            "lineWidth": 1,
            "pointSize": 20,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 0,
        "y": 1
      },
      "id": 6,
      "interval": "$interval",
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "alias": "$tag_name",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "sense_monitor_device_detection",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "progress"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "detection_type",
              "operator": "=",
              "value": "found"
            }
          ]
        }
      ],
      "timeFrom": null,
      "title": "Found Devices",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_INFLUXDB_- SENSE}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "smooth",
            "lineWidth": 1,
            "pointSize": 20,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 11,
        "w": 12,
        "x": 12,
        "y": 1
      },
      "id": 7,
      "interval": "$interval",
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "alias": "$tag_name",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "name"
              ],
              "type": "tag"
            }
          ],
          "measurement": "sense_monitor_device_detection",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "progress"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": [
            {
              "key": "detection_type",
              "operator": "=",
              "value": "in_progress"
            }
          ]
        }
      ],
      "title": "In Progress Devices",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "datasource": null,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 12
      },
      "id": 9,
      "panels": [],
      "title": "Monitor Details",
      "type": "row"
    },
    {
      "datasource": "${DS_INFLUXDB_- SENSE}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "fixedColor": "dark-orange",
            "mode": "fixed"
          },
          "custom": {
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "hue",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "smooth",
            "lineWidth": 1,
            "pointSize": 20,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "max": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "dBm"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 13
      },
      "id": 4,
      "interval": "$interval",
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom"
        },
        "tooltip": {
          "mode": "multi"
        }
      },
      "targets": [
        {
          "alias": "$tag_serial",
          "groupBy": [
            {
              "params": [
                "$__interval"
              ],
              "type": "time"
            },
            {
              "params": [
                "serial"
              ],
              "type": "tag"
            }
          ],
          "measurement": "sense_monitor_status",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
            [
              {
                "params": [
                  "wifi_strength"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "mean"
              }
            ]
          ],
          "tags": []
        }
      ],
      "timeFrom": null,
      "title": "Wifi Signal Strength - RSSI",
      "type": "timeseries"
    },
    {
      "datasource": "${DS_INFLUXDB_- SENSE}",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "center",
            "displayMode": "auto"
          },
          "mappings": [
            {
              "options": {
                "OK": {
                  "color": "dark-green",
                  "index": 2,
                  "text": "OK"
                },
                "false": {
                  "color": "dark-red",
                  "index": 1,
                  "text": "False"
                },
                "true": {
                  "color": "dark-green",
                  "index": 0,
                  "text": "True"
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Online"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Ethernet"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Status"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Wifi Strength"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dBm"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "dark-red",
                      "value": null
                    },
                    {
                      "color": "semi-dark-red",
                      "value": -90
                    },
                    {
                      "color": "dark-orange",
                      "value": -80
                    },
                    {
                      "color": "light-orange",
                      "value": -70
                    },
                    {
                      "color": "yellow",
                      "value": -60
                    },
                    {
                      "color": "dark-green",
                      "value": -50
                    }
                  ]
                }
              },
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "NDT Enabled"
            },
            "properties": [
              {
                "id": "custom.displayMode",
                "value": "color-background"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Progress"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 3,
        "w": 24,
        "x": 0,
        "y": 23
      },
      "hideTimeOverride": true,
      "id": 2,
      "interval": null,
      "maxDataPoints": 1,
      "options": {
        "showHeader": true
      },
      "pluginVersion": "8.0.6",
      "targets": [
        {
          "groupBy": [
            {
              "params": [
                "1d"
              ],
              "type": "time"
            }
          ],
          "measurement": "sense_monitor_status",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "table",
          "select": [
            [
              {
                "params": [
                  "ethernet"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "ethernet"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "ip_address"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "ip_address"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "mac"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "mac"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "ndt_enabled"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "ndt_enabled"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "online"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "online"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "progress"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "progress"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "ssid"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "ssid"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "status"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "status"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "version"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "version"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "wifi_strength"
                ],
                "type": "field"
              },
              {
                "params": [],
                "type": "last"
              },
              {
                "params": [
                  "wifi_stength"
                ],
                "type": "alias"
              }
            ]
          ],
          "tags": [
            {
              "key": "serial",
              "operator": "=",
              "value": "M638000670"
            }
          ]
        }
      ],
      "timeFrom": "5m",
      "title": "Monitor Details",
      "transformations": [
        {
          "id": "organize",
          "options": {
            "excludeByName": {
              "Time": true
            },
            "indexByName": {
              "Time": 0,
              "ethernet": 8,
              "ip_address": 4,
              "mac": 5,
              "ndt_enabled": 9,
              "online": 1,
              "progress": 3,
              "ssid": 6,
              "status": 2,
              "version": 10,
              "wifi_stength": 7
            },
            "renameByName": {
              "ethernet": "Ethernet",
              "ip_address": "IP Address",
              "ip_address 1": "",
              "mac": "MAC Address",
              "ndt_enabled": "NDT Enabled",
              "online": "Online",
              "progress": "Progress",
              "ssid": "SSID",
              "status": "Status",
              "version": "Version",
              "wifi_stength": "Wifi Strength"
            }
          }
        }
      ],
      "type": "table"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 30,
  "style": "dark",
  "tags": [
    "sense-collector",
    "influxdb"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_INFLUXDB_- SENSE}",
        "definition": "SHOW TAG VALUES WITH KEY = \"serial\"",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Monitor",
        "multi": false,
        "name": "serial",
        "options": [],
        "query": "SHOW TAG VALUES WITH KEY = \"serial\"",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 5,
        "type": "query"
      },
      {
        "auto": false,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "selected": true,
          "text": "1m",
          "value": "1m"
        },
        "description": null,
        "error": null,
        "hide": 0,
        "label": "Interval",
        "name": "interval",
        "options": [
          {
            "selected": true,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "5m",
            "value": "5m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "15m",
            "value": "15m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "3h",
            "value": "3h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          }
        ],
        "query": "1m,5m,10m,15m,1h,3h,12h,1d",
        "queryValue": "",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now/d",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Sense Collector - Monitor and Detection",
  "uid": "lux4rd0labs_sense_03",
  "version": 1,
  "description": "Sense Collector provides a way of collecting real-time data from the Sense Energy Monitor. These Grafana dashboards offer visualizations for detected devices and smart plugs and their wattage, voltage, and amp utilization."
}