Added setting of initial target temperature

Tue, 05 Aug 2014 21:46:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 05 Aug 2014 21:46:49 +0200
changeset 186
7c44b11a10b0
parent 185
4f34271cf1e7
child 187
3c8bf18fdf42

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;

mercurial