{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.3.6" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "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": 13645, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 0 }, "id": 15, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^ip_address$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "IP", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 2, "y": 0 }, "id": 14, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^model_id$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Model", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 5, "y": 0 }, "id": 13, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^internetservice_remoteaccess$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "RemoteAccess", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 7, "y": 0 }, "id": 17, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^internetservice_internet$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "InternetAccess", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 9, "y": 0 }, "id": 18, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^zigbee_channel$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "ZigBee Channel", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 12, "y": 0 }, "id": 12, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^api_version$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "API Version", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "dateTimeAsIso" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 15, "y": 0 }, "id": 16, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^sw_update_last_change$/", "values": false }, "textMode": "value" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_bridge_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Last Update", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "yellow", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 18, "y": 0 }, "id": 8, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^Value$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "sum(hue_light_state)", "format": "time_series", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Lights ON", "transformations": [], "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(110, 94, 27)", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 21, "y": 0 }, "id": 9, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "/^Value$/", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.6", "targets": [ { "expr": "count(hue_light_state)-sum(hue_light_state)", "format": "time_series", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Lights OFF", "transformations": [], "type": "stat" }, { "aliasColors": { "Bad": "blue", "Flur1": "semi-dark-green", "Flur2": "yellow", "flur1": "light-green" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 1, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 4, "gridPos": { "h": 5, "w": 12, "x": 0, "y": 3 }, "hiddenSeries": false, "id": 10, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": false, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "nullPointMode": "null", "options": { "alertThreshold": false }, "percentage": false, "pluginVersion": "7.3.6", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "10^((hue_sensor_lightlevel-1)/10000)", "interval": "", "legendFormat": "{{name}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sensor Lightlevel", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transformations": [], "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:811", "decimals": 1, "format": "lux", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:812", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": { "Bad": "blue", "Flur1": "semi-dark-green", "Flur2": "yellow", "flur1": "light-green" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": 1, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 4, "gridPos": { "h": 5, "w": 12, "x": 12, "y": 3 }, "hiddenSeries": false, "id": 4, "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": 2, "nullPointMode": "null", "options": { "alertThreshold": false }, "percentage": false, "pluginVersion": "7.3.6", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "hue_sensor_temperature/100", "interval": "", "legendFormat": "{{name}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sensor Temperature", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "transformations": [], "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:811", "decimals": 1, "format": "celsius", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:812", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "left", "displayMode": "color-text", "filterable": false }, "mappings": [ { "from": "", "id": 1, "text": "HUE Motion Sensor", "to": "", "type": 1, "value": "zllpresence" }, { "from": "", "id": 2, "text": "HUE Switch", "to": "", "type": 1, "value": "zllswitch" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Battery Level" }, "properties": [ { "id": "custom.width", "value": 171 }, { "id": "unit", "value": "percent" }, { "id": "custom.displayMode", "value": "lcd-gauge" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "dark-red", "value": null }, { "color": "#EAB839", "value": 20 }, { "color": "green", "value": 40 } ] } } ] }, { "matcher": { "id": "byName", "options": "Name" }, "properties": [ { "id": "custom.width", "value": 139 } ] }, { "matcher": { "id": "byName", "options": "Software Version" }, "properties": [ { "id": "custom.width", "value": 149 } ] }, { "matcher": { "id": "byName", "options": "Sensor Type" }, "properties": [ { "id": "custom.width", "value": 143 } ] }, { "matcher": { "id": "byName", "options": "Last Updated" }, "properties": [ { "id": "custom.width", "value": 218 }, { "id": "unit", "value": "dateTimeAsIso" } ] } ] }, "gridPos": { "h": 16, "w": 12, "x": 0, "y": 8 }, "id": 2, "interval": "", "options": { "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Sensor Type" } ] }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_sensor_info{type=~\"ZLL.*\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Sensor Overview", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "config_battery", "name", "sw_version", "type", "state_lastupdated" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "config_battery": 2, "name": 0, "state_last_updated": 4, "sw_version": 3, "type": 1 }, "renameByName": { "config_battery": "Battery Level", "config_on": "", "name": "Name", "state_last_updated": "Last Updated", "state_lastupdated": "Last Updated", "sw_version": "Software Version", "type": "Sensor Type" } } } ], "type": "table" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "left", "displayMode": "color-text", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "super-light-blue", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Name" }, "properties": [ { "id": "custom.width", "value": 207 } ] }, { "matcher": { "id": "byName", "options": "Manufacturer" }, "properties": [ { "id": "custom.width", "value": 176 } ] }, { "matcher": { "id": "byName", "options": "Model" }, "properties": [ { "id": "custom.width", "value": 87 } ] }, { "matcher": { "id": "byName", "options": "State" }, "properties": [ { "id": "custom.width", "value": 103 }, { "id": "mappings", "value": [ { "from": "", "id": 1, "text": "ON", "to": "", "type": 1, "value": "1" }, { "from": "", "id": 2, "text": "OFF", "to": "", "type": 1, "value": "0" } ] }, { "id": "custom.displayMode", "value": "color-text" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgb(135, 117, 3)", "value": null }, { "color": "light-yellow", "value": 1 } ] } } ] }, { "matcher": { "id": "byName", "options": "Reachable" }, "properties": [ { "id": "custom.width", "value": 107 }, { "id": "mappings", "value": [ { "from": "", "id": 1, "text": "yes", "to": "", "type": 1, "value": "1" }, { "from": "", "id": 2, "text": "no", "to": "", "type": 1, "value": "0" } ] }, { "id": "custom.displayMode", "value": "color-text" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] } } ] }, { "matcher": { "id": "byName", "options": "Software Version" }, "properties": [ { "id": "custom.width", "value": 188 } ] } ] }, "gridPos": { "h": 16, "w": 12, "x": 12, "y": 8 }, "id": 6, "options": { "showHeader": true, "sortBy": [ { "desc": true, "displayName": "State" } ] }, "pluginVersion": "7.3.6", "targets": [ { "expr": "hue_light_info", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Hue Light Overview", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "manufacturer_name", "model_id", "name", "state_on", "state_reachable", "sw_version" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "manufacturer_name": 1, "model_id": 2, "name": 0, "state_bri": 3, "state_ct": 4, "state_on": 5, "state_reachable": 6, "sw_version": 7 }, "renameByName": { "manufacturer_name": "Manufacturer", "model_id": "Model", "name": "Name", "state_on": "State", "state_reachable": "Reachable", "sw_version": "Software Version" } } } ], "type": "table" } ], "refresh": "5m", "schemaVersion": 26, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Philips Hue", "uid": "X7uYULiRk", "version": 4 }