Dnia 09-04-2011 o 13:21:35 Alex Shepherd <list...@ajsystems.co.nz> napisaĆ(a):
> Wow they look cool. > What are you doing to get the data into the RRD Database and how you get > it out and into the browser for then Dygraphs? DYgraphs get data from .csv format apart from writing to rrd I also write to few .csv files. You put them in /www data_s=`date +"%Y/%m/%d %H:%M"` echo "$data_s,${temp[2]},${temp[3]},${temp[5]},${temp[8]}" >> /www/dane1.csv2 (csv2 extension is because browser/server was giving cached version if the extension was .csv) and the file looks like this data,dwor,t1,t2,t3,t4,t5,t6,t7,t8 2011/01/21 04:02:09,-0.875,18.25,20,19.75,20,21.5,5.5,18.75,7.25,2.25,17.3125,15.25 2011/01/21 04:03:56,-0.875,18.25,20,19.75,20,21.5,5.5,18.5,7.5,2,17.25,15.25 Rrd was to complicated for me to set it up and record data from whole year.Csv is much easier and when I finally master rrd I can feed it with .csv data. -- p4trykx ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers