From 455653074a9251ae10896c5b97d9043e9bbeb970 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Mon, 17 Jul 2023 22:09:21 -0400 Subject: [PATCH] #287 fixed coordinator not notifying supervisor of auto waste config --- coordinator/process.lua | 4 ++++ coordinator/startup.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/coordinator/process.lua b/coordinator/process.lua index ad9c94f..5551c93 100644 --- a/coordinator/process.lua +++ b/coordinator/process.lua @@ -75,6 +75,10 @@ function process.init(iocontrol, coord_comms) end log.info("PROCESS: loaded auto control settings from coord.settings") + + -- notify supervisor of auto waste config + self.comms.send_fac_command(FAC_COMMAND.SET_WASTE_MODE, self.config.waste_product) + self.comms.send_fac_command(FAC_COMMAND.SET_PU_FB, self.config.pu_fallback) end -- unit waste states diff --git a/coordinator/startup.lua b/coordinator/startup.lua index 0a922b7..9294633 100644 --- a/coordinator/startup.lua +++ b/coordinator/startup.lua @@ -22,7 +22,7 @@ local sounder = require("coordinator.sounder") local apisessions = require("coordinator.session.apisessions") -local COORDINATOR_VERSION = "v0.21.0" +local COORDINATOR_VERSION = "v0.21.1" local println = util.println local println_ts = util.println_ts