www-thermferm/getroom.php

changeset 208
934d45d9751d
parent 207
8d2ba4126519
child 512
fd1354e2a045
--- a/www-thermferm/getroom.php	Sun Aug 10 16:17:03 2014 +0200
+++ b/www-thermferm/getroom.php	Sun Aug 10 16:56:22 2014 +0200
@@ -42,11 +42,11 @@
 	if ($f[0] == "TEMP_STATE")
 		$temp_state = $f[1];
 	if (($f[0] == "TEMP_VALUE") && ($temp_state == "OK"))
-		$temp_value = $f[1];
+		$temp_value = $f[1].' °C';
 	if ($f[0] == "HUM_STATE")
 		$hum_state = $f[1];
 	if (($f[0] == "HUM_VALUE") && ($hum_state == "OK"))
-		$hum_value = $f[1];
+		$hum_value = $f[1].' %';
 	$j++;
     }
 }

mercurial