Changeset 6644364 for de.wigbels.ruby/hothotread
- Timestamp:
- 01/05/2016 10:13:29 AM (9 years ago)
- Branches:
- master
- Children:
- 20d3261
- Parents:
- 7fbafc7
- Location:
- de.wigbels.ruby/hothotread
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
de.wigbels.ruby/hothotread/draw_graphs.sh
r7fbafc7 r6644364 1 1 #!/bin/bash 2 2 3 rrdtool graph web/gas_3hour.png -s 'now - 3 hour' -e 'now' DEF:consum=gasneu.rrd:consum:AVERAGE CDEF:conph=consum,3600,* CDEF:conpd=conph,24,* VDEF:gastotal=conpd,AVERAGE GPRINT:gastotal:"Total %4.2lf m³/d" LINE2:conph#c17d11:m³/h 4 rrdtool graph web/gas_6hour.png -s 'now - 6 hour' -e 'now' DEF:consum=gasneu.rrd:consum:AVERAGE CDEF:conph=consum,3600,* CDEF:conpd=conph,24,* VDEF:gastotal=conpd,AVERAGE GPRINT:gastotal:"Total %4.2lf m³/d" LINE2:conph#c17d11:m³/h 5 rrdtool graph web/gas_12hour.png -s 'now - 12 hour' -e 'now' DEF:consum=gasneu.rrd:consum:AVERAGE CDEF:conph=consum,3600,* CDEF:conpd=conph,24,* VDEF:gastotal=conpd,AVERAGE GPRINT:gastotal:"Total %4.2lf m³/d" LINE2:conph#c17d11:m³/h 3 6 rrdtool graph web/gas_1tag.png -s 'now - 1 day' -e 'now' DEF:consum=gasneu.rrd:consum:AVERAGE CDEF:conph=consum,3600,* CDEF:conpd=conph,24,* VDEF:gastotal=conpd,AVERAGE GPRINT:gastotal:"Total %4.2lf m³/d" LINE2:conph#c17d11:m³/h 4 7 rrdtool graph web/gas_1week.png -s 'now - 1 week' -e 'now' DEF:consum=gasneu.rrd:consum:AVERAGE CDEF:conpd=consum,3600,*,24,* LINE2:conpd#c17d11:m³/h … … 10 13 11 14 15 rrdtool graph web/consum_3hour.png -s 'now -3 hour' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 16 rrdtool graph web/consum_6hour.png -s 'now -6 hour' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 17 rrdtool graph web/consum_12hour.png -s 'now -12 hour' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 12 18 rrdtool graph web/consum_1day.png -s 'now -1 day' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" 13 19 rrdtool graph web/consum_1week.png -s 'now -1 week' -e 'now' -Y -A DEF:consum=power.rrd:consum:AVERAGE LINE2:consum#00FF00:"Verbrauch [W]" -
de.wigbels.ruby/hothotread/web/index.html
r7fbafc7 r6644364 7 7 8 8 <h2>Gas</h2> 9 <img src="gas_3hour.png"> 10 <img src="gas_6hour.png"> 11 <img src="gas_12hour.png"> 9 12 <img src="gas_1tag.png"> 10 13 <img src="gas_1week.png"> … … 15 18 16 19 <h2>Strom</h2> 20 <img src="consum_3hour.png"> 21 <img src="consum_6hour.png"> 22 <img src="consum_12hour.png"> 17 23 <img src="consum_1day.png"> 18 24 <img src="consum_1week.png">
Note:
See TracChangeset
for help on using the changeset viewer.