 
   //
 
-
   clientName += "esp8266-";
   uint8_t mac[6];
   WiFi.macAddress(mac);

    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("%");

  inuse = 0;


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

}

void requestSharp() 
{
  if ( inuse == 0 ) {
    Wire.requestFrom(2, 2);    // request 6 bytes from slave device #2

    int x;
    byte a, b;

    a = Wire.read();
    b = Wire.read();

    x = a;
    x = x << 8 | b;

    float calcVoltage = x * (5.0 / 1024.0);
    dustDensity = 0.17 * calcVoltage - 0.1;
    // //    0 ~ 0.5
  }
}


void senddustDensity()
{
  payload = "{\"dustDensity\":";
  payload += dustDensity;
  payload += "}";

  sendmqttMsg(payload);
}

void sendmqttMsg(String payload)
