To make it easier to analyse the serial output you should use serial.println()
for each and every printing.
if (time_blynk == final_time && feedback == 0 && auto_feed == 1) {
Serial.print("MotorLigado");
digitalWrite(motor, HIGH);
delay(2000 * qtd);
Serial.print("MotorDesligado");
digitalWrite(motor, LOW);
feedback = 1;
}
change to
if (time_blynk == final_time && feedback == 0 && auto_feed == 1) {
Serial.println("MotorLigado"); // <<<=== USE printLN
digitalWrite(motor, HIGH);
delay(2000 * qtd);
Serial.println("MotorDesligado"); // <<<=== USE printLN
digitalWrite(motor, LOW);
feedback = 1;
}
as you are using a delay(2000) even multiplied with a factor
as long as this delay() is executed there willbe no communication with Blynk
I'm pretty sure that a code-template using
BlynkEdgent.run();
timeClient.update();
has a comment
call BlynkEdgent.run(); repeatedly and very often
You wil have to change your code to be completely non -blocking.
This requires a completely different thinking than using delay()
You can read about it here