diff -r 67e0384c0e63 -r cf145b35d65f bmsd/ispindels.c --- a/bmsd/ispindels.c Tue Jul 19 13:55:53 2022 +0200 +++ b/bmsd/ispindels.c Fri Jul 22 12:15:05 2022 +0200 @@ -327,7 +327,7 @@ line = xstrcat(line, (char *)","); line = xstrcat(line, ispindel->uuid); - snprintf(query, 511, "INSERT INTO log_ispindel SET code='%s', datetime='%s', " \ + snprintf(query, 511, "INSERT IGNORE INTO log_ispindel SET code='%s', datetime='%s', " \ "temperature='%.4f', plato='%.5f', sg='%.5f', battery='%.6f', " \ "angle='%.5f', refresh='%d', uuid='%s'", ispindel->beercode, datetime, ispindel->temperature, ispindel->gravity,