Open ChWeiler opened 1 year ago
I have test it with
var end = Date.now();
var start = end - 100 * 365 * 24 * 3600000;
sendTo('influxdb.0', 'getHistory', {
id: 'modbus.0.inputRegisters.30581_Zählerstand_Bezugszähler',
options: {
start: start,
end: end,
count: 1000000000,
aggregate: 'none'
}
}, function (result) {
if (result.error) {
console.log(result.error);
}
if (result.success) {
//successfull enabled
for (var i = 0; i < result.result.length; i++) {
console.log(result.result[i].val + ' ' + new Date(result.result[i].ts).toISOString());
}
console.log("Anzahl messungen: " + i.toString());
}
});
Log: script.js.tests.TestHistoryAdapter: {'name':'RequestTimedOutError','message':'Request timed out'}
if i changed to: console.log("ERROR!!: " + result.error);
Log: script.js.tests.TestHistoryAdapter: ERROR!!: [object Object]
Describe the bug
readnow out generate an error
To Reproduce
Steps to reproduce the behavior:
Versions:
Additional context
The measurement has 4.789.637 entrys in influxdb
valuetrackerovertime.log