##Requirements
-
Couchdb installed
-
CURL installed
-
basic knowledge of Couchdb
-
Python lib to access couchdb
sudo pip install couchdb
-
Python lib pycurl
sudo pip install pycurl
-
and DS18B20
##Usage
Copy settings.default.json
to settings.json
and edit to match your sensor id's and database settings.
(sudo) python read.py
Then go to your local couchdb installation to db/_design/temperature/index.html
or create your own rewrite rules. Rewrite your db to your db name to keep things working.
##Dependencies All dependencies are included. The project depends on:
The program works with tiles, which are capable of displaying information. Below all tiles will be described. All types of tiles are available live, or static.
Graph tiles accept at least one Observable, and more can be added with the 'vAddSerie' function. The initialization of a graphtile accepts options as a last parameter. Among these options are the 'graphOptions' which are the options that Rickshaw Graph accepts. For serie options holds the same, they accept the same options as Rickshaw series.
Currently two Y-axes are not available, but maybe available in the future.
Numbers tiles come in two flavours, with or without a knob. With a knob, they look like a gauge, progressbar or whatever you would like to call it. The number is centered and the bar is around it. The knob is based on JQuery Knob and accepts the same parameters in the options.
The other flavour is the normal number tile. This only displays the number and on update gives a light flash. This number can have a pre and post text. Like temperature °.