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: {