mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@4083 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
062181cf35
commit
f62843e21b
30
fhem/www/gplot/hm-rt.gplot
Normal file
30
fhem/www/gplot/hm-rt.gplot
Normal file
@ -0,0 +1,30 @@
|
||||
############################
|
||||
# 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>
|
||||
|
||||
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 ytics
|
||||
set title '<L1>'
|
||||
set grid xtics y2tics
|
||||
|
||||
set y2label "Temperature in C"
|
||||
set ylabel "Valve Position (%)"
|
||||
|
||||
#FileLog 4:measured-temp\x3a:0:
|
||||
#FileLog 4:desired-temp\x3a:0:
|
||||
#FileLog 4:ValvePosition\x3a:0:
|
||||
|
||||
plot \
|
||||
"< awk '/measured/{print $1, $4}' <IN>"\
|
||||
using 1:2 axes x1y2 title 'Measured temperature' with lines,\
|
||||
"< awk '/desired/{print $1, $4}' <IN>"\
|
||||
using 1:2 axes x1y2 title 'Desired temperature' with lines,\
|
||||
"< awk '/actuator/ {print $1, $4+0}' <IN>"\
|
||||
using 1:2 axes x1y1 title 'Actuator (%)' with lines\
|
Loading…
x
Reference in New Issue
Block a user