forked from Pyplate/rpi_temp_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
wayner9/rpi_temp_logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Raspberry Pi Temperature Logger =============================== wayner9 Changelog: Remove extraneous code left by Pyplate Change date to localtime rather than UTC and change date formatting from "YYYY-MM-DD HH:MM:SS" to "MM-DD HH:MM". Change Y Axis scale to have a minimum of 10 and a maximum of 20, unless overridden. Change folder for templog.db file from /var/www to /var/www/thermo to facilitate www-data permissions on cron job. Fixed type of "new" to "now" for last hour data. Put summary stats on one row. Added degree symbol to textual data and chart vertical axis. This repo contains code for a Raspberry Pi temperature logger which uses SQLite to store data read from a DS18B20 sensor. You can see more details here: http://raspberrywebserver.com/cgiscripting/rpi-temperature-logger/building-an-sqlite-temperature-logger.html In webgui.py, there are several lines that contain hardcoded dates so that you can use the script with the sample database provided. There is an equivalent version of each of these lines that uses 'now' instead of a hardcoded timestamp. If you want to view data you've collected yourself, you should uncomment the lines that use 'now', and comment out the lines that have a hardocded date. See webgui.py, lines 45, 117, 122, 127 and 148.
About
Raspberry Pi SQLite temperature logger with a web UI
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%