diff --git a/www/gplot/SM_power_ac.gplot b/www/gplot/SM_power_ac.gplot new file mode 100644 index 000000000..adfe71dd9 --- /dev/null +++ b/www/gplot/SM_power_ac.gplot @@ -0,0 +1,23 @@ +set terminal png transparent size crop +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set title '' +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 "" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\ + "" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\ + "" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps diff --git a/www/gplot/SM_power_battery.gplot b/www/gplot/SM_power_battery.gplot new file mode 100644 index 000000000..2610010a1 --- /dev/null +++ b/www/gplot/SM_power_battery.gplot @@ -0,0 +1,27 @@ +set terminal png transparent size crop +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set title '' +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 "" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\ + "" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\ + "" using 1:2 axes x1y4 title 'Ladung' ls l3 lw 1.2 with lines,\ + "" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps diff --git a/www/gplot/SM_power_usb.gplot b/www/gplot/SM_power_usb.gplot new file mode 100644 index 000000000..3a50b0af7 --- /dev/null +++ b/www/gplot/SM_power_usb.gplot @@ -0,0 +1,23 @@ +set terminal png transparent size crop +set output '.png' +set xdata time +set timefmt "%Y-%m-%d_%H:%M:%S" +set xlabel " " +set title '' +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 "" using 1:2 axes x1y1 title 'Spannung' ls l0 lw 1.2 with lines,\ + "" using 1:2 axes x1y2 title 'Strom' ls l2 lw 1.2 with lines,\ + "" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps