2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00
fhem-mirror/fhem/www/gplot/power8top10.gplot
rudolfkoenig 4f2c6efca1 Reorg - Part 4
git-svn-id: https://svn.fhem.de/fhem/trunk@1865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2012-09-18 10:27:27 +00:00

31 lines
707 B
Plaintext

############################
# Display the power reported by the EM1000FM received bei CUL
#set terminal png transparent size <SIZE> crop
set terminal png size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel "Energiemonitor EM1000EM"
set title '<L1>'
set ylabel "Power (kW)"
set y2label "Power (kWh)"
set grid
set ytics
set y2tics
set logscale y
set logscale y2
set format y "%.1f"
set format y2 "%.1f"
#FileLog 8::0:
#FileLog 10::0:
plot \
"< awk '/5MIN:/ {print $1, $8}' <IN>"\
using 1:2 axes x1y2 title 'kWh' with lines,\
"< awk '/TOP:/ {print $1, $10}' <IN>"\
using 1:2 axes x1y1 title 'Spitze kW' with lines