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