diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index e71574b7..f3b00255 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -1981,6 +1981,7 @@ else if (currentWaterLevel >= highWaterThreshold) { const stopTime = req.body.stopTime || new Date().toISOString(); const motorOnType = req.body.motor_on_type || "manual"; if (action === "start") { + motorStopStatus = "2"; const startTime = req.body.startTime; const stopCriteria =