 // Import required libraries
 #include <DHT.h>
 #include <ESP8266WiFi.h>
+#include <ESP8266HTTPClient.h>
 #include <ESP8266WebServer.h>
 #include <lwip/netif.h>
 #include <lwip/etharp.h>


// Send temp / humidity update
void checkTempHumid() {
  Serial.println("Checking temp...");
  float readTemp = getTemperature();
  dtostrf(readTemp, -6, 2, temp); // Leave room for too large numbers!

  Serial.println(temp);
}


// How often to report temperature
unsigned long lastTempCheck = millis();
#define TEMP_CHECK_FREQUENCY 60000

// How often to check for power off state
unsigned long lastPowerCheck = millis();
