Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-04-02 Thread Matt
Nope, via usb on Debian or usb on a NSLU (2.6p3, I upgraded it.) , one of DS2423 devices does not appear. For the device which is discovered, one difference is that with Debian+USB, I can read the counter via python, using the NSLU I cannot. On Debian+Serial, I can see and read both devices. Ha

Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-29 Thread Ziggy
At the risk of posting one of those useless 'it works for me' messages, I don't experience the same problem on my unslung NSLU2. I'm using a hub, so maybe that comes into play, but I've no idea how it would. I've included the output from my python invocation, and the installed versions of some of t

Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-29 Thread Matt
'counters_A' works fine with these devices on Debian Etch + owserver v2.6p0 + serial. Using NSLU +owserver 2.6p2 + usb, only one of the counter devices appears on the bus and I'm not able to read the counter attribute via python. I'll try the usb on Debian to see if it a usb thing Thanks

Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-26 Thread Paul Davis
Try: print getattr(s,'counters_A') or print s.counters_A Periods in attribute names get replaced by underscores in ownet. Not sure where (if) it's documented, perhaps in the source someplace, but that's the rule. Paul On Mar 25, 2007, at 6:29 AM, Matt wrote: > > Well spotted and I briefly h

Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-25 Thread Matt
Well spotted and I briefly hoped that would be be the answer, but sadly not so. The python example, does use the wrong ID but even with the correct ID it fails. Interestingly 1D.43810100 has vanish from the bus. George M. Zouganelis wrote: > it may sound sily, but in your examples you are

Re: [Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-25 Thread George M. Zouganelis
it may sound sily, but in your examples you are reading a different counter-chip in each case. Is it ok ? Matt wrote on 25/3/2007 11:41: Hi all, I'm tinkering around with ownet in python (which I like very much, bravo), and I have a situation I don't understand. I'm trying to read a rain gau

[Owfs-developers] python, ownet, nlsu2, and owshell utils

2007-03-25 Thread Matt
Hi all, I'm tinkering around with ownet in python (which I like very much, bravo), and I have a situation I don't understand. I'm trying to read a rain gauge which is a counter, connected via usb to a nslu2 (owserver 2.6p2) From a Debian Etch machine (owread 2.6p0) /opt/owfs/bin/owdir -s 10