Learn how to fix the Failed to read from DHT sensor error. If you need further help, please post a new question here:https://rntlab.com/ask-question/ Thanks! P.S. Learn more about the ESP32 or ESP8266 GPIOs below:
https://github.com/esp8266/Arduino/blob/master/doc/ota_updates/ota-web-path-to-binary.png But I did not get it in my IDE debug window; I had to examine more carefully the log and found that reference to where the new compiled sketch was recorded: "/tmp/buildfc496aee2b83585546553dcc21...
I get the same error when trying to connect to a local broker: reconnect...failed, rc=-2 try again in 5 seconds I am able to connect to the local broker over a Windows Client without any Problems. `#include <ESP8266WiFi.h> #include <PubSubClient.h> #include "DHT.h" DHT dht(2,...