Add effluent output handling

This commit is contained in:
2025-06-13 15:31:31 +02:00
parent d71698d94e
commit 5b7f7a3cef
3 changed files with 12 additions and 2 deletions

View File

@@ -31,16 +31,21 @@ module.exports = function(RED) {
case "clock":
reactor.updateState(msg);
break;
case "Influx":
case "Influent":
reactor.setInflux = msg;
break;
case "Effluent":
reactor.setInflux = msg;
break;
case "OTR":
reactor.setOTR = msg;
break;
default:
console.log("Unknown topic: " + msg.topic)
console.log("Unknown topic: " + msg.topic);
}
send(reactor.getEffluent);
if (done) {
done();
}