Compare commits

...

1 Commits

Author SHA1 Message Date
9ed3c70c01 fix: improve weight stability check before sending to API 2025-03-31 10:08:26 +02:00

View File

@ -190,7 +190,7 @@ void loop() {
}
// Prüfen ob das Gewicht gleich bleibt und dann senden
if (weight == lastWeight && weight > 5)
if (abs(weight - lastWeight) <= 2 && weight > 5)
{
weigthCouterToApi++;
}