 };
 monitor_t monitorData[MONITOR_POINTS];
 int monitorCursor = 0;
+int monitorSize = 0;
 void updateSensorData(monitor_t *monitorData);
 void getTemperature(float* celsius, float* fahrenheit);
 void printMonitorEntry(monitor_t m, String* buf);


  int n = WiFi.scanNetworks();
  Serial.println("scan done");
  if (n == 0) {
    Serial.println("no networks found");
    f += "No wifi access points found :-( ";
    f += "<a href='/'>Back</a><br/><a href='/wifi'>Try again?</a></p>\n";

void setup() {
  Serial.begin(115200);
  // Serial.setDebugOutput(true);

  WiFi.mode(WIFI_AP_STA);
  WiFi.softAPConfig(apIP, apIP, netMsk);
