bug fixes output formatting

This commit is contained in:
znetsixe
2025-11-06 11:19:20 +01:00
parent d44cbc978b
commit 1848486f1c
2 changed files with 12 additions and 4 deletions

View File

@@ -177,8 +177,8 @@ class nodeClass {
//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');
const processMsg = this._output.formatMsg(raw, this.source.config, 'process');
const influxMsg = this._output.formatMsg(raw, this.source.config, 'influxdb');
// Send only updated outputs on ports 0 & 1
this.node.send([processMsg, influxMsg]);