Update and Rename CardLChart_Influx2

This commit is contained in:
Thomas
2024-01-30 10:23:19 +01:00
parent 221d2c717d
commit e7cc10692b

View File

@@ -12,8 +12,8 @@ const xAxisLabelEveryM = 240;
// add all sensors which are to be displayed in this script, there is no need to use multiple scripts // add all sensors which are to be displayed in this script, there is no need to use multiple scripts
const sensors : Record<string, string> = {}; const sensors : Record<string, string> = {};
/* ↓ Id of the sensor ↓ Id of the data source for the charts */ /* ↓ Id of the sensor ↓ Id of the data source for the charts */
sensors['deconz.0.Sensors.65.temperature'] = Path + 'buero_temperature'; sensors['deconz.0.Sensors.65.temperature'] = Path + 'buero_temperature.ACTUAL';
sensors['deconz.0.Sensors.65.humidity'] = Path + 'buero_luftfeuchte'; sensors['deconz.0.Sensors.65.humidity'] = Path + 'buero_luftfeuchte.ACTUAL';
// create data source for NsPanel on script startup // create data source for NsPanel on script startup
Object.keys(sensors).forEach(async x => { Object.keys(sensors).forEach(async x => {