   // Check if we fail to read from the DHT sensor
   if (isnan(h) || isnan(t)) {
     Serial.println("Failed to read from DHT sensor");
+    publishDebug("Failed to read from DHT sensor");
     //TODO: Do more here
   }
 

  }
}

void displayLCD() {

  static char tempStr[15];

  Serial.println();

  init_lcd();
  lcd.print("Init v3");

  init_wifi();
  // Start the DHT22
  publishDebug("WiFi On");
  publishDebug("Initialising Sensors");
  dht.begin();
  Serial.println("sensor is starting..");
  Serial.print("Reading Analog...");
  Serial.println(analogRead(0));
  publishDebug("Initialising Timers");
  initTimers();
//----------------- wifi_set_sleep_type(LIGHT_SLEEP_T);
//----------------- gpio_pin_wakeup_enable(GPIO_ID_PIN(2),GPIO_PIN_INTR_HILEVEL);
