   if (isopen) {
     if ((unsigned long)(currmillis - task2) >= 30000) {
       act(1);
-      byte i;
       //Serial.println(F("check if hum"));
       if ((float)(get_hum() <= 65.0 || get_hum() <= 70.0)) {
         if (!isopen) {
           //oeffne die Belueftung und starte den Luefter
-          Serial.println(F("Open Slot"));
+          Serial.println(F("Servo Open"));
           servo_ctrl("open");
         }
         act(0);
       } else {
         if (isopen) {
           // switch fan1 off und schliesse den Schlitz
-          Serial.println(F("Close Slot"));
+          Serial.println(F("Servo Close"));
           servo_ctrl("close");
           act(0);
         }

  Serial1.begin(115200);
  pinMode(led_pwr, OUTPUT);
  pinMode(led_act, OUTPUT);

  digitalWrite(led_pwr, LOW);
  digitalWrite(led_act, LOW);

  // build Json string
  root["ID"] = ID;


  // checke die Luftfeuchtigkeit und wenn zu niedrig schalte die Befeuchtung ein.
  if ((unsigned long)(currmillis - task2) >= mtime) {
    //Serial.println(F("check if hum"));
    if ((float)(get_hum() <= 65.0 || get_hum() <= 70.0)) {
      act(1);
      if (!isopen) {
        //oeffne die Belueftung und starte den Luefter
        Serial.println(F("Servo Open"));
        servo_ctrl("open");
      }
      act(0);
    } else {
      if (isopen) {
        // switch fan1 off und schliesse den Schlitz
        Serial.println(F("Servo Close"));
        servo_ctrl("close");
        act(0);
      }
