A 1WIRE WEB SERVER MONITORING TEMPERATURE WITH GRAPH
It's a live CDRom to boot on, and that's it!...
And you get a running web server monitoring temperature on 1wire network with graphs.
It's made from a set of available free softwares bundle together on a CD, with some scripts of my own.
It's based on DSL(Damned Small Linux), OWFS(One Wire File System), rrdtool and some projects found on the web.
You
need a PC able to boot on a CDRom, a 1wire network (on USB or serial
adapter) with 1 and ONLY 1 temperature sensor DS18B20 (the most common
1wire temperature sensor). If you have more or other type of sensors
the script won't run properly. However you can easly modify the script
(/home/dsl/checktemp.sh) to monitor a custom network.
Temperature is measured every 5 minutes.
Because
it's DSL based it's very light ( < 50Mo ). It's a live CD it's means
no need to install anything, it's running in ram, safe because nothing
to attack. However if you want you can also install it, with DSL
several install modes are available. My system is installed with
"frugal install" mode on a "compact flash card", no hard disk, on a
166MHz Pentium system more than powerful enough to run the whole
system. It's rock solid and secure. Everything run in ram. On every
reboot it's like the first time boot: brand new. However temperature
database can be saved on USB flash disk, or remote server.
If the
computer isn't connected to network it works too, you can localy
monitor the temperature (launch DILLO (or firefox) and write localhost
in the adress area). But it's better on the net, it's made for, you can
monitor home temperature from anywhere in the world.
I didn't test it with serial adapter because I don't have one. But because it's based on owfs, it should works.
All owfs options are available (web server, ftp server. Check owfs site)
All DSL softwares are included a full working desktop is available.
BUGS-LIMITATIONS
It's limited to 1 and ONLY 1 temperature sensor DS18B20 (But easy to modify)
There
is a bug: the page doesn't refresh correctly. You have to click on the
navigator refresh button several times to get the latest page. (Caused
by Monkey web server?...)
TODO
Documentation.
Modify the script to monitor all the 1wire sensors.
Test lighthttpd
Stop 5 minutes and have a beer
THANKS - LINKS
The wonderful DSL taht I use for a while now. It's customizable and light
OWFS to do everything on 1wire (I have started with the owfs-Dsl CD available on owfs site)
rrdtool
Geoges ROSSET and his site for the graphs and rrdtool use
DOWNLOAD
DOWNLOAD CDRom iso
if you like to check the md5sum is:
91280c130d1913dbd4d04c36fde74d7e
EXAMPLE
The web page you will get.