# HG changeset patch # User Michiel Broek # Date 1407268009 -7200 # Node ID 7c44b11a10b01940a8ecda034809055341a61d55 # Parent 4f34271cf1e71cb5bedda10214561e8acaa374d7 Added setting of initial target temperature diff -r 4f34271cf1e7 -r 7c44b11a10b0 www-thermferm/liveview.php --- 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 .= '