Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-13 Thread Marcus Priesch
Am Montag, den 13.12.2010, 09:43 -0900 schrieb Joshua J. Kugler: > There is also OW Python where you can access your sensors directly with > Python, instead of reading off the file system. > > import ow > ow.init() # where val is 'u' for USB, or the server address > sensor = ow.Sensor('/path/to/s

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-13 Thread Joshua J. Kugler
On Monday 13 December 2010, Norman Elliott elucidated thus: > On 13 December 2010 18:43, Joshua J. Kugler wrote: > > On Saturday 11 December 2010, Chris G elucidated thus: > > > On Sat, Dec 11, 2010 at 08:38:37PM +, Norman Elliott wrote: > > > > #!/usr/bin/python > > > > import os > > > > >

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-13 Thread Norman Elliott
On 13 December 2010 18:43, Joshua J. Kugler wrote: > On Saturday 11 December 2010, Chris G elucidated thus: > > On Sat, Dec 11, 2010 at 08:38:37PM +, Norman Elliott wrote: > > > #!/usr/bin/python > > > import os > > > > > > basedir = "/mnt/1-wire" # or where you have told owfs to mount > >

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-13 Thread Joshua J. Kugler
On Saturday 11 December 2010, Chris G elucidated thus: > On Sat, Dec 11, 2010 at 08:38:37PM +, Norman Elliott wrote: > > #!/usr/bin/python > > import os > > > > basedir = "/mnt/1-wire" # or where you have told owfs to mount > > your ibutton m = 0 > > counter = 2047 > > while m <= counter:

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-13 Thread Chris G
On Sun, Dec 12, 2010 at 12:57:47PM -0500, Eloy Paris wrote: > Hi Chris, > > On 12/10/2010 05:08 PM, Chris G wrote: > > > OK, thanks for the clarification. I hadn't quite got my mind round the > > fact that some of the owfs 'bits' are server processes and some are > > clients. Once I'd got past

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-12 Thread Eloy Paris
Hi Chris, On 12/10/2010 05:08 PM, Chris G wrote: > OK, thanks for the clarification. I hadn't quite got my mind round the > fact that some of the owfs 'bits' are server processes and some are > clients. Once I'd got past that I realised that I can run owhttpd with > almost the same paramters a

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-11 Thread Chris G
On Sat, Dec 11, 2010 at 08:38:37PM +, Norman Elliott wrote: >Yes, I'd already done that, I was trying to work out what extra the > > other things would give me. > -- > >If you look in the /mnt/1-wire/ directory you will see various other >directories. > >I have a

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-11 Thread Norman Elliott
Yes, I'd already done that, I was trying to work out what extra the > other things would give me. > > -- > If you look in the /mnt/1-wire/ directory you will see various other directories. I have a DS1921 ibutton which is a thermochron. The data it holds will be in a directory beginning 21xxx

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-10 Thread Chris G
On Fri, Dec 10, 2010 at 04:06:33PM -0500, Eloy Paris wrote: > On 12/10/2010 03:45 PM, Chris G wrote: > > > I have my owfs server running with USB master device:- > > > > /opt/owfs/bin/owfs -u -m /mnt/1-wire/ > > > > This works fine and creates appropriate directories in /mnt/1-wire/ > > where

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-10 Thread Chris G
On Fri, Dec 10, 2010 at 04:01:37PM -0500, Eloy Paris wrote: > Hi Chris, > > On 12/10/2010 03:45 PM, Chris G wrote: > > > I have my owfs server running with USB master device:- > > > > /opt/owfs/bin/owfs -u -m /mnt/1-wire/ > > > > This works fine and creates appropriate directories in /mnt/1-

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-10 Thread Eloy Paris
On 12/10/2010 03:45 PM, Chris G wrote: > I have my owfs server running with USB master device:- > > /opt/owfs/bin/owfs -u -m /mnt/1-wire/ > > This works fine and creates appropriate directories in /mnt/1-wire/ > where I can see the data from my temperature sensors. > > How then do I use owdir

Re: [Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-10 Thread Eloy Paris
Hi Chris, On 12/10/2010 03:45 PM, Chris G wrote: > I have my owfs server running with USB master device:- > > /opt/owfs/bin/owfs -u -m /mnt/1-wire/ > > This works fine and creates appropriate directories in /mnt/1-wire/ > where I can see the data from my temperature sensors. > > How then do

[Owfs-developers] HOw to use owdir, owread, etc.?

2010-12-10 Thread Chris G
I have my owfs server running with USB master device:- /opt/owfs/bin/owfs -u -m /mnt/1-wire/ This works fine and creates appropriate directories in /mnt/1-wire/ where I can see the data from my temperature sensors. How then do I use owdir, owread, etc. to actually read the data? They seem t