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