Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa

Changes to "Accessing the data" between 2014-05-28 06:25:02 and 2014-05-28 06:39:42

1
2
3

4
5
6

7










8
1
2

3
4
5

6
7
8
9
10
11
12
13
14
15
16
17
18


-
+


-
+

+
+
+
+
+
+
+
+
+
+

<h4>Accessing the data</h4>

Calls to refdb directly:
Calls to refdb directly (use in shell scripts):

<verbatim>
refdb lookup path/to/db summer temp target
> refdb lookup condo-ctrl summer temp target
32
</verbatim>

Use the ini-file egg

<verbatim>
csi> (use ini-file)
csi> (property-separator-patt " ")
csi> (define cfgdat (read-ini "condo-ctrl/summer.dat" ))
csi> (cdr (assoc 'temp (cdr (assoc 'target cfgdat))))
28
</verbatim>