   if ( PIR == 1)
   {
     for ( int i = 0 ; i <= 3 ; i ++ ) {
-       lcd.setCursor(19, i);
-       lcd.write(5);      
+      lcd.setCursor(19, i);
+      lcd.write(5);
     }
   } else {
     for ( int l = 0 ; l <= 3 ; l ++ ) {
-       lcd.setCursor(19, l);
-       lcd.write(" ");     
-    } 
+      lcd.setCursor(19, l);
+      lcd.print(" ");
+    }
   }
 }
 

  int length_Temperature = str_Temperature.length();

  for ( int i = 0; i < ( 3 - length_Temperature ) ; i++ ) {
      lcd.write(" ");
  }
  lcd.print(Temperature, 1);
}

    return;
  }

  // topic
  // raspberrypi/doorpir
  // esp8266/arduino/s07 : power
  // esp8266/arduino/s04 : OUTSIDE
  // esp8266/arduino/s06 : Scale
  // esp8266/arduino/s02  : T, H

  if ( receivedtopic == "esp8266/arduino/s02" ) {
    H   = root["Humidity"];
    T1  = root["Temperature"];
    T2  = root["DS18B20"];
  }

  if ( receivedtopic == "esp8266/arduino/s04" ) {
    OT  = root["OUTSIDE"];
  }
