   Serial.print(hi);
   Serial.println(" *F");
   delay(500);
-  char humidity[10];
-  dtostrf(h, 2, 2, humidity);
-  return humidity;
-}
-
-String readTemperature() {
+ return h;
+}
+
+float readTemperature() {
   // read the value on AnalogIn pin 0 and store it in a variable
   int sensorVal = analogRead(sensorPin);
   // send the 10-bit sensor value out the serial port

  tempHumMsg.concat(temp);
  tempHumMsg.concat(",");
  tempHumMsg.concat(humidity);
  char message_buff[tempHumMsg.length()];//TODO test that length() does not need +1 !!!!!!!!!!!!!
  tempHumMsg.toCharArray(message_buff, tempHumMsg.length()+1);
  boolean result = client.publish("arduino-weather", message_buff);
  Serial.print("DEBUG :: Result of Weather sensor push is : ");
    Serial.println(result);
}

String getSensorId() {
  return "need-a-sensor-id";
}

String getDHT11HumidityReadings() {
  float h = dht.readHumidity();
  // Read temperature as Celsius
  float t = dht.readTemperature();
  // Read temperature as Fahrenheit
  float f = dht.readTemperature(true);
  // Check if any reads failed and exit early (to try again).
  if (isnan(h) || isnan(t) || isnan(f)) {
    Serial.println("mmmmh!!! should put a retry count of 3 here !!! Failed to read from DHT sensor! looping!!");

void callback(char* topic, byte* payload, unsigned int length) {
}

