   Bridge.put("pump", String(value));
 }
 
-void temperatureCommmand(YunClient client) {
+void temperatureCommand(YunClient client) {
   // Get current temperature and convert to string
   String tempString = String(temperatureToInt(temperature));
   

    client.stop();
  }

  if (currentMillis - previousMillis > 100) {
    measureTemperature();
    temperaturePID.Compute();
    controlHeater();
    previousMillis = currentMillis;
    slowCount++;
    if (slowCount > 50) {
      /* Serial << STATMSG << "Duty Cycle is " << dutyCycle << ENDMSG; */
      slowCount = 0;
    }
  }
}


void process(YunClient client) {
  String command = client.readStringUntil('/');
  
  // If the rest request is like arduino/command
  // then readStringUntil will read to the end of the
  // string which has a \r, which we get rid off using
  // the trim method.
  command.trim();


  if (command == "pump") {
    pumpCommand(client);
  }
  if (command == "temperature") {
    temperatureCommand(client);
  }
  else {
    int i;
