diff -r 12734a3774e8 -r 0f3fe4fa0977 www-thermferm/liveview.php --- a/www-thermferm/liveview.php Thu Apr 02 23:24:32 2015 +0200 +++ b/www-thermferm/liveview.php Sun Apr 05 11:09:45 2015 +0200 @@ -351,17 +351,17 @@ $outstr .= ' '.PHP_EOL; $outstr .= '
'.PHP_EOL; - if ($cooler_state == "100") + if ($cooler_state) $cooler_led = "on"; $outstr .= '
'.PHP_EOL; $outstr .= '
Cool'.PHP_EOL; $outstr .= '
'.PHP_EOL; - if ($heater_state == "100") + if ($heater_state) $heater_led = "on"; $outstr .= '
'.PHP_EOL; $outstr .= '
Heat'.PHP_EOL; $outstr .= '
'.PHP_EOL; - if ($fan_state == "100") + if ($fan_state) $fan_led = "on"; $outstr .= '
'.PHP_EOL; $outstr .= '
Fan'.PHP_EOL;