Please use this thread to share an image of your own Grafana dashboard, to show people what's possible.
Mine: https://www.dropbox.com/s/tui7c7pe5epf5cy/Dashboard%20Picture.png?dl=0
{
"__inputs": [
{
"name": "DS_INDIGO",
"label": "Indigo",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "5.0.4"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": "5.0.0"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "5.0.0"
},
{
"type": "panel",
"id": "natel-discrete-panel",
"name": "Discrete",
"version": "0.0.7"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": null,
"links": [],
"panels": [
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#7EB26D",
"text": "Locked"
},
{
"color": "#890f02",
"text": "Unlocked"
}
],
"crosshairColor": "#8F070C",
"datasource": "${DS_INDIGO}",
"display": "timeline",
"expandFromQueryS": 1440,
"extendLastValue": true,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"highlightOnMouseover": true,
"id": 10,
"legendSortBy": "-ms",
"lineColor": "#cffaff",
"links": [],
"metricNameColor": "#badff4",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"rowHeight": 25,
"showLegend": true,
"showLegendCounts": false,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendTime": true,
"showLegendValues": true,
"showTimeAxis": true,
"showTransitionCount": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=",
"value": "Big Garage Door"
}
]
},
{
"alias": "Gate",
"groupBy": [
{
"params": [
"varname"
],
"type": "tag"
}
],
"measurement": "variable_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
}
]
],
"tags": [
{
"key": "varname",
"operator": "=",
"value": "GateStatus"
}
]
},
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Lock$/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Entry Locks",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "Locked",
"value": "true"
},
{
"op": "=",
"text": "Unlocked",
"value": "false"
}
],
"valueTextColor": "#0a50a1",
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": true
},
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#f2c96d",
"text": "Off"
},
{
"color": "#7eb26d",
"text": "On"
}
],
"crosshairColor": "#8F070C",
"datasource": "${DS_INDIGO}",
"display": "timeline",
"expandFromQueryS": 1440,
"extendLastValue": true,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 0
},
"highlightOnMouseover": true,
"id": 4,
"legendSortBy": "-ms",
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#2f575e",
"rangeMaps": [
{
"from": "0",
"text": "Off",
"to": "0"
},
{
"from": "1",
"text": "On",
"to": "1"
}
],
"rowHeight": 20,
"showLegend": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendValues": true,
"showTimeAxis": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Motion$/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Motion Sensors",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [],
"valueTextColor": "#badff4",
"writeAllValues": false,
"writeLastValue": false,
"writeMetricNames": true
},
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#6d1f62",
"text": "On"
},
{
"color": "#052b51",
"text": "Off"
}
],
"crosshairColor": "#8F070C",
"datasource": "${DS_INDIGO}",
"display": "timeline",
"expandFromQueryS": 0,
"extendLastValue": true,
"gridPos": {
"h": 13,
"w": 12,
"x": 12,
"y": 5
},
"highlightOnMouseover": true,
"id": 6,
"legendSortBy": "-ms",
"lineColor": "#9ac48a",
"links": [],
"metricNameColor": "#82b5d8",
"rangeMaps": [
{
"from": "0",
"text": "Off",
"to": "0"
},
{
"from": "1",
"text": "On",
"to": "1"
},
{
"from": "null",
"text": "Off",
"to": "null"
},
{
"from": "-1",
"text": "Off",
"to": "-1"
}
],
"rowHeight": 24,
"showDistinctCount": false,
"showLegend": false,
"showLegendCounts": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendTime": true,
"showLegendValues": false,
"showTimeAxis": true,
"showTransitionCount": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/(Light|Lamp)( Plug)?$/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Lights",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "Off",
"value": "null"
}
],
"valueTextColor": "#000000",
"writeAllValues": false,
"writeLastValue": false,
"writeMetricNames": true
},
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#7EB26D",
"text": "Closed"
},
{
"color": "#890f02",
"text": "Open"
}
],
"crosshairColor": "#8F070C",
"datasource": "${DS_INDIGO}",
"display": "timeline",
"expandFromQueryS": 1440,
"extendLastValue": true,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 8
},
"highlightOnMouseover": true,
"id": 12,
"legendMaxValues": 2,
"legendSortBy": "-ms",
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#584477",
"rangeMaps": [
{
"from": "1",
"text": "Open",
"to": "1"
},
{
"from": "0",
"text": "Closed",
"to": "0"
}
],
"rowHeight": 24,
"showLegend": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendTime": true,
"showLegendValues": true,
"showTimeAxis": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Window$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "Garage Man Door"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "Security Box Door"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Doors & Windows",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueTextColor": "#3f6833",
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": true
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INDIGO}",
"fill": 1,
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 14
},
"id": 18,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Visibility$/",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sensorValue"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Luminance/"
}
]
},
{
"alias": "$tag_name Visibility",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "weather_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.visibility.num"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Visibility",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": "Luminance %",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "lengthmi",
"label": "Visibility (Miles)",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#CCC",
"text": "N/A"
}
],
"crosshairColor": "#8F070C",
"datasource": "${DS_INDIGO}",
"display": "timeline",
"expandFromQueryS": 0,
"extendLastValue": true,
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 18
},
"highlightOnMouseover": true,
"id": 16,
"legendSortBy": "-ms",
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#000000",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
},
{
"from": "0",
"text": "Off",
"to": "0"
},
{
"from": "1",
"text": "On",
"to": "1"
}
],
"rowHeight": 25,
"showLegend": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendValues": true,
"showTimeAxis": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Fan$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=~",
"value": "/Dehumidifer/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Fans & Devices",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueTextColor": "#000000",
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": false
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INDIGO}",
"description": "Office Temperature reports in C, so it gets its own data source with math to convert to F.",
"fill": 1,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 23
},
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": false,
"hideZero": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Humidity$/",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name Temperature",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "weather_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.temperatureF.num"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "thermostat_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.temperatureInput1"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.sensorValue"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Temperature$/"
},
{
"condition": "AND",
"key": "name",
"operator": "!=",
"value": "Office Temperature"
}
]
},
{
"alias": "$tag_name Temperature",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"hide": false,
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.temperatureInput1"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "E",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.sensorValue"
],
"type": "field"
},
{
"params": [
"*1.8+32"
],
"type": "math"
}
]
],
"tags": [
{
"key": "name",
"operator": "=",
"value": "Office Temperature"
}
]
},
{
"alias": "$tag_name Humidity",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "weather_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "G",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.humidity.num"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"hide": false,
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT \"sensorValue\" FROM \"device_changes\" WHERE (\"name\" =~ /Humi?dity$/) AND $timeFilter GROUP BY \"name\"",
"rawQuery": false,
"refId": "F",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sensorValue"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Humidity$/"
}
]
},
{
"alias": "$tag_name Humidity",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"hide": false,
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "H",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"state.humidityInput1"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Temperature & Relative Humidity",
"tooltip": {
"shared": true,
"sort": 1,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "farenheit",
"label": "° Fahrenheit",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "humidity",
"label": "% Relative Humidity",
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INDIGO}",
"fill": 3,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 30
},
"id": 14,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 3,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"energyCurLevel"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "!=",
"value": "Front Porch Light"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Power",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "Wh",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"refresh": "30s",
"schemaVersion": 16,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now-10s"
},
"timepicker": {
"nowDelay": "10s",
"refresh_intervals": [
"10s",
"30s",
"1m",
"5m"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "Home",
"uid": "xF85NDZiz",
"version": 52
}
frankyhall wrote:I wrote most of these graphs with regex matches, and they're very generic. Quite willing to share the dashboard. I tried to attach it, but zip and json files are not permitted as attachments.
Users browsing this forum: No registered users and 2 guests