{ "datasource": { "type": "influxdb", "uid": "ba52ccd7-23ae-4699-ac7f-e4af0e81af86" }, "fieldConfig": { "defaults": { "custom": { "drawStyle": "line", "lineInterpolation": "smooth", "barAlignment": 0, "lineWidth": 2, "fillOpacity": 20, "gradientMode": "opacity", "spanNulls": false, "insertNulls": false, "showPoints": "auto", "pointSize": 5, "stacking": { "mode": "none", "group": "A" }, "axisPlacement": "auto", "axisLabel": "", "axisColorMode": "series", "axisBorderShow": false, "scaleDistribution": { "type": "linear" }, "axisCenteredZero": false, "hideFrom": { "tooltip": false, "viz": false, "legend": false }, "thresholdsStyle": { "mode": "off" }, "axisSoftMax": 40, "axisSoftMin": -5 }, "color": { "mode": "fixed", "fixedColor": "green" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "devices.humidity" }, "properties": [ { "id": "color", "value": { "fixedColor": "blue", "mode": "fixed" } }, { "id": "custom.axisPlacement", "value": "left" }, { "id": "custom.axisSoftMin", "value": 0 }, { "id": "custom.axisSoftMax", "value": 100 } ] }, { "matcher": { "id": "byName", "options": "devices.temp_sonde" }, "properties": [ { "id": "color", "value": { "fixedColor": "yellow", "mode": "fixed" } }, { "id": "custom.axisPlacement", "value": "right" } ] }, { "matcher": { "id": "byName", "options": "devices.temperature" }, "properties": [ { "id": "custom.axisPlacement", "value": "right" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 2 }, "id": 5, "options": { "tooltip": { "mode": "multi", "sort": "none" }, "legend": { "showLegend": true, "displayMode": "list", "placement": "bottom", "calcs": [] } }, "targets": [ { "datasource": { "type": "influxdb", "uid": "ba52ccd7-23ae-4699-ac7f-e4af0e81af86" }, "groupBy": [ { "params": [ "10m" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "devices", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "temperature" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "temperature" ], "type": "alias" } ], [ { "params": [ "humidity" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "humidity" ], "type": "alias" } ] ], "tags": [ { "key": "name::field", "operator": "=", "value": "nom_du_capteur" } ] } ], "title": "Température & Humidité", "type": "timeseries" }