Tue, 05 Aug 2014 21:46:49 +0200
Added setting of initial target temperature
www-thermferm/liveview.php | file | annotate | diff | comparison | revisions |
--- a/www-thermferm/liveview.php Tue Aug 05 21:33:06 2014 +0200 +++ b/www-thermferm/liveview.php Tue Aug 05 21:46:49 2014 +0200 @@ -95,6 +95,15 @@ if (strcmp($vals[0], "FAN_STATE") == 0) { $fan_state = $vals[1]; } + if (($vals[0] == "BEER_SET") && ($mode == "BEER")) { + $set_temperature = $vals[1]; + } + if (($vals[0] == "FRIDGE_SET") && ($mode == "FRIDGE")) { + $set_temperature = $vals[1]; + } + if (($vals[0] == "PROF_TARGET") && ($mode == "PROFILE")) { + $set_temperature = $vals[1]; + } } $outstr .= ' <script type="text/javascript">'.PHP_EOL;