   delay(200); //wait for power to stabilize
   Serial.begin(115200);
   memset(measurementdata, 0, sizeof(measurementdata));
+  Serial.print( F("Compiled: "));
+  Serial.print( F(__DATE__));
+  Serial.print( F(", "));
+  Serial.print( F(__TIME__));
+  Serial.print( F(", "));
+  Serial.println( F(__VERSION__));
   Serial.println(F("\r\nMutatio grid frequency tracker, part of netzsin.us project"));
 
   EEPROM.begin(256); //eeprom emulation on flash, the ESP8266 has no actual EERPOM

      initOTAupdate();
      SDwriteLogfile("WIFI connected");

     // plotly_init(true); //!!! comment this line if not using plotly server
      
    }
    ArduinoOTA.handle();


    if (measurementdata[latestindex].flag > 0 && (measurementdata[latestindex].flag & 0x08) == 0 && WiFi.status() == WL_CONNECTED && serverFailed == 0 && !config.sendAllData) //not yet sent and we have a wifi connection
    {
      //plotly_plot(measurementdata[latestindex]);

      if (sendMeasurementToServer(measurementdata[latestindex]) == 0) //send successful?
      {
        measurementdata[latestindex].flag |= 0x08; //mark as sent out
      }
    }

    issampling = true;
