www-thermferm/index.php

changeset 693
3518c07737d8
parent 578
d694abd9d809
--- a/www-thermferm/index.php	Sat Apr 20 11:48:20 2024 +0200
+++ b/www-thermferm/index.php	Mon Apr 22 11:33:04 2024 +0200
@@ -1,6 +1,6 @@
 <?php
 /*****************************************************************************
- * Copyright (C) 2014-2019
+ * Copyright (C) 2014-2024
  *   
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -128,11 +128,11 @@
 	    $version = $f[1];
 	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