     i++;
   }
   if(i==8)
-  Serial.println("OK");
+  Serial.println(F("OK"));
   else
-  Serial.println("Error");
+  Serial.println(F("Error"));
 }
 
 void check_ip(int t1){

DHT dht;

//Pausen zwischen den Messungen in Millisekunden
unsigned long stime = 1800000; // Zeit zwischen den Sendezeiten
unsigned long mtime = 900000; // Zeit zwischen den Messungen

boolean isopen; // Boolean Feld fuer den Status vom Luefter.

// Memory pool for JSON object tree.
StaticJsonBuffer<200> jsonBuffer;
JsonObject& root = jsonBuffer.createObject();

void servo_ctrl(char cmd){
  if(cmd=='open'){

*/
#include <ArduinoJson.h>
// ID fuer den Sender
unsigned long int ID = 234576987654321;

int fan_pin=7;
//int led_act=8;
//int led_pwr=12;

// ESP8266 WIFI
#include<SoftwareSerial.h>
SoftwareSerial wifi(2,3); //RX, TX
boolean NO_IP=false;
String IP="";
int i,k,x=0;

String SERVER="10.20.50.74";
String TOKEN="5245ADFAFD5784567ADFA324";
//unsigned int PORT=9600;
String URI="/";

//Servo Lib
#include <Servo.h> 
