-
Notifications
You must be signed in to change notification settings - Fork 1
Notes regarding the website
dataCollection.py reads sensor data and writes it to a json every minute.
dataSheet.html calls dataGetter.js which GET requests the json and places it into the table of dataSheet.html.
dataSheet.html and dataGetter.js should be in /var/www/html.
The python program will be in /var/www/scripts.
Right now both dataCollection.py and dataGetter.js are configured to update every 10 minutes.
dataGetter.js always fetches the entirety of the json file, which may become a problem if the code is run for a couple of hours or longer, as by then it will have a couple of hundred entries.
All three pieces of code are currently only for time and temperature, they all must be updated to include more data fields.
Can be found under code/web or code/sensors
Right now supports only time + temperature. Possible additions would be rotation (x,y,z) and acceleration (x,y,z) or also the raspberry pi's internal temperature.