Created
June 27, 2021 20:25
-
-
Save Nybble-IOT/d884eacb1d0d391ca9c507cb52dd1e44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_GPS_TRACKER INFLUXDB", | |
"label": "GPS Tracker InfluxDB", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "influxdb", | |
"pluginName": "InfluxDB" | |
} | |
], | |
"__requires": [ | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "7.5.1" | |
}, | |
{ | |
"type": "panel", | |
"id": "grafana-worldmap-panel", | |
"name": "Worldmap Panel", | |
"version": "0.3.2" | |
}, | |
{ | |
"type": "datasource", | |
"id": "influxdb", | |
"name": "InfluxDB", | |
"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": null, | |
"graphTooltip": 0, | |
"id": null, | |
"links": [], | |
"panels": [ | |
{ | |
"circleMaxSize": "11", | |
"circleMinSize": "7", | |
"colors": [ | |
"#C4162A", | |
"#E02F44", | |
"#FF7383", | |
"#FFA6B0", | |
"#C8F2C2", | |
"#96D98D", | |
"#56A64B", | |
"#37872D" | |
], | |
"datasource": "${DS_GPS_TRACKER INFLUXDB}", | |
"decimals": 0, | |
"esGeoPoint": "geohash", | |
"esLocationName": "hotspot_name", | |
"esMetric": "rssi", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 19, | |
"w": 12, | |
"x": 0, | |
"y": 0 | |
}, | |
"hideEmpty": false, | |
"hideZero": false, | |
"id": 4, | |
"initialZoom": "13", | |
"locationData": "geohash", | |
"mapCenter": "Last GeoHash", | |
"mapCenterLatitude": 53.53639841079712, | |
"mapCenterLongitude": -113.27880620956421, | |
"maxDataPoints": 1, | |
"mouseWheelZoom": true, | |
"pluginVersion": "7.3.1", | |
"showLegend": true, | |
"stickyLabels": false, | |
"tableQueryOptions": { | |
"geohashField": "geohash", | |
"latitudeField": "latitude", | |
"longitudeField": "longitude", | |
"metricField": "metric", | |
"queryType": "geohash" | |
}, | |
"targets": [ | |
{ | |
"groupBy": [ | |
{ | |
"params": [ | |
"geohash" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "mapper_data", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "table", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"hotspot_name" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"rssi" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"snr" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"spreading" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "name", | |
"operator": "=", | |
"value": "LGT-92 #3" | |
} | |
] | |
} | |
], | |
"thresholds": "-103,-100,-97,-94,-91,-88,-85", | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "GPS Tracker", | |
"type": "grafana-worldmap-panel", | |
"unitPlural": "dB", | |
"unitSingle": "", | |
"unitSingular": "dB", | |
"valueName": "total" | |
}, | |
{ | |
"datasource": "${DS_GPS_TRACKER INFLUXDB}", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"decimals": 3, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 4.1 | |
} | |
] | |
}, | |
"unit": "volt" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 4, | |
"w": 2, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 6, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "", | |
"limit": 2, | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.1", | |
"targets": [ | |
{ | |
"groupBy": [], | |
"measurement": "mapper_data", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "table", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"battery" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"alias" | |
], | |
"type": "alias" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Battery", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "${DS_GPS_TRACKER INFLUXDB}", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 5, | |
"x": 14, | |
"y": 0 | |
}, | |
"id": 9, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "/^hotspot_name$/", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "value" | |
}, | |
"pluginVersion": "7.5.1", | |
"targets": [ | |
{ | |
"groupBy": [], | |
"measurement": "mapper_data", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "table", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"hotspot_name" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Last Hotspot", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "${DS_GPS_TRACKER INFLUXDB}", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 5, | |
"x": 14, | |
"y": 2 | |
}, | |
"id": 7, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"last" | |
], | |
"fields": "/^Time$/", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "value" | |
}, | |
"pluginVersion": "7.5.1", | |
"targets": [ | |
{ | |
"groupBy": [], | |
"measurement": "mapper_data", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "table", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"reported_at" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Last Reported at", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "${DS_GPS_TRACKER INFLUXDB}", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": "center", | |
"displayMode": "color-text", | |
"filterable": true | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "hotspot" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 181 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 166 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "rssi" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 73 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "lat" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 124 | |
}, | |
{ | |
"id": "decimals", | |
"value": 6 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "lon" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 133 | |
}, | |
{ | |
"id": "decimals", | |
"value": 6 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "snr" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 93 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "hotspot_name" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 206 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "reported_at" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 159 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 10, | |
"w": 9, | |
"x": 12, | |
"y": 4 | |
}, | |
"id": 8, | |
"options": { | |
"frameIndex": 1, | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": false, | |
"displayName": "Time" | |
} | |
] | |
}, | |
"pluginVersion": "7.5.1", | |
"targets": [ | |
{ | |
"groupBy": [], | |
"measurement": "mapper_data", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "table", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"hotspot_name" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"rssi" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"snr" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"lat" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"lon" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"reported_at" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Raw data", | |
"type": "table" | |
} | |
], | |
"refresh": "1m", | |
"schemaVersion": 27, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-12h", | |
"to": "now" | |
}, | |
"timepicker": {}, | |
"timezone": "", | |
"title": "Helium Mapper", | |
"uid": "dB3TKbTGz", | |
"version": 15 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment