mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
4f2c6efca1
git-svn-id: https://svn.fhem.de/fhem/trunk@1865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
24 lines
650 B
Plaintext
24 lines
650 B
Plaintext
############################
|
|
# Display the monthly avarage temperature and rainfall from a KS300.
|
|
# Corresponding FileLog definition:
|
|
# define avglog FileLog /var/log/fhem/ks300-%Y.log ks300:.*avg.*
|
|
|
|
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 y2label "Temperature in C"
|
|
set ylabel "Rain (l/m2)"
|
|
|
|
#FileLog 5:avg_month:0:
|
|
#FileLog 11:avg_month:0:
|
|
|
|
plot "<grep avg_month <IN>" using 1:5 axes x1y2 title 'Temperature' with lines,\
|
|
"<grep avg_month <IN>" using 1:11 axes x1y1 title 'Rain' with fsteps
|