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

  if(power != 0) {
    power = 0;
    digitalWrite(powertail, LOW);
    publishPowerStatus();
  }
}

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

STARTUP( startup() );
