From b54d5f9c56cac9b6afb81b2d9543c4ed12f89f90 Mon Sep 17 00:00:00 2001 From: klaus-schauer <> Date: Sun, 18 Oct 2015 18:46:56 +0000 Subject: [PATCH] EnO_dim4.gplot: new definition git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9528 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- www/gplot/EnO_dim4.gplot | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 www/gplot/EnO_dim4.gplot diff --git a/www/gplot/EnO_dim4.gplot b/www/gplot/EnO_dim4.gplot new file mode 100644 index 000000000..e46e70c6a --- /dev/null +++ b/www/gplot/EnO_dim4.gplot @@ -0,0 +1,34 @@ +############################################## +# $Id$ +# Display the battery voltage +# +# FileLog definition: +# define FileLog_device FileLog ./log/device-%Y.log device +# +# Logfile record example: +# 2015-10-17_08:38:08 device dim: 54 + +# Attribute 'small' is useful for gnuplot/-scroll only, +# if plotsize is less than 800,400 +#set terminal png transparent small size crop + +set terminal png transparent size crop + +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set ytics +set title '' +set grid xtics ytics + +set ylabel "dim/%" + +set yrange [0:100] +set y2range [0:100] + +#FileLog 4:dim:0: + +plot \ + "< egrep 'dim:' "\ + using 1:4 axes x1y1 title 'Dimming' with lines