www-thermferm/getstate.php

changeset 693
3518c07737d8
parent 578
d694abd9d809
--- a/www-thermferm/getstate.php	Sat Apr 20 11:48:20 2024 +0200
+++ b/www-thermferm/getstate.php	Mon Apr 22 11:33:04 2024 +0200
@@ -58,15 +58,15 @@
 
 	if ($f[0] == "AIR_STATE")
 		$air_state = $f[1];
-	if (($f[0] == "AIR_TEMPERATURE") && ($air_state == "OK"))
+	if (($f[0] == "AIR_TEMPERATURE") && ($air_state == "YES"))
 		$air_temperature = $f[1];
 	if ($f[0] == "BEER_STATE")
 		$beer_state = $f[1];
-	if (($f[0] == "BEER_TEMPERATURE") && ($beer_state == "OK"))
+	if (($f[0] == "BEER_TEMPERATURE") && ($beer_state == "YES"))
 		$beer_temperature = $f[1];
 	if ($f[0] == "CHILLER_STATE")
 	    	$chiller_state = $f[1];
-	if (($f[0] == "CHILLER_TEMPERATURE") && ($chiller_state == "OK"))
+	if (($f[0] == "CHILLER_TEMPERATURE") && ($chiller_state == "YES"))
 	    	$chiller_temperature = $f[1];
 	if ($f[0] == "MODE")
 		$mode = $f[1];

mercurial