Subsections
1.15 RRDTool
The data collected over the 1-wire bus can be recorded and graphically
displayed with the opt RRDTool. This Opt already has the
necessary interfaces. This requires an installed owfs (see /config/ow.txt).
When installing RRDTool adapt /config/rrdtool.txt to reflect the desired
changes. Please note that for technical reasons the formats of the input
and output parameters differ in the files config/ow.txt and
config/rrdtool.txt.
The color of the graphs in RRDTool may be changed by using the variablen
OW_RRDTOOL_COLORSaccordingly. More values are separated by spaces, each value consisting of a
set of three hexadecimal digit pairs for the color values of the three
primary colors red, green and blue. For example, '00FF00 ' stands for green
and 'FFE000' for yellow. The position of the value within the variable stands for
the line in the graph, so the first value is for the first line and so on. The
actulisation is done cyclically, if the last value was used the next
line will be shown in the color of the first value again. So all lines
are drawn with the same color if only one color is specified.
RRDTOOL_x_SOURCE='owfs' # name of data source
RRDTOOL_x_LABEL='OWFS' # optional label setting
# required when using the same
# source more then once
RRDTOOL_x_OPTIONS_N='4' # number of options
RRDTOOL_x_OPTIONS_1='10.651BA9010800-temperature'
RRDTOOL_x_OPTIONS_1_LABEL='Heating-F-Temp'
RRDTOOL_x_OPTIONS_2='10.DEF0A8010800-temperature'
RRDTOOL_x_OPTIONS_2_LABEL='Heating-B-Temp'
RRDTOOL_x_OPTIONS_3='3A.F6E401000000-PIO.A'
RRDTOOL_x_OPTIONS_3_LABEL='L-Pump'
RRDTOOL_x_OPTIONS_4='3A.F6E401000000-PIO.B'
RRDTOOL_x_OPTIONS_4_LABEL='U-Pump'
It is possible to record multiple lines in a view by the use of
a plus sign (+) between the individual port entries as follows:
RRDTOOL_x_OPTIONS_1='10.651BA9010800-temperature+10.DEF0A8010800temperature+10.652BA9010800-temperature'
RRDTOOL_x_OPTIONS_1_LABEL='Temperatures'
In the present example, three temperature graphs are displayed in a picture.
© 2001-2015 The fli4l-Team - 27 January 2015