     return;
   }
 
-  float Of   = root["OUTSIDE"];
-  float Hf   = root["Humidity"];
-  float T1f  = root["Temperature"];
-  float T2f  = root["DS18B20"];
-  int pirf   = root["DOORPIR"];
-
-  // esp8266/arduino/s07 => {"VIrms":752,"revValue":715.81,"revMills":8386}
-  // NemoWeightAvg
-  
-
-  if ( Of > 0 ) {
-    O = Of ;
-  }
-  if ( Hf > 0 ) {
-    H   = Hf;
-    T1  = T1f ;
-    T2  = T2f;
-  }
-
-  Serial.print(H);
-  Serial.print("-");
-  Serial.print(T1);
-  Serial.print("-");
-  Serial.print(T2);
-  Serial.print("-");
-  Serial.print(pir);
-  Serial.print("-");
-  Serial.print(O);
-  Serial.println("");
-
-
-  lcd.setCursor(2, 1);
-  lcd.print((T1 + T2) / 2);
-  lcd.print((char)223); //degree sign
-
-  if ( O > 0 ) {
-    lcd.setCursor(2, 2);
-    lcd.print("      ");
-    lcd.setCursor(2, 2);
-    lcd.print(O);
-    lcd.print((char)223); //degree sign
-  }
-
-  lcd.setCursor(2, 3);
-  lcd.print(H);
-  lcd.print("%");
+  H   = root["Humidity"];
+  T1  = root["Temperature"];
+  T2  = root["DS18B20"];
+  OT  = root["OUTSIDE"];
+  PIR = root["DOORPIR"];
+  PW  = root["powerAvg"];
+  NW  = root["NemoWeightAvg"];
 
   inuse = 0;
 

    lcd.setCursor(9, 3);
    lcd.print("*");
    lcd.print(dustDensity);
    lcd.print(" mg/m3");

    payload = "{\"dustDensity\":";
    payload += dustDensity;
    payload += "}";

    if ( dustDensity != olddustDensity ) {
      sendmqttMsg(payload);
      olddustDensity = dustDensity ;
    }

  }
}

void sendmqttMsg(String payload)

  printDigits(second());
}

void printDigitsnocolon(int digits) 
{
  if (digits < 10)
    lcd.print('0');
  lcd.print(digits);
}


void printDigits(int digits) 
{
  // utility for digital clock display: prints preceding colon and leading 0
  lcd.print(":");
  if (digits < 10)
