Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Jerry Scharf
On 03/30/2015 10:05 AM, Stefano Miccoli wrote: The only reason I can see is speed, and compatibility with (big) apps like cacti, nagios, or ganglia. S. On 30 Mar 2015, at 01:00, Colin Reese > wrote: Out of curiosity, why would you use this? Using a database with

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Stefano Miccoli
[Sorry if the discussion on RRD is off topic with respect to OWFS] I think that when you are collecting up to a few hundreds different metrics, sqlite + any scripting language + AJAX is fine (and probably the best option.) When you go into the range of 1k up to 100k different metrics, collected

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Colin Reese
Speed? Wrt what? Db reads/writes? Db queries are vanishingly small time wise, I've found, especially compared to the ajax POST or GET. To answer the OP's question, for graphing I use jqplot. This way my client does all the processing, and they can customize their plots on the fly rather than s

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Stefano Miccoli
The only reason I can see is speed, and compatibility with (big) apps like cacti, nagios, or ganglia. S. > On 30 Mar 2015, at 01:00, Colin Reese wrote: > > Out of curiosity, why would you use this? Using a database with accurate time > stamps and log sizing is trivial, and apis for beautiful

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Michael Kalist
HI Mick very easy to power them. Just want best way to make pretty graphs for temps of all items. Mike From: Mick Sulley [mailto:m...@sulley.info] Sent: Monday, March 30, 2015 9:42 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Temp Logging If

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Mick Sulley
C]" \ LINE1:garageRTN#FF:"Garage Return Temp [deg C]" *From:*Colin Reese [mailto:colin.re...@gmail.com] *Sent:* Sunday, March 29, 2015 5:00 PM *To:* OWFS (One-wire file system) discussion and help *Subject:* Re: [Owfs-developers] Temp Logging Out of curiosity, why would you u

Re: [Owfs-developers] Temp Logging

2015-03-30 Thread Michael Kalist
ly Temp [deg C]" \ LINE1:garageRTN#FF:"Garage Return Temp [deg C]" From: Colin Reese [mailto:colin.re...@gmail.com] Sent: Sunday, March 29, 2015 5:00 PM To: OWFS (One-wire file system) discussion and help Subject: Re: [Owfs-developers] Temp Logging Out of curiosity, why w

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Eloy Paris
On Mon, Mar 30, 2015 at 12:42:31AM +0200, Stefano Miccoli wrote: > > On 29 Mar 2015, at 15:32, mike.kal...@gmail.com wrote: > > > > rrdtool create house.rrd --start N --step 300 \DS:garageIN:GAUGE:600:U:U \ > > DS:garageRTN:GAUGE:600:U:U \ > > DS:bedroomIN:GAUGE:600:U:U \ > > DS:bedroomRTN:GAUGE:

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Colin Reese
Out of curiosity, why would you use this? Using a database with accurate time stamps and log sizing is trivial, and apis for beautiful html plots are easy to come by. C > On Mar 29, 2015, at 3:42 PM, Stefano Miccoli wrote: > > >> On 29 Mar 2015, at 15:32, mike.kal...@gmail.com wrote: >>

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Stefano Miccoli
> On 29 Mar 2015, at 15:32, mike.kal...@gmail.com wrote: > > rrdtool create house.rrd --start N --step 300 \DS:garageIN:GAUGE:600:U:U \ > DS:garageRTN:GAUGE:600:U:U \ > DS:bedroomIN:GAUGE:600:U:U \ > DS:bedroomRTN:GAUGE:600:U:U \ > DS:floorIN:GAUGE:600:U:U \ > DS:floorRTN:GAUGE:600:U:U \ > DS:wat

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Roland Franke
Kalist Sent: Sunday, March 29, 2015 4:53 PM To: 'OWFS (One-wire file system) discussion and help' Subject: Re: [Owfs-developers] Temp Logging Hi parasite power Takes about 1:23 seconds to complete From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Sunday, March

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Michael Kalist
Hi parasite power Takes about 1:23 seconds to complete From: Roland Franke [mailto:fl...@franke-prem.de] Sent: Sunday, March 29, 2015 8:52 AM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] Temp Logging Hello, > #!/bin/bash > # Read tempe

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Roland Franke
Hello, > #!/bin/bash > # Read temperature from sensor > temp1=`cat /mnt/owfs/uncached/Garage_In/temperature` > temp2=`cat /mnt/owfs/uncached/Garage_Return/temperature` > temp3=`cat /mnt/owfs/uncached/Bedroom_In/temperature` > temp4=`cat /mnt/owfs/uncached/Bedroom_Return/temperature` > temp5=`

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Colin Law
On 29 March 2015 at 15:34, Michael Kalist wrote: > Sorry I thought I had that included. > > > This parts displays on the screen correctly > echo -e Garage In $temp1"\n"Garage Return $temp2"\n""\n"Bedroom IN > $temp3"\n"Bedroom Return $temp4"\n""\n"Main Floor IN $temp5"\n"Main Floor > RTN $temp6"\n

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Michael Kalist
ot;\n"Basement Return $temp14"\n"\n""Mechanical Room $temp15"\n" I am not sure if the DB is being created correctly Or if is not updating I would like to show min , max, average , current -Original Message- From: Colin Law [mailto:clan...@gma

Re: [Owfs-developers] Temp Logging

2015-03-29 Thread Colin Law
On 29 March 2015 at 14:32, wrote: > Hey All I cant seem to get this working. Temps either show wrong temp or no > temp in graphs. The first thing to do is to work out which bit is failing. See below > ... > #!/bin/bash > > # Read temperature from sensor > > temp1=`cat /mnt/owfs/uncached/Garag