 
 void pointerChanged()
 {
+  Serial.println(F("[loop] *** Time frame changed ***"));
+
+  Serial.print(F("[data] Last minute: "));
+  Serial.print(storageSum(1)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Last 2 minutes:"));
+  Serial.print(storageSum(2)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Last 5 minutes: "));
+  Serial.print(storageSum(5)*1.25);
+  Serial.println(F(" Wh"));
+
+  Serial.print(F("[data] Currently connected: "));
+  Serial.print(currentWatts);
+  Serial.println(F(" Watt"));
+
   #ifdef USE_NETWORK
     push();
   #endif
-
-  Serial.println(F("[loop] *** Time frame changed ***"));
-
-  Serial.print(F("[data] Last 30 seconds: "));
-  Serial.println(storageSum(1));
-
-  Serial.print(F("[data] Last 60 seconds: "));
-  Serial.println(storageSum(2));
-
-  Serial.print(F("[data] Last 5 minutes: "));
-  Serial.println(storageSum(20));
-
-  Serial.print(F("[data] Currently connected: "));
-  Serial.print(lastWatts);
-  Serial.println(F(" Watt"));
 }
 
 void push()

const unsigned int
  storageSize = 60 / TIMEFRAME * STORAGE_MINUTES;

// Gets incremented by the interrupt method gotSignal
volatile byte signals = 0;
volatile unsigned int lastWatts = 0;
volatile unsigned long lastSignal = 0;

byte
  storage[storageSize],
  lastDay = 0xFF,
  lastHour = 0xFF;

unsigned long
  storageRuntime = 0;

unsigned int
  storagePointer = 0,
  storageHour[24],
  storageDay[31];

{
  IPAddress ip XS1_IP;
  char url[100];
  sprintf(url, "%s%u", XS1_URL, currentWatts);

  if (networkRequestIP(ip, url))
  {
