     buf->concat(m->lux);
   }
   if(GOT_PH_SENSOR){
-  buf->concat(", ");
-  buf->concat(", \"pH\": ");
-  buf->concat(m->pH);
+    buf->concat(", ");
+    buf->concat(", \"pH\": ");
+    buf->concat(m->pH);
   }
   buf->concat(" }");
-}
-void printMonitorEntry(monitor_t m, String* buf) {
-  buf->concat("{ ");
-  buf->concat("\"timestamp\": ");
-  buf->concat(m.timestamp);
-  if(GOT_TEMP_SENSOR){
-    buf->concat(", Water Temp: ");
-    buf->concat(m.waterCelsius);
-    buf->concat(" °C");
-  }
-  if(GOT_HUMID_SENSOR){  
-    buf->concat(", Air Temp: ");
-    buf->concat(m.airCelsius);
-    buf->concat(" °C"); 
-    buf->concat(", Humidity: ");
-    buf->concat(m.airHumid);
-    buf->concat(" %RH");
-  }
-  if(GOT_LIGHT_SENSOR){
-    buf->concat(", Light: ");
-    buf->concat(m.lux);
-    buf->concat(" lux");
-  }
-  if(GOT_PH_SENSOR){
-    buf->concat(", pH: ");
-    buf->concat(m.pH);
-    buf->concat(" pH");
-  }
 }
 void getTemperature(float* waterCelsius) {
   tempSensor.requestTemperatures(); // send command to get temperatures

  float airHumid = dht.readHumidity();
  float airCelsius = dht.readTemperature();
  if (isnan(airHumid) || isnan(airCelsius)) {
    Serial.println("failed to find Humidity sensor");
  } else {
    GOT_HUMID_SENSOR = true;
  }

  "</ul></p>\n";
const char* pageFooter =
  "\n<p><a href='/'>WaterElf</a>&nbsp;&nbsp;&nbsp;"
  "<a href='https://now.wegrow.social/'>WeGrow</a></p></body></html>";

/////////////////////////////////////////////////////////////////////////////
// data monitoring stuff ////////////////////////////////////////////////////
