2013-10-21 09:27:01 +00:00
|
|
|
############################
|
|
|
|
# Display the measured & desired temp and also the valve position.
|
|
|
|
# Corresponding FileLog definition:
|
|
|
|
# define <filelogname> FileLog /var/log/fhem/hm-rt-%Y-%m.log <hm-rt name>
|
|
|
|
|
2022-03-07 08:45:37 +00:00
|
|
|
set readonly
|
2013-10-21 09:27:01 +00:00
|
|
|
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
|
2014-08-31 11:06:35 +00:00
|
|
|
set yrange [0:100]
|
2013-10-21 09:27:01 +00:00
|
|
|
set title '<L1>'
|
|
|
|
set grid xtics y2tics
|
|
|
|
|
|
|
|
set y2label "Temperature in C"
|
2013-10-21 10:21:52 +00:00
|
|
|
set ylabel "Valve position (%)"
|
2013-10-21 09:27:01 +00:00
|
|
|
|
|
|
|
#FileLog 4:measured-temp\x3a:0:
|
|
|
|
#FileLog 4:desired-temp\x3a:0:
|
|
|
|
#FileLog 4:ValvePosition\x3a:0:
|
|
|
|
|
|
|
|
plot \
|
|
|
|
using 1:2 axes x1y2 title 'Measured temperature' with lines,\
|
|
|
|
using 1:2 axes x1y2 title 'Desired temperature' with lines,\
|
2013-10-21 10:21:52 +00:00
|
|
|
using 1:2 axes x1y1 title 'Valve position' with lines
|