2008-07-28 12:33:29 +00:00
|
|
|
############################
|
2007-03-27 14:50:04 +00:00
|
|
|
# Display the Wind and the Rain values of a KS300.
|
2008-07-28 12:33:29 +00:00
|
|
|
# Corresponding FileLog definition:
|
|
|
|
# define ks300log FileLog /var/log/fhem/ks300-%Y-%U.log ks300:.*H:.*
|
|
|
|
|
2008-07-11 07:35:12 +00:00
|
|
|
set terminal png transparent size <SIZE> crop
|
2007-03-27 14:50:04 +00:00
|
|
|
set output '<OUT>.png'
|
|
|
|
set xdata time
|
|
|
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
|
|
|
set xlabel " "
|
|
|
|
set ytics nomirror
|
|
|
|
set y2tics
|
2007-10-03 16:35:37 +00:00
|
|
|
set title '<TL>'
|
2007-03-27 14:50:04 +00:00
|
|
|
set grid
|
|
|
|
|
|
|
|
set ylabel "Wind (Km/h)"
|
2007-07-01 07:30:48 +00:00
|
|
|
set y2label "Humidity (%)"
|
2008-06-12 07:22:59 +00:00
|
|
|
|
2008-07-11 07:35:12 +00:00
|
|
|
#FileLog 8:IR:0:
|
|
|
|
#FileLog 6:IR:0:
|
2008-06-12 07:22:59 +00:00
|
|
|
|
2007-03-27 14:50:04 +00:00
|
|
|
plot "<IN>" using 1:8 axes x1y1 title 'Wind' with lines,\
|
2007-07-01 07:30:48 +00:00
|
|
|
"<IN>" using 1:6 axes x1y2 title 'Rel. Humidity (%)' with lines
|