YL-70, YL-73 Sensor does not work by day

Hi All

I have configured my YL-70 with 4unit YL-73, and had it working and configured in my Arduino UNO, (no clock module attached), but today it appeared with all sensors active, nothing has changed, and then in the afternoon it starts working again in normal operation (when the sun is down).

it’s not installed in direct sunlight or anything, it’s indoors. (Picture attached).

CODE:

void carro_luz(){
int C = digitalRead(Alt_carro); // Nomenclatura en base a plano carro
int D = digitalRead(Piso_carro);
int A = digitalRead(Alt_plantaHi);
int B = digitalRead(Alt_plantaLow);
unsigned long currentTime2 = millis();

if(currentTime2 - previousTime2 >= TmuestraCarro)
{

if(A == HIGH && B == LOW && C == HIGH && D == HIGH) // Secuencia control caro y condiciones de ideal-error
{
digitalWrite(Motor_subir,HIGH);
digitalWrite(Motor_bajar,HIGH);
}
else if(C == LOW && D == LOW)
{
Serial.println();
Serial.println(“Error Carro Aplastado”);
digitalWrite(Motor_subir,HIGH);
}
else if(A == LOW && B == HIGH)
{
Serial.println();
Serial.println(“Error Lectura de Planta”);
}
else if(A == HIGH && B == HIGH && C == HIGH && D == LOW)
{
Serial.println();
Serial.println(“Sin Macetero”);
digitalWrite(Motor_subir,HIGH);
digitalWrite(Motor_bajar,HIGH);
}
else if(A == HIGH && D == HIGH && B == LOW && C == LOW)
{
Serial.println();
Serial.println(“Altura Cosecha Alcanzada”);
digitalWrite(Motor_subir,HIGH);
}
else if(D == HIGH && A == LOW && B == LOW && C == LOW)
{
Serial.println();
Serial.println(“ALTURA CRITICA!!”);
digitalWrite(Motor_subir,HIGH);
}
else if(A == LOW && B == LOW && C == HIGH && D == HIGH) // Subir Carro
{
Serial.println();
Serial.println(“Subiendo Carro”);
digitalWrite(Motor_subir,LOW);

}
else if(A == HIGH && B == HIGH && C == HIGH && D == HIGH) // Bajar Carro
{
Serial.println();
Serial.println(“Bajando Carro”);
digitalWrite(Motor_bajar,LOW);
}

previousTime2 = currentTime2;
}
}