mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-13 03:05:34 +00:00
SYSMON: power (ac, usb, byttery) plots
git-svn-id: https://svn.fhem.de/fhem/trunk@6380 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0b7a82a9af
commit
92624bcd5f
23
fhem/www/gplot/SM_power_ac.gplot
Normal file
23
fhem/www/gplot/SM_power_ac.gplot
Normal file
@ -0,0 +1,23 @@
|
||||
set terminal png transparent size <SIZE> crop
|
||||
set output '<OUT>.png'
|
||||
set xdata time
|
||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||
set xlabel " "
|
||||
set title '<L1>'
|
||||
set ytics
|
||||
set y2tics
|
||||
set grid y2tics
|
||||
set ylabel "Spannung (V)"
|
||||
set y2label "Strom (mA)"
|
||||
set yrange [4.4:5.2]
|
||||
#set y2range [0:1000]
|
||||
set y3range [0:2]
|
||||
|
||||
#FileLog 6:power_ac_stat\x3a:0:
|
||||
# --- FileLog 7:power_ac_stat\x3a:0:$fld[6]/1000
|
||||
#FileLog 7:power_ac_stat\x3a:0:
|
||||
#FileLog 4:power_ac_stat\x3a:0:
|
||||
|
||||
plot "<IN>" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps
|
27
fhem/www/gplot/SM_power_battery.gplot
Normal file
27
fhem/www/gplot/SM_power_battery.gplot
Normal file
@ -0,0 +1,27 @@
|
||||
set terminal png transparent size <SIZE> crop
|
||||
set output '<OUT>.png'
|
||||
set xdata time
|
||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||
set xlabel " "
|
||||
set title '<L1>'
|
||||
set ytics
|
||||
set y2tics
|
||||
set grid y2tics
|
||||
set ylabel "Spannung (V)"
|
||||
set y2label "Strom (mA)"
|
||||
set yrange [4.4:5.2]
|
||||
#set y2range [0:1000]
|
||||
set y3range [0:2]
|
||||
set y3range [0:100]
|
||||
|
||||
#FileLog 6:power_battery_stat\x3a:0:
|
||||
# --- FileLog 7:power_battery_stat\x3a:0:$fld[6]/1000
|
||||
#FileLog 7:power_battery_stat\x3a:0:
|
||||
#FileLog 8:power_battery_stat\x3a:0:
|
||||
#FileLog 4:power_battery_stat\x3a:0:
|
||||
|
||||
|
||||
plot "<IN>" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y4 title 'Ladung' ls l3 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps
|
23
fhem/www/gplot/SM_power_usb.gplot
Normal file
23
fhem/www/gplot/SM_power_usb.gplot
Normal file
@ -0,0 +1,23 @@
|
||||
set terminal png transparent size <SIZE> crop
|
||||
set output '<OUT>.png'
|
||||
set xdata time
|
||||
set timefmt "%Y-%m-%d_%H:%M:%S"
|
||||
set xlabel " "
|
||||
set title '<L1>'
|
||||
set ytics
|
||||
set y2tics
|
||||
set grid y2tics
|
||||
set ylabel "Spannung (V)"
|
||||
set y2label "Strom (mA)"
|
||||
set yrange [4.4:5.2]
|
||||
#set y2range [0:1000]
|
||||
set y3range [0:2]
|
||||
|
||||
#FileLog 6:power_usb_stat\x3a:0:
|
||||
# --- FileLog 7:power_usb_stat\x3a:0:$fld[6]/1000
|
||||
#FileLog 7:power_usb_stat\x3a:0:
|
||||
#FileLog 4:power_usb_stat\x3a:0:
|
||||
|
||||
plot "<IN>" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\
|
||||
"<IN>" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps
|
Loading…
x
Reference in New Issue
Block a user