Hello there i need help with my projec dht11 temperature reading but with a simpler library it works but when the gauges update they go to zero every time and it anoys me any ideas ?
Also gauges are in one second pull mode and pull from esp
BLYNK_READ(V1){Blynk.virtualWrite(V1,dht.getTemperature());}
BLYNK_READ(V2){Blynk.virtualWrite(V2,dht.getTemperature());}
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
dht.setup(15);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}
Because you are polling sensor too fast. As @wanek suggested try to get one reading per 3 seconds. DHT sensor report no value or some garbled data between two fast polling incidents.