lnetdb.py:
This program reads in a file and dumps the data into the DB. We will have to
run this file each time we take data from the base station. See the comments
in this script for what the name of the file should be, its format, how its
dumped into the db, the name of the db.
grapher.py:
This program generates a graph of the last 24 hours of temp data. We will run
it each time we run lnetdb.py (always after). I believe
this only graphs the first four nodes. We may want to modify how this
program works if we start to collect data from large numbers of sensors.
cgi/index.cgi:
Note LizzardNet.html expects this directory structure.
This is the script that takes user input from the web page and generates
the proper data. It may need to be modified depending on LizardNet.html or
if we start to collect more types of data or from more nodes.
cgi/updatenodes.cgi:
This is the web page that tracks which nodes are missing. The password to
reset the page is stored in this file. Also this file must be able to read
and write missingnodes.txt . To tell this page a node has gone missing simply
add "&n=" to the end of the url.
cgi/missingnodes.txt:
This is the file where we store which nodes are borken.
updatenodes.py:
There is a function in this program that takes an array of nodes tha are broken
and then updates the web page.
Note: we will have to tell this program where the web page is. Also someone
will have to write a program that interfaces with the function. If they do it
in python in this file it will be easiest. Otherwise they may want to
rewrite the function in their script.