diff -r 400aae9fb0c8 -r b825c675987d www/mon_node.php
--- a/www/mon_node.php Tue Aug 28 11:30:42 2018 +0200
+++ b/www/mon_node.php Tue Aug 28 20:54:53 2018 +0200
@@ -53,12 +53,12 @@
html += "
OS | " + record.os + " versie: " + record.os_version + " |
";
html += "Firmware | " + record.firmware + " |
";
if (record.online) {
- html += "Temperatuur | " + record.temperature + "°C |
";
+ html += "Temperatuur | " + record.temperature.toFixed(1) + "°C |
";
if (record.humidity > 0) {
- html += "Vochtigheid | " + record.humidity + "% |
";
+ html += "Vochtigheid | " + record.humidity.toFixed(1) + "% |
";
}
if (record.barometer > 0) {
- html += "Luchtdruk | " + record.barometer + " |
";
+ html += "Luchtdruk | " + record.barometer.toFixed(0) + " |
";
}
if ((record.gps_latitude != 0) && (record.gps_longitude != 0)) {
html += "GPS | "+ record.gps_latitude + " " + record.gps_longitude + " " + record.gps_altitude + " |
";