Fhemweb.pl fixes
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@34 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
17
webfrontend/pgm2/fs20.gplot
Normal file
17
webfrontend/pgm2/fs20.gplot
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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
|
||||
set output '<OUT>.png'
|
||||
set xdata time
|
||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||
set xlabel " "
|
||||
set ytics nomirror
|
||||
set title '<IN>'
|
||||
set grid
|
||||
set yrange [-0.2:1.2]
|
||||
|
||||
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
|
||||
using 1:2 title 'On/Off' with steps
|
||||
Reference in New Issue
Block a user