[Owfs-developers] pyowfs - is is possible to close Connection?

2010-08-10 Thread Petr Jakeš
Hi, what is the recommended way to periodically search the 1-Wire bus for the presence of new device? I mean iButtons are connected to the bus randomly (on occasion). If I while 1: root = Connection(oneWireAdapter) s = root.find(type=iButtonType)[0]

[Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-10 Thread Petr Jakeš
Hi, my previous post was sent incomplete by accident, sorry. I would like to know what is the recommended way to periodically search the 1-Wire bus for the presence of new devices? I mean iButtons, for example, are connected to the bus randomly (on occasion). If I do: from pyowfs import

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-10 Thread Peter Radcliffe
Petr Jake?? petr.ja...@tpc.cz probably said: Hi, my previous post was sent incomplete by accident, sorry. I would like to know what is the recommended way to periodically search the 1-Wire bus for the presence of new devices? I mean iButtons, for example, are connected to the bus randomly (on

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-10 Thread Peter Radcliffe
Petr Jake?? petr.ja...@tpc.cz probably said: 1. If I create the root before the infinite loop, then the DS2401 device is detected ONLY when present on (connected to) the bus during the time of the instantiation of the root object - if DS2401 disconnected the root.find method (running

Re: [Owfs-developers] pyowfs - is is possible to close Connection? my previous post was sent incomplete by accident, sorry.

2010-08-10 Thread Petr Jakeš
I don't think pyowfs is intended to be used that way. Sounds like you need something different. Hmmm... thanks for the hint. maybe I can just mount the OWFS and go through its directory structure from the Python. P.

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Jim Kusznir
The attached patch file did the job, I recommend it be applied to the main branch! Thanks! (Sorry for the delay; I lost my dev platform for a while; just got it back up) --Jim On Tue, Aug 3, 2010 at 10:19 PM, Joshua J. Kugler jos...@azariah.com wrote: On Saturday 31 July 2010, Paul Alfille

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Joshua J. Kugler
On Tuesday 10 August 2010, Jim Kusznir elucidated thus: The attached patch file did the job, I recommend it be applied to the main branch! erm...no patch file attached. :) j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com -

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Joshua J. Kugler
On Tuesday 10 August 2010, Joshua J. Kugler elucidated thus: On Tuesday 10 August 2010, Jim Kusznir elucidated thus: The attached patch file did the job, I recommend it be applied to the main branch! erm...no patch file attached. :) j Oh! You mean the file *I* attached to my e-mail.

Re: [Owfs-developers] How can i get a slave serial number allocated?

2010-08-10 Thread Michael Markstaller
Am Sonntag, den 21.02.2010, 08:15 +0200 schrieb tmk: Well, first I have to give it capabilities. Right now it just does the ROM commands. It should be straightforward to expose most of the AVR functionality (pwm, adc, pio, counter) or user defined stuff. Oh, I'd *love* an AVR 1-Wire