     byte i;
     //Serial.println(F("check if hum"));
     if ((float)(get_hum() <= 65.0 || get_hum() <= 70.0)) {
-      act(1);
+      //act(1);
       if (!isopen) {
         //oeffne die Belueftung und starte den Luefter
         Serial.println(F("Switch fan on"));


//Servo Lib
#include <Servo.h> 
int servo_pin = 5; // Declare the Servo pin
Servo servo1; // Create a servo object
int pos_open = 130; // open position in degrees
int pos_close = 15; // close position in degrees

//DHT11 Lib
int dhtPin = 4;
#include "DHT.h"
DHT dht;

// delay between the measurements in Milliseconds
unsigned long stime = 1800000; // delay time between the transmitting
unsigned long mtime = 900000; // delay time between the measurements
// only for tests
//unsigned long stime = 20000;
//unsigned long mtime = 10000;

boolean isopen; // Field to check if open or closed


// Sender ID for Database
unsigned long int ID = 234576987654321;

int led_pwr=26;
int led_act=27;

// ESP8266 WIFI
#include<SoftwareSerial.h>
SoftwareSerial wifi(14,15); //RX, TX
boolean NO_IP=false;
boolean WIFI_CONN=false;
String IP="";
