 }
 
   /****************************** Get Data From DHTxx  ************************/
-  /*
+
 void gettemperature() {
   // Wait at least 2 seconds seconds between measurements.
   // if the difference between the current time and last time you read

//#include <WiFiClient.h>
//#include <ESP8266WebServer.h>
/******************************* DHT Config **********************************/
//#include <DHT.h>
//#define DHTTYPE DHT11
//#define DHTPIN  2

/************************* WiFi Access Point *********************************/


  Serial.println("IP address: "); Serial.println(WiFi.localIP());

  // Setup MQTT subscription for onoff feed.
  //mqtt.subscribe(&test_subscription);
  mqtt.subscribe(&temp_subscription);
}

//uint32_t x=0;    // Mock data

/****************************** Loop  ***************************************/
void loop(void)
{
  gettemperature() ;
  //server.handleClient();
  // Ensure the connection to the MQTT server is alive (this will make the first
  // connection and automatically reconnect when disconnected).  See the MQTT_connect
