   }
   lastConnected = client.connected();
 }
+#endif
 
 #ifdef USE_NETWORK
 void serverCheck()

    serverCheck();
    networkCheck();
  #endif
}

void networkCheck()
{
  // dump all pending data from network connections to the serial interface

  url += (int)(storageSum(60*XS1_TIMEFRAME/TIMEFRAME)*1.25*60/XS1_TIMEFRAME);
  Serial.println("[XS1] Update URL: "+url);  

  if (networkRequestIP(ip, url))
  {
    Serial.println("[XS1] updated");
  } else
