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