 	{
 		drawScreen();
 	}
-
-	/*
-	  http.begin("http:///");
-
-	  String fullpostData=postData+sensor_buffer;
-	  Serial.println(fullpostData);
-	  http.addHeader("Content-Type","application/x-www-form-urlencoded");
-	  int httpCode = http.POST(fullpostData);
-	  if(httpCode == HTTP_CODE_OK)
-	  {
-	    Serial.print("HTTP response code ");
-	    Serial.println(httpCode);
-	    String response = http.getString();
-	    Serial.println(response);
-	  }
-	  else
-	  {
-	     Serial.println("Error in HTTP request");
-	  }
-
-	  http.end();
-	*/
+	postData();
+
 	lastButtonPressed += pauseInMs; // a little false since we are doing other, stuff, but, meh
 	if (lastButtonPressed >= POWERSAVE_IN_MS)
 	{


	u8g2.clearBuffer();
	u8g2.setFont(u8g2_font_5x7_tf);
	unsigned int size = u8g2.getStrWidth(wifiConnection.getPublicIP().c_str());
	u8g2.drawStr(0, SCREEN_HEIGHT, wifiConnection.getPublicIP().c_str());
	u8g2.setFont(u8g2_font_9x15B_tf);
	u8g2.drawUTF8(0, SCREEN_HEIGHT / 2, displayData.c_str());

        0x84, 0x6D, 0x84, 0x6D, 0xB4, 0x6D, 0xB4, 0x6D, 0xB4, 0x6D, 0xB4, 0x6D, 0xB4, 0x6D, 0x00, 0x00,
    }
};

static char const POST_HEADERS[] = "POST /data HTTP/1.1\r\n"
                                   "Host: " API_HOSTNAME "\r\n"
                                   "Content-Type: application/json\r\n"
                                   "User-Agent: ESP8266\r\n"
                                   "Accept-Encoding: identity;q=1\r\n"
                                   "X-Auth-Token:" API_AUTH_TOKEN "\r\n";

class WiFiConnection
{
