mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 02:44:53 +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:
parent
5fbd1b8050
commit
6ece026985
@ -4,16 +4,15 @@
|
|||||||
|
|
||||||
|
|
||||||
#=================
|
#=================
|
||||||
set terminal png size 1024,240 crop
|
set terminal png size 800,200 crop
|
||||||
set output '<OUT>.png'
|
set output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
set xlabel " "
|
set xlabel " "
|
||||||
|
|
||||||
set ytics nomirror
|
set ytics nomirror
|
||||||
set y2tics
|
|
||||||
set title '<TL>'
|
set title '<TL>'
|
||||||
set grid
|
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
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
# FileLog definition:
|
# FileLog definition:
|
||||||
# define FileLog fhtlog1 fht1:.*(temp|actuator).* /var/log/fht1-%Y-%U.log
|
# 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 output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
set xlabel " "
|
set xlabel " "
|
||||||
set ytics nomirror
|
set ytics nomirror
|
||||||
set y2tics
|
set y2tics
|
||||||
|
set ytics 1
|
||||||
set title '<TL>'
|
set title '<TL>'
|
||||||
set grid
|
set grid
|
||||||
|
|
||||||
|
@ -3,15 +3,14 @@
|
|||||||
# FileLog definition:
|
# FileLog definition:
|
||||||
# define FileLog fs20log fs20dev /var/log/fs20dev-%Y-%U.log
|
# 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 output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
set xlabel " "
|
set xlabel " "
|
||||||
set ytics nomirror
|
|
||||||
set title '<TL>'
|
set title '<TL>'
|
||||||
set grid
|
set noytics
|
||||||
set yrange [-0.2:1.2]
|
set yrange [-0.1:1.1]
|
||||||
|
|
||||||
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
|
plot "< awk '{print $1, $3==\"on\"? 1 : 0; }' <IN>"\
|
||||||
using 1:2 title 'On/Off' with steps
|
using 1:2 title 'On/Off' with steps
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# FileLog definition:
|
# FileLog definition:
|
||||||
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
|
# 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 output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# FileLog definition:
|
# FileLog definition:
|
||||||
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
|
# 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 output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# FileLog definition:
|
# FileLog definition:
|
||||||
# define FileLog ks300log ks300:.*H:.* /var/log/ks300-%Y-%U.log
|
# 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 output '<OUT>.png'
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||||
|
20
fhem/webfrontend/pgm2/mpiri.gplot
Normal file
20
fhem/webfrontend/pgm2/mpiri.gplot
Normal 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
|
17
fhem/webfrontend/pgm2/piri.gplot
Normal file
17
fhem/webfrontend/pgm2/piri.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 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
|
Loading…
x
Reference in New Issue
Block a user