diff --git a/src/main.cpp b/src/main.cpp index dd66c54..9210b1c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,12 +12,12 @@ const uint32_t connectTimeoutMs = 5000; // MQTT settings const char* mqttServer = "iot.tanshu.com"; const int mqttPort = 1883; -const char* mqttClientId = "s3-roy"; +const char* mqttClientId = "s2-bgy"; const char* mqttUser = "esp8266"; const char* mqttPassword = "esp8266"; // DHT sensor pin -const int dhtPin = D4; +const int dhtPin = D5; // Initialize the DHT sensor DHT dht(dhtPin, DHT22);