... | ... | @@ -126,7 +126,7 @@ When you recorded some sensor-data to your rrd, you can create funky graphs with |
|
|
--start -1d --pango-markup --vertical-label 'light intensity (%)' --lower-limit 0 --upper-limit 110 \
|
|
|
DEF:light=$RRD_DB:light:AVERAGE \
|
|
|
DEF:lightmax=$RRD_DB:light:MAX \
|
|
|
CDEF:scaled_light=light,10250000,/ \
|
|
|
CDEF:scaled_light=light,10250000, \
|
|
|
CDEF:light_inverse=1,scaled_light,- \
|
|
|
CDEF:light_percent=light_inverse,100,* \
|
|
|
AREA:light_percent#FF4141 \
|
... | ... | @@ -185,9 +185,12 @@ When you recorded some sensor-data to your rrd, you can create funky graphs with |
|
|
> /dev/null
|
|
|
|
|
|
by changing the parameter
|
|
|
--start -1d
|
|
|
> --start -1d
|
|
|
|
|
|
to
|
|
|
--start -1(w/m/y)
|
|
|
|
|
|
> --start -1(w/m/y)
|
|
|
|
|
|
you can switch from a dayly graph to weekly (w), monthly (m) or yearly (y).
|
|
|
|
|
|
your graph will look something like this:
|
... | ... | |