2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Size/axis chenges, new piri logs

git-svn-id: https://svn.fhem.de/fhem/trunk@118 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2007-12-03 10:34:34 +00:00
parent 5fbd1b8050
commit 6ece026985
8 changed files with 48 additions and 12 deletions

View File

@ -4,16 +4,15 @@
#=================
set terminal png size 1024,240 crop
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 y2tics
set title '<TL>'
set grid
set ylabel "KW"
#set ytics .2
plot "<IN>" using 1:4 title 'Power' with lines
plot "<IN>" using 1:4 title 'Power (KW)' with lines

View File

@ -3,13 +3,14 @@
# FileLog definition:
# define FileLog fhtlog1 fht1:.*(temp|actuator).* /var/log/fht1-%Y-%U.log
#
set terminal png size 1024,240 crop
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 y2tics
set ytics 1
set title '<TL>'
set grid

View File

@ -3,15 +3,14 @@
# FileLog definition:
# define FileLog fs20log fs20dev /var/log/fs20dev-%Y-%U.log
#
set terminal png size 1024,240 crop
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]
set noytics
set yrange [-0.1:1.1]
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
using 1:2 title 'On/Off' with steps

View File

@ -3,7 +3,7 @@
# FileLog definition:
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
#
set terminal png size 1024,240 crop
set terminal png size 800,200 crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"

View File

@ -3,7 +3,7 @@
# FileLog definition:
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
#
set terminal png size 1024,240 crop
set terminal png size 800,200 crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"

View File

@ -3,7 +3,7 @@
# FileLog definition:
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
#
set terminal png size 1024,240 crop
set terminal png size 800,200 crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"

View File

@ -0,0 +1,20 @@
#
# Display a piri log with multiple units logging into the same file
# define pirilog FileLog /var/log/piri-%Y-%m-%d.log piri.*
# The devices are called piri.sz, piri.flo, piri.flu, prir.wz1 and piri.wz2
#
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 title '<TL>'
set noytics
set yrange [-0.1:1.1]
plot\
"< awk '/sz/ {print $1, 0.8; }' <IN>" using 1:2 title 'sz' with points,\
"< awk '/flo/{print $1, 0.6; }' <IN>" using 1:2 title 'flo' with points,\
"< awk '/flu/{print $1, 0.4; }' <IN>" using 1:2 title 'flu' with points,\
"< awk '/wz1/{print $1, 0.2; }' <IN>" using 1:2 title 'wz1' with points,\
"< awk '/wz2/{print $1, 0.0; }' <IN>" using 1:2 title 'wz2' with points

View 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 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