   //  eventCounter ++;
   //  saveCounter(eventCounter);         // this also puts bme0 to sleep
   bme0.updateF4Control16xSleep(); // use instead of saveCounter if counter is not required
+
+  // You can also call drd.stop() when you wish to no longer
+  drd.stop();
+  
   goToSleep();
 } // end of void setup()
 

WiFiClient client; //client
String readString;

//callback notifying us of the need to save config
void saveConfigCallback () {
  Serial.println("Should save config");

      ESP.reset();
      delay(1000);
    }

  //save the custom parameters to FS
  if (shouldSaveConfig) {
    Serial.println("saving config");
