diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 3b9406c5..86d59e51 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -3061,7 +3061,7 @@ exports.motorAction = async (req, reply) => { receiverInitialwaterlevel: parseInt(receiverTank.waterlevel, 10) }); await newMotorData.save(); - + console.log("entered time",motorId,motorStopStatus) // Update the tank connections with start time and threshold time for await (const tank of Tank.find({ "connections.inputConnections.motor_id": motorId })) { this.publishMotorStopStatus(motorId, motorStopStatus);