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:
|
2009-12-22 11:00:54 +00:00
|
|
|
# define <filelogname> FileLog /var/log/fhem/hms-%Y.log <ks300name>:T:.*
|
2008-07-28 12:33:29 +00:00
|
|
|
|
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
|
2011-03-17 18:51:12 +00:00
|
|
|
set title '<L1>'
|
2007-03-27 14:50:04 +00:00
|
|
|
set grid
|
|
|
|
|
2011-03-17 18:51:12 +00:00
|
|
|
set ylabel "Wind (km/h)"
|
2007-07-01 07:30:48 +00:00
|
|
|
set y2label "Humidity (%)"
|
2008-06-12 07:22:59 +00:00
|
|
|
|
2011-06-23 11:35:02 +00:00
|
|
|
#FileLog 8:IR\x3a:0:
|
|
|
|
#FileLog 6:IR\x3a: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
|