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

#define USE_STROMBEWUSST_SERVER
#define STROMBEWUSST_IP (188, 40, 78, 147)
#define STROMBEWUSST_PORT 8888
#define STROMBEWUSST_KEY {49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54};

// TriggerPin - the PIN that gets HIGH when 1.25W/h were used on the line
#define TRIGGER_PIN 8

  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
