2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 13:29:26 +00:00
fhem-mirror/fhem/webfrontend/pgm2/ks300_2.gplot

26 lines
683 B
Plaintext
Raw Normal View History

############################
# Display the Wind and the Rain values of a KS300.
# Corresponding FileLog definition:
# define ks300log FileLog /var/log/fhem/ks300-%Y-%U.log ks300:.*H:.*
# or (SVG/gnuplot-scroll)
# define ks300log FileLog /var/log/fhem/ks300-%Y.log ks300:.*H:.*
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set ytics nomirror
set y2tics
set title '<TL>'
set grid
set ylabel "Wind (Km/h)"
set y2label "Humidity (%)"
#FileLog 8:IR:0:
#FileLog 6:IR:0:
plot "<IN>" using 1:8 axes x1y1 title 'Wind' with lines,\
"<IN>" using 1:6 axes x1y2 title 'Rel. Humidity (%)' with lines