diff --git a/public/js/SensorsController.js b/public/js/SensorsController.js index 5f93634..29c2a5c 100644 --- a/public/js/SensorsController.js +++ b/public/js/SensorsController.js @@ -16,7 +16,7 @@ app.controller('SensorsController', function($scope, $http) { $scope.information[i].date = date.toLocaleString('en-US', options); - if ((Date.now() - date) < 120000) { + if ((Date.now() - date) < 420000) { $scope.information[i].status = "Connected"; $scope.information[i].css = "colorGreen"; } else { diff --git a/public/view/sensors.html b/public/view/sensors.html index 9822165..80e7a08 100644 --- a/public/view/sensors.html +++ b/public/view/sensors.html @@ -1,7 +1,7 @@
Note: I am using a DHT11 analog sensor for both temperature and humidity readings. I am also using a DS18B20 digital sensor, which only takes temperature readings. The digital sensor seems to get more accurate readings. Some of the data may be inconsistent as this is an experimental process. +
Note: As of 5-22-16 I have redone the entire back and front end of this website. Along with that, many database queries have been changed to be more optimized. Because of this I have gotten rid of all older data and am starting a fresh database.