From ea28c0067c7273a9fdf0e6bcb2604079d7458bb5 Mon Sep 17 00:00:00 2001 From: Varun Date: Tue, 11 Mar 2025 17:08:28 +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 86d59e51..d118c8d4 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -2349,6 +2349,7 @@ cron.schedule("* * * * *", async () => { exports.publishMotorStopStatus = async (motor_id, motor_stop_status) => { console.log("entered publish",motor_id,motor_stop_status) const deviceTopic = `water/operation/${motor_id}`; // Target specific IoT + console.log(deviceTopic,"deviceTopic") const payload = { topic: 'operation', object: {