diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 4f04a887..1f3bb7ba 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -5970,6 +5970,7 @@ client.on('message', async (topic, message) => { if (inputConnection.motor_stop_status === "2" && status === 1) { const currentTime = moment().tz('Asia/Kolkata').format('DD-MMM-YYYY - HH:mm'); inputConnection.motor_stop_status = "1"; + inputConnection.motor_on_type = "manual"; inputConnection.stopTime = currentTime; }