 
   #ifdef USE_STROMBEWUSST_SERVER
     // UDP Format: <32xkey><1xtimeframe><1xticks>
-    udpBuffer[16] = (byte)TIMEFRAME;
+    udpBuffer[6] = (byte)TIMEFRAME;
     udp.begin(STROMBEWUSST_PORT);
   #endif
 }

#define STORAGE_HOURS 1

#define SERVER_PORT 80
// *************************************

#ifdef LOCAL

  Serial.println("[strombewusst] push!");
  
  // Set the last byte to the latest storage field
  udpBuffer[7] = (byte)storageSum(1);
  udp.beginPacket(strombewusstIP, STROMBEWUSST_PORT);
  udp.write(udpBuffer, 8);
  udp.endPacket();
}
#endif
