From f43bfe100978eab9b1c84acad5361563f0952312 Mon Sep 17 00:00:00 2001 From: Varun Date: Thu, 6 Mar 2025 14:12:03 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 1 + 1 file changed, 1 insertion(+) 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; }