     monitorCursor = 0;
 }
 void postSensorData(monitor_t *monitorData) {
-  Serial.println("postSensorData");
+  Serial.println("\npostSensorData");
 
   // create a JSON form
   String jsonBuf = "";

/////////////////////////////////////////////////////////////////////////////
// resource management stuff ////////////////////////////////////////////////
int loopCounter = 0;
const int LOOP_ROLLOVER = 1000; // how many loops per action slice
const byte TICK_MONITOR = 0;
const byte TICK_WIFI_DEBUG = 500;
const byte TICK_POST_DEBUG = 200;
const byte TICK_HEAP_DEBUG = 1000;

/////////////////////////////////////////////////////////////////////////////
// wifi management stuff ////////////////////////////////////////////////////

    buf->concat(m->lux);
  }
  if(GOT_PH_SENSOR){
    buf->concat(", ");
    buf->concat(", \"pH\": ");
    buf->concat(m->pH);
  }
  buf->concat(" }");
}
void getTemperature(float* waterCelsius) {
  tempSensor.requestTemperatures(); // send command to get temperatures
