mirror of
https://github.com/LinoSchmidt/Allnet-Dashboard.git
synced 2026-03-21 02:31:15 +01:00
Grafana datasource variable
This commit is contained in:
@@ -28,6 +28,8 @@ app.post('/', (req, res) => {
|
||||
const point = new Point(sensor.name).floatField('value', parseFloat(sensor.value));
|
||||
writeClient.writePoint(point);
|
||||
});
|
||||
|
||||
console.log("Data written to InfluxDB");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user