www-thermferm/getroom.php

changeset 693
3518c07737d8
parent 512
fd1354e2a045
--- a/www-thermferm/getroom.php	Sat Apr 20 11:48:20 2024 +0200
+++ b/www-thermferm/getroom.php	Mon Apr 22 11:33:04 2024 +0200
@@ -41,11 +41,11 @@
 
 	if ($f[0] == "TEMP_STATE")
 		$temp_state = $f[1];
-	if (($f[0] == "TEMP_VALUE") && ($temp_state == "OK"))
+	if (($f[0] == "TEMP_VALUE") && ($temp_state == "YES"))
 		$temp_value = $f[1];
 	if ($f[0] == "HUM_STATE")
 		$hum_state = $f[1];
-	if (($f[0] == "HUM_VALUE") && ($hum_state == "OK"))
+	if (($f[0] == "HUM_VALUE") && ($hum_state == "YES"))
 		$hum_value = $f[1];
 	$j++;
     }

mercurial