 float t, h;
 int acquireresult;
 
+uint8_t edges0;
+uint8_t edges1;
+uint8_t edges8;
+uint8_t edges9;
+
 WiFiClient wifiClient;
 PubSubClient client(mqtt_server, 1883, wifiClient);
 

        payload += h;
        payload += ",\"acquireresult\":";
        payload += acquireresult;
        payload += ",\"FreeHeap\":";
        payload += ESP.getFreeHeap();
        payload += ",\"RSSI\":";


  ArduinoOTA.begin();
  acquireresult = DHT.acquireAndWait(0);
  edges0 = DHT._edges[0];
  edges1 = DHT._edges[1];
  edges8 = DHT._edges[8];
  edges9 = DHT._edges[9];
  if ( acquireresult == 0 ) {
    t = DHT.getCelsius();
    h = DHT.getHumidity();
