From ddea80738a1b04abf202f353f01916abc001d55c Mon Sep 17 00:00:00 2001 From: hexenmeister Date: Thu, 14 May 2015 17:33:07 +0000 Subject: [PATCH] SYSMON-Plots: some improvements git-svn-id: https://svn.fhem.de/fhem/trunk@8578 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/gplot/SM_CPUTemp.gplot | 2 +- fhem/www/gplot/SM_power_ac.gplot | 5 ++++- fhem/www/gplot/SM_power_battery.gplot | 11 +++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/fhem/www/gplot/SM_CPUTemp.gplot b/fhem/www/gplot/SM_CPUTemp.gplot index 9006529da..6c3dd1c6a 100644 --- a/fhem/www/gplot/SM_CPUTemp.gplot +++ b/fhem/www/gplot/SM_CPUTemp.gplot @@ -14,7 +14,7 @@ set xdata time set timefmt "%Y-%m-%d_%H:%M:%S" set xlabel " " set ytics -set yrange [650:950] +set yrange [450:1050] set y2tics set title '' set grid xtics y2tics diff --git a/fhem/www/gplot/SM_power_ac.gplot b/fhem/www/gplot/SM_power_ac.gplot index adfe71dd9..db079f580 100644 --- a/fhem/www/gplot/SM_power_ac.gplot +++ b/fhem/www/gplot/SM_power_ac.gplot @@ -6,11 +6,14 @@ set xlabel " " set title '' set ytics set y2tics +set y3tics ("on" 1, "off" 0) set grid y2tics set ylabel "Spannung (V)" set y2label "Strom (mA)" +set y3label "" set yrange [4.4:5.2] -#set y2range [0:1000] +#set yrange [-0.1:5.2] +set y2range [0:1000] set y3range [0:2] #FileLog 6:power_ac_stat\x3a:0: diff --git a/fhem/www/gplot/SM_power_battery.gplot b/fhem/www/gplot/SM_power_battery.gplot index 2610010a1..50f3fbac5 100644 --- a/fhem/www/gplot/SM_power_battery.gplot +++ b/fhem/www/gplot/SM_power_battery.gplot @@ -6,13 +6,16 @@ set xlabel " " set title '' set ytics set y2tics +set y3tics ("on" 1, "off" 0) set grid y2tics set ylabel "Spannung (V)" set y2label "Strom (mA)" -set yrange [4.4:5.2] -#set y2range [0:1000] +set y3label "" +set y4label "Ladung" +set yrange [3.0:5.2] +set y2range [-5:1000] set y3range [0:2] -set y3range [0:100] +set y4range [0:105] #FileLog 6:power_battery_stat\x3a:0: # --- FileLog 7:power_battery_stat\x3a:0:$fld[6]/1000 @@ -23,5 +26,5 @@ set y3range [0:100] 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 x1y4 title 'Ladung' ls l3 lw 1.8 with lines,\ "" using 1:2 axes x1y3 title 'Online' ls l1fill lw 0 with steps