 
 int led1 = D7;
 int powertail = D5;
+int iotrelay = D6;
 
 double temperature;
 double minuteAverage;

}

int adjustPower(String command) {
  if(command == "on") {
    turnOnPower();
  }
  if(command == "off") {
    turnOffPower();
  }
  return 1;
}

int setTempOn(String temp) {

void startup() {
  pinMode(led1, OUTPUT);
  pinMode(powertail, OUTPUT);
  pinMode(iotrelay, OUTPUT);
}

STARTUP( startup() );
