2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00
fhem-mirror/fhem/webfrontend/pgm2/piri.gplot
rudolfkoenig 6ece026985 Size/axis chenges, new piri logs
git-svn-id: https://svn.fhem.de/fhem/trunk@118 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-12-03 10:34:34 +00:00

18 lines
427 B
Plaintext

#
# Display the on and off values off an FS20 device
# FileLog definition:
# define FileLog fs20log fs20dev /var/log/fs20dev-%Y-%U.log
#
set terminal png size 800,200 crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set ytics nomirror
set title '<TL>'
set grid
set yrange [-0.2:1.2]
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
using 1:2 title 'On/Off' with impulses