If you’re trying to read the temperature and humidity from the DHT11, DHT22, AM2302 or AM2301 sensor and you get an error message in your Serial Monitor, follow the next steps to see if you can make your sensor
arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.6 monitor_speed = 115200 board_build.partitions = partitions.csv lib_deps = me-no-dev/ESP Async WebServer@^1.2.3 arduino-libraries/LiquidCrystal@^1.0.7 adafruit/Adafruit Unified Sensor@^1.1.9 adafruit/DHT sensor library@...
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,...
but so forward a little more to things and deepen my knowledge, it will be a pleasure to disclose - even in return - this fantastic community both contributed to my learning.