   return;
 }
 void getHumidity(float* airCelsius, float* airHumid) {
-  float _airCelsius = *airCelsius;
-  float _airHumid = *airHumid;
-  _airCelsius = dht.readTemperature();
-  _airHumid = dht.readHumidity();
+  (*airCelsius) = dht.readTemperature();
+  (*airHumid) = dht.readHumidity();
   Serial.print("Air Temp: ");
-  Serial.print(_airCelsius);
+  Serial.print(*airCelsius);
   Serial.print(" C, ");
   Serial.print("Humidity: ");
-  Serial.print(_airHumid);
+  Serial.print(*airHumid);
   Serial.println(" %RH, ");
-  *airCelsius = _airCelsius;
-  *airHumid = _airHumid;
   return;
 }
 void getLight(uint16_t* lux) {
-  uint16_t _lux = *lux;
   sensors_event_t event;
   tsl.getEvent(&event);
-  _lux = event.light; 
+  (*lux) = event.light; 
   Serial.print("Light: ");
-  Serial.print(_lux);
+  Serial.print(*lux);
   Serial.println(" Lux");
-  *lux = _lux;
+  return;
+}
+void getPH(float* pH) {
+  (*pH) = 6.9; 
+  Serial.print("pH: ");
+  Serial.print(*pH);
+  Serial.println(" pH");
   return;
 }
 

  if(GOT_LIGHT_SENSOR)
    getLight(&now->lux);

  if(SEND_DATA) postSensorData(&monitorData[monitorCursor]);
    
  if(++monitorCursor == MONITOR_POINTS)

  // now we trigger the 433 transmitter
  if(newState == true){
    mySwitch.switchOn(4, 2);
    Serial.println("Actuator on");
  } else {
    mySwitch.switchOff(4, 2);
    Serial.println("Actuator off");
  }

  toSend += "<h2>Actuator triggered</h2>\n";
