@ -2998,6 +2998,7 @@ exports.motorAction = async (req, reply) => {
);
clearInterval(motorIntervals[motorId]); // Stop the motor if condition met
delete motorIntervals[motorId]; // Remove from interval object