 #ifdef USE_STROMBEWUSST_SERVER 
 void strombewusstPush()
 {
-  // Set the last byte the the last frame's value
-  udpBuffer[33] = storageSum(1);
-  udp.beginPacket(STROMBEWUSST_SERVER, STROMBEWUSST_PORT);
-  udp.write(udpBuffer);
+  Serial.println("[strombewusst] push!");
+  
+  // Set the last byte to the latest storage field
+  udpBuffer[17] = (byte)storageSum(1);
+  udp.beginPacket(strombewusstIP, STROMBEWUSST_PORT);
+  udp.write(udpBuffer, 18);
   udp.endPacket();
 }
-#endif 
+#endif
 
 #ifdef USE_NETWORK
 String generateJSON()

    pos--;
    if (pos == -1)
    {
      pos = timeStorage-1;
    }
    sum += (int)storage[pos];
  }

#endif

#ifdef USE_STROMBEWUSST_SERVER
  // UDP Format: <16xkey><1xtimeframe><1xticks>
  byte udpBuffer[18] = STROMBEWUSST_KEY;
  IPAddress strombewusstIP = STROMBEWUSST_SERVER;
#endif

// stores the # of bytes needed to store the information
const unsigned int
  storageSize = 60 / TIMEFRAME * 60 * STORAGE_HOURS;

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

