diff -r 244de612c572 -r b73490398368 thermferm/units.c --- a/thermferm/units.c Sat Aug 02 22:33:15 2014 +0200 +++ b/thermferm/units.c Sun Aug 03 22:49:33 2014 +0200 @@ -110,9 +110,9 @@ * value with the previous one. If the difference is too * much, we don't send that value. That also means that if * the next value is ok again, it will be marked invalid too. - * Maximum error is 20 degrees for now. + * Maximum error is 40 degrees for now. */ - deviation = 20000; + deviation = 40000; if ((unit->air_temperature == 0) || (unit->air_temperature && (temp > (int)unit->air_temperature - deviation) && (temp < ((int)unit->air_temperature + deviation)))) { unit->air_temperature = temp; @@ -135,7 +135,7 @@ if (unit->beer_address) { rc = read_w1_28(unit->beer_address, &temp); if (rc == DEVPRESENT_YES) { - deviation = 20000; + deviation = 40000; if ((unit->beer_temperature == 0) || (unit->beer_temperature && (temp > (int)unit->beer_temperature - deviation) && (temp < ((int)unit->beer_temperature + deviation)))) { unit->beer_temperature = temp;