{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 21, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 4, "x": 0, "y": 0 }, "id": 2, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "/^device\\-watcher\\.0\\.lastCheck$/", "values": false }, "text": { "valueSize": 26 }, "textMode": "auto" }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "groupBy": [], "measurement": "device-watcher.0.lastCheck", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "tags": [] } ], "title": "Geräte zuletzt überprüft", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 4, "y": 0 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "device-watcher.0.countAll", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Geräte Gesamt", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 7, "y": 0 }, "id": 6, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "device-watcher.0.batteryCount", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Geräte Batteriebetrieben", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "text", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 2, "x": 9, "y": 0 }, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.5.2", "targets": [ { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "device-watcher.0.offlineCount", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Geräte Offline", "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Battery" }, "properties": [ { "id": "custom.width", "value": 68 } ] }, { "matcher": { "id": "byName", "options": "Signal strength" }, "properties": [ { "id": "custom.width", "value": 112 } ] }, { "matcher": { "id": "byName", "options": "Last contact" }, "properties": [ { "id": "custom.width", "value": 117 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "custom.width", "value": 97 } ] }, { "matcher": { "id": "byName", "options": "Adapter" }, "properties": [ { "id": "custom.width", "value": 135 } ] } ] }, "gridPos": { "h": 13, "w": 11, "x": 11, "y": 0 }, "id": 12, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.2", "targets": [ { "columns": [], "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "filters": [], "format": "table", "global_query_id": "", "groupBy": [], "measurement": "device-watcher.0.listAll", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "root_selector": "", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "source": "url", "tags": [], "type": "json", "url": "https://jsonplaceholder.typicode.com/users", "url_options": { "data": "", "method": "GET" } } ], "title": "Geräte Übersicht", "transformations": [ { "id": "extractFields", "options": { "replace": true, "source": "device-watcher.0.listAll" } }, { "id": "reduce", "options": { "reducers": [ "last" ] } }, { "id": "extractFields", "options": { "format": "kvp", "replace": true, "source": "Last" } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "filterable": true, "inspect": false }, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "semi-dark-green", "value": null } ] }, "unit": "percent" }, "overrides": [ { "matcher": { "id": "byName", "options": "device" }, "properties": [ { "id": "custom.width", "value": 300 }, { "id": "displayName", "value": "Device" } ] }, { "matcher": { "id": "byName", "options": "room" }, "properties": [ { "id": "displayName", "value": "Room" } ] }, { "matcher": { "id": "byName", "options": "battery" }, "properties": [ { "id": "displayName", "value": "Battery" } ] }, { "matcher": { "id": "byName", "options": "adapter" }, "properties": [ { "id": "custom.width", "value": 128 } ] }, { "matcher": { "id": "byName", "options": "Device" }, "properties": [ { "id": "custom.width", "value": 225 } ] }, { "matcher": { "id": "byName", "options": "Room" }, "properties": [ { "id": "custom.width", "value": 135 } ] }, { "matcher": { "id": "byName", "options": "Battery" }, "properties": [ { "id": "custom.width", "value": 277 } ] }, { "matcher": { "id": "byName", "options": "Adapter" }, "properties": [ { "id": "custom.width", "value": 146 } ] } ] }, "gridPos": { "h": 5, "w": 11, "x": 0, "y": 3 }, "id": 14, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Battery" } ] }, "pluginVersion": "8.5.2", "targets": [ { "columns": [], "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "filters": [], "format": "table", "global_query_id": "", "groupBy": [], "measurement": "device-watcher.0.lowBatteryList", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "root_selector": "", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "source": "url", "tags": [], "type": "json", "url": "https://jsonplaceholder.typicode.com/users", "url_options": { "data": "", "method": "GET" } } ], "title": "Geräte Batteriestatus Niedrig", "transformations": [ { "id": "extractFields", "options": { "format": "json", "replace": true, "source": "device-watcher.0.lowBatteryList" } }, { "id": "reduce", "options": { "labelsToFields": false, "reducers": [ "last" ] } }, { "id": "extractFields", "options": { "format": "kvp", "replace": true, "source": "Last" } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "filterable": true, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "device" }, "properties": [ { "id": "custom.width", "value": 300 }, { "id": "displayName", "value": "Device" } ] }, { "matcher": { "id": "byName", "options": "adapter" }, "properties": [ { "id": "displayName", "value": "Adapter" } ] }, { "matcher": { "id": "byName", "options": "lastContact" }, "properties": [ { "id": "displayName", "value": "Last contact" } ] }, { "matcher": { "id": "byName", "options": "room" }, "properties": [ { "id": "custom.width", "value": 181 }, { "id": "displayName", "value": "Room" } ] }, { "matcher": { "id": "byName", "options": "Adapter" }, "properties": [ { "id": "custom.width", "value": 202 } ] }, { "matcher": { "id": "byName", "options": "Device" }, "properties": [ { "id": "custom.width", "value": 273 } ] }, { "matcher": { "id": "byName", "options": "Last contact" }, "properties": [ { "id": "custom.width", "value": 277 } ] } ] }, "gridPos": { "h": 5, "w": 11, "x": 0, "y": 8 }, "id": 10, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.5.2", "targets": [ { "columns": [], "datasource": { "type": "influxdb", "uid": "4s42xPHnk" }, "filters": [], "format": "table", "global_query_id": "", "groupBy": [], "measurement": "device-watcher.0.offlineList", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "root_selector": "", "select": [ [ { "params": [ "value" ], "type": "field" } ] ], "source": "url", "tags": [], "type": "json", "url": "https://jsonplaceholder.typicode.com/users", "url_options": { "data": "", "method": "GET" } } ], "title": "Geräte Offline", "transformations": [ { "id": "extractFields", "options": { "format": "json", "replace": true, "source": "device-watcher.0.offlineList" } }, { "id": "reduce", "options": { "reducers": [ "last" ] } }, { "id": "extractFields", "options": { "format": "kvp", "replace": true, "source": "Last" } } ], "type": "table" } ], "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "DeviceWatcher", "uid": "pxHo_d4Vk", "version": 1, "weekStart": "" }