Make ajax response for profile state the same as the startup state

Thu, 04 Sep 2014 14:07:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 04 Sep 2014 14:07:09 +0200
changeset 287
61be1e1711d3
parent 286
674efa17be1d
child 288
8b99ab77262b

Make ajax response for profile state the same as the startup state

www-thermferm/getstate.php file | annotate | diff | comparison | revisions
--- a/www-thermferm/getstate.php	Wed Sep 03 15:38:01 2014 +0200
+++ b/www-thermferm/getstate.php	Thu Sep 04 14:07:09 2014 +0200
@@ -85,7 +85,7 @@
 	if (($f[0] == "PROF_TARGET") && ($mode == "PROFILE"))
 		$target_temperature = $f[1];
 	if (($f[0] == "PROF_STATE") && ($mode == "PROFILE"))
-		$prof_state = $f[1];
+		$prof_state = 'State: '.$f[1];
 	$j++;
     }
 }

mercurial