@ -6187,6 +6187,7 @@ async function processIotData(hw_Id, data) {
inputConnection.motor_stop_status = "1";
inputConnection.motor_on_type = "manual";
inputConnection.stopTime = currentTime;
const motorId = hw_Id;
if (motorIntervals[motorId]) {
clearInterval(motorIntervals[motorId]);
delete motorIntervals[motorId];