               b1Pin = D3;
 
 //const uint8_t ledPins[] = {r1Pin, g1Pin, b1Pin};
+
+#define DHTPIN D4 
+#define DHTTYPE DHT11
+
+DHT dht(DHTPIN, DHTTYPE);
+ 
 
 WiFiClient espClient;
 PubSubClient mqttClient(espClient);

bool otaInProgress = false;

String domain = "RGB-LED-control";


String subscriptions[] = {

  mqttClient.setServer(mqtt_server, 1883);
  mqttClient.setCallback(callback);
  mqttTryReconnect();
  dht.begin();
}

unsigned int loopCounter = 1;
