     }
   }
 }
-*/
+
 /*
  * Send a Message to the MQTT broker
  */
-/*
+
 void mqttSend(const char* topic, char* message) {
   Serial.print("Sending MQTT Message '");
   Serial.print(message);


    delay(2000);  // Give the server time to process the who am i message
  }
*/
  //mqttClient.loop();
  //webServer.handleClient();

  unsigned long now = millis();
  if (now - lastMsg > timeBetweenUpdates) {
    wifi_set_sleep_type(NONE_SLEEP_T);

    printValues();

    // Send the Sensor data to MQTT broker
    mqttSend(mqtt_dataTopic, sensorJSON);

    // Send the Sensor data to Thing Speak
    sendThingSpeak();
