diff -r 7a29f835e20a -r d694abd9d809 www-thermferm/getstate.php --- a/www-thermferm/getstate.php Mon Jan 21 17:11:50 2019 +0100 +++ b/www-thermferm/getstate.php Thu Feb 07 14:59:47 2019 +0100 @@ -1,6 +1,6 @@ * @@ -92,10 +92,14 @@ $psu = "yes"; if (($f[0] == "DOOR_ADDRESS") && (strcmp($f[1], "(null)"))) $door = "yes"; - if (($f[0] == "BEER_SET") && ($mode == "BEER")) - $target_temperature_lo = $target_temperature_hi = $f[1]; - if (($f[0] == "FRIDGE_SET") && ($mode == "FRIDGE")) - $target_temperature_lo = $target_temperature_hi = $f[1]; + if (($f[0] == "BEER_SET_LO") && ($mode == "BEER")) + $target_temperature_lo = $f[1]; + if (($f[0] == "BEER_SET_HI") && ($mode == "BEER")) + $target_temperature_hi = $f[1]; + if (($f[0] == "FRIDGE_SET_LO") && ($mode == "FRIDGE")) + $target_temperature_lo = $f[1]; + if (($f[0] == "FRIDGE_SET_HI") && ($mode == "FRIDGE")) + $target_temperature_hi = $f[1]; if (($f[0] == "PROF_TARGET_LO") && ($mode == "PROFILE")) $target_temperature_lo = $f[1]; if (($f[0] == "PROF_TARGET_HI") && ($mode == "PROFILE"))