updated retrieval mechanism

This commit is contained in:
znetsixe
2025-10-23 09:51:54 +02:00
parent b8b7871e38
commit 371f3c65e7
2 changed files with 256 additions and 20 deletions

View File

@@ -178,8 +178,9 @@ class nodeClass {
* Execute a single tick: update measurement, format and send outputs.
*/
_tick() {
//this.source.tick();
//pumping station needs time based ticks to recalc level when predicted
this.source.tick();
const raw = this.source.getOutput();
const processMsg = this._output.formatMsg(raw, this.config, 'process');
const influxMsg = this._output.formatMsg(raw, this.config, 'influxdb');