Finished final project documentation. WHEW!
Continuing to work on final project documentation. Also fixed another minor bug in rpi_client.py.
Started working on final project documentation.
Fixing a bug that I just noticed while doing a dry run. The client sorts the temps before creating the SensorReading object so the correct temps don't correspond to the correct sensors on the server. The fix was simply to create the SensorReading object sooner before the temps are sorted.
Changing IP.
Adding dynamically updating charts using the Flot javascript plotting library.
Okay, fixing that bug for reals now.
Fixing a global variable bug in RPi client.
Adding some charset info to make sure mod_wsgi doesn't puke on UTF-8 encoded strings. Also added a "-d" (debug enable) switch to the RPi client so that it only prints out debug information if you want it to. Finally, I added a try except block around the database insert code in the server daemon so that the whole daemone doesn't crash when there is an error.
Made a few minor changes to the RPi client.
View all revisions | View revisions
Also available in: Atom