]> Git — Sourcephile - julm/air-duino.git/blob - README
rename out/ -> view/, harden collect.pl parsing, add @id in .html5
[julm/air-duino.git] / README
1 Requirements
2 ============
3 - GNU make
4 - rrdtool
5 - perl
6 - xsltproc
7
8 Build in build-uno/
9 -------------------
10 $ make ino
11
12 Upload on /dev/ttyUSB0 (to be adapted)
13 --------------------------------------
14 $ make DEVICE_PATH=/dev/ttyUSB0 upload
15
16 Collect in rrd/ from /dev/ttyUSB0 (to be adapted)
17 -------------------------------------------------
18 $ ./collect.pl /dev/ttyUSB0 &
19
20 Generate .png in view/
21 ---------------------
22 $ make view/png
23
24 Generate .png in view/ for specific dates
25 ----------------------------------------
26 $ make view/png years=2015 months=11 days="01 02"
27
28 or by using full file paths:
29
30 $ make view/{humidity,particles,quality,temperature}/2015/11/01.png
31
32 Generate .html5 in view/
33 -----------------------
34 $ make view/html5
35
36 Generate .html5 in view/ for specific dates
37 ------------------------------------------
38 $ make view/html5 years=2015 months=11 days="01 02"
39
40 or by using full file paths:
41
42 $ make view/2015/11.html5