Re: [Owfs-developers] Creating a Ruby ownet client

2007-02-10 Thread Peter Kropf
really busy the last couple of weeks... - Peter On 2/10/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > Hi Pedro, > > Peter Kropf wrote the python support and will be interested in your work, > I'm sure. You've been working very intensely. It may take more than 2 days >

Re: [Owfs-developers] OWFS Logo...where is it

2007-02-09 Thread Peter Kropf
Perhaps we want to run a logo design challenge? See if we can get some logos from different people and put the winner's name up in blinking lights on the web site ;-) - Peter On 2/9/07, Paul Alfille <[EMAIL PROTECTED]> wrote: Looks great to me! Can we use it? Paul Alfille On 2/9/07, Rob Con

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Peter Kropf
On 1/25/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > Peter, have you looked persistent tcp connections? The strategy is to set > the persistent bit in the SG parameter of the message, and if it is returned > set, keep the same file descriptor open for the next message. If the next > message fails,

Re: [Owfs-developers] owphp owfs-2.6p0 DS2408

2007-01-25 Thread Peter Kropf
Is he running owpython or owphp? Email seems to indicate owphp but I'm not entirely clear. - Peter On 1/25/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > I'm guessing it's the python interface, since owread and owhttpd seem happy. > > Perhaps we are reading the entire buffer, rather than "size" b

Re: [Owfs-developers] Temperature Sensor Rate of Change

2007-01-13 Thread Peter Kropf
eds, -55°C to +125°C. > >> Since the sprinklers trigger at around +82°C that should work fine. > >> But I'm concerned about being able to monitor temperature changes fast > >> enough to provide accurate monitoring. The two aspects of that are how > >> f

Re: [Owfs-developers] Temperature Sensor Rate of Change

2007-01-13 Thread Peter Kropf
ill you do with the information. > > > > Also, the description from the link mentions fire performers, fireworks, > > etc. > > The sprinkler must really have put a damper on the performance. > > > > Paul Alfille > > > > > > -Original Message-

Re: [Owfs-developers] Temperature Sensor Rate of Change

2007-01-13 Thread Peter Kropf
s under control and cleaned up. But the audience was great and supportive, most stayed to see the rest of the show. Here's a review from the San Francisco Chronicle: http://sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/01/12/DDGFUNGKMP1.DTL - Peter > Paul Alfille > > > -Original M

[Owfs-developers] Temperature Sensor Rate of Change

2007-01-13 Thread Peter Kropf
Hi - I'm looking to monitor the heat generated by some pyrotechnics on stage at a performance of Romeo & Juliet. There was a slight problem on opening night where the fire sprinkler over center stage went off. Too much heat generated from one of the fire effects. I was thinking of trying to use s

[Owfs-developers] Fwd: MacFUSE: FUSE for Mac OS X - Rmail

2007-01-12 Thread Peter Kropf
This came across my inbox this morning. Thought it might be of interest to the group. Anyone want to see about getting owfs working with it? Or I can add it to ever expanding list of things I'll get done someday ;-) - Peter -- Forwarded message -- From: Google Code - Updates <[E

Re: [Owfs-developers] owserver enhancement for faster directory listing.

2007-01-11 Thread Peter Kropf
I'll get to ownet.py but it'll be a couple of weeks. I've just got too many things going on at the same time. Sorry... - Peter On 1/10/07, Paul Alfille <[EMAIL PROTECTED]> wrote: > I've just committed to the CVS an enhancement to the owserver protocol: > msg_dirall. > > The old method, msg_dir,

Re: [Owfs-developers] New build

2006-12-28 Thread Peter Kropf
I've updated the Makefile.am for ownet/python. It should now install ownet in the python site-packages directory when make install is run... - Peter On 12/28/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > Ok, this evening. > > Can you help me with the configuration/Makefiles for the new ownet stu

Re: [Owfs-developers] What NAS devices are people running owfs on ? (Besides NSLU2)

2006-12-25 Thread Peter Kropf
I'm running some on an NSLU2, a kuro box (http://kurobox.com/) and I've got plans to get some running on a gumstix (http://www.gumstix.com/) but it'll be a bit before I get the time to work on the gumstix project... - Peter On 12/25/06, Rob Conway <[EMAIL PROTECTED]> wrote: > > > I am a very hap

Re: [Owfs-developers] Bug in ownet (python) with DS2409 ?

2006-12-24 Thread Peter Kropf
On 12/24/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > On 12/23/06, ziggy <[EMAIL PROTECTED]> wrote: > > > > I'm trying to work with the recently released ownet python classes > > (ownet-0.2). This is on an unslung Slug (6.8) if it matters. I am running >

Re: [Owfs-developers] Bug in ownet (python) with DS2409 ?

2006-12-24 Thread Peter Kropf
On 12/23/06, ziggy <[EMAIL PROTECTED]> wrote: > > I'm trying to work with the recently released ownet python classes > (ownet-0.2). This is on an unslung Slug (6.8) if it matters. I am running > into a problem when trying to traverse a 2409 swtich. Now, part of the > problem may be that I learni

Re: [Owfs-developers] PHP Class for OWServer

2006-12-24 Thread Peter Kropf
On 12/23/06, Chris <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The path: > > /usr/lib/python2.4/site-packages/ > > is the default packages path on Ubuntu (and probably just about every > other distro!) > > For Python 2.2 it is: > > /usr/lib/python2.2/site-packag

Re: [Owfs-developers] tcp protocol

2006-12-19 Thread Peter Kropf
Was this originally a problem with the Python ownet module? Or something else? It would be good to understand what you were originally trying to do and fix any problems that may exist in any of the ow code. - Peter On 12/19/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: > can anyone try it and c

Re: [Owfs-developers] Thanks

2006-12-12 Thread Peter Kropf
On 12/12/06, Matt <[EMAIL PROTECTED]> wrote: > I just though I take the time to to say thanks to the developers and support > contributors of OWFS. > > I work for a non-profit research institute and I've been able to implement > some cost effective environmental monitoring. > First our server room,

Re: [Owfs-developers] I can't build with alternate python 2.4.3

2006-12-06 Thread Peter Kropf
e up as no attribute. It could be that the check for the Python lib directory is snafu'd. Anyone who knows autoconf reasonably well want to chime in? - Peter On 12/6/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > Just to let you know, I ran > > ./configure --with-python=/opt/pyth

Re: [Owfs-developers] I can't build with alternate python 2.4.3

2006-12-06 Thread Peter Kropf
Just to let you know, I ran ./configure --with-python=/opt/python2.5/bin/python2.5 and it worked as expected. I don't think the problem is with 2.4.3 vs 2.5 but we'll have to dig a bit more into the configure script to figure out what's going on. - Peter On 12/6/06, Brad Clements <[EMAIL PROT

Re: [Owfs-developers] ownet - new python module to interact w/ owserver

2006-12-06 Thread Peter Kropf
w module to do the same. Poke at the code. See what works, what doesn't and try to break it. Let me know how things go... - Peter On 12/6/06, Chris Lyon <[EMAIL PROTECTED]> wrote: > Fantastic! Once I've got my linux box back on the wireless network > (Don't ask) I&

[Owfs-developers] ownet - new python module to interact w/ owserver

2006-12-05 Thread Peter Kropf
Hi - I've committed to CVS the first draft of a new python module called ownet. It allows for interaction with a remote owserver without the need to have the core ow libraries and servers built on the local system. The code is very much in an alpha state so expect things to break. And if they do,

Re: [Owfs-developers] owpython ... on Windows??

2006-12-05 Thread Peter Kropf
On 12/5/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > I like it. > > Should it completely replace owpython? The disadvantage is that it requires > owserver to be running. We could support both (with a different name). I don't think it should replace owpython. I like the idea of providing both so t

Re: [Owfs-developers] owpython ... on Windows??

2006-12-05 Thread Peter Kropf
On 12/5/06, chris <[EMAIL PROTECTED]> wrote: > On Tuesday 05 December 2006 06:19, Peter Kropf wrote: > > I was poking around the owserver protocol from Python > > is that with socket or are you using higher level modules? > can you show a demo script? And here's

Re: [Owfs-developers] owpython ... on Windows??

2006-12-05 Thread Peter Kropf
On 12/5/06, chris <[EMAIL PROTECTED]> wrote: > On Tuesday 05 December 2006 06:19, Peter Kropf wrote: > > I was poking around the owserver protocol from Python > > is that with socket or are you using higher level modules? > can you show a demo script? Here's the cod

Re: [Owfs-developers] owpython ... on Windows??

2006-12-04 Thread Peter Kropf
I was poking around the owserver protocol from Python to see if a simple standalone python module can be created that doesn't have any dependencies on the core ow libraries. I ran into a bit of a problem with the protocol that's being used. Here's a hex dump of the data that's returned when I reque

Re: [Owfs-developers] Problems compiling CVS

2006-12-04 Thread Peter Kropf
Can you provide some more details? Log file? What clashes with the zend headers? - Peter On 12/4/06, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote: > Well it would be better if owpython dependencies were better tested in the > autoconf script. I always get clashes with the zend headers. > > Pa

Re: [Owfs-developers] Could not open USB adapter.

2006-12-03 Thread Peter Kropf
On 12/3/06, chris <[EMAIL PROTECTED]> wrote: > On Saturday 02 December 2006 20:04, Peter Kropf wrote: > > hotplug & lsusb were already on my system so I followed this, and it worked! > I'm not sure what will happen on a restart but I have it working at last. > Than

Re: [Owfs-developers] Could not open USB adapter.

2006-12-02 Thread Peter Kropf
ROTECTED]> wrote: > There has been recent spate of interest ion this topic. See > http://www.owfs.org/index.php?page=217 for a great writeup > by Peter Kropf. The problem is that hardware access by non-root users is a > security risk, and so not allowed without explicit permission. P

Re: [Owfs-developers] is Peter Kropf still active?

2006-11-30 Thread Peter Kropf
On 11/30/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > On 11/26/06, Jerry Scharf <[EMAIL PROTECTED]> wrote: [--snip--] > > Second, I extended the program to set the error codes, thinking this > > might have something to do with the runaway code. I inserted > > ow

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
When you push this out to the web site, consider adding links from the hotplug and udev references on the permissions page... - Peter On 11/30/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > Attached is a new and improved description for setting up permissions via > udev. > >

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
some insight? And please try the instructions on different Linux distributions so we can work through any issues. - Peter On 11/30/06, Peter Kropf <[EMAIL PROTECTED]> wrote: Hold off on posting this. I'm having some troubles on a fedora core 6 system following the directions... - Pet

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
Hold off on posting this. I'm having some troubles on a fedora core 6 system following the directions... - Peter On 11/30/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > No problem. Attached is an outline for the same process using udev. > > - Peter > > > On 1

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
No problem. Attached is an outline for the same process using udev. - Peter On 11/30/06, Paul Alfille <[EMAIL PROTECTED]> wrote: See: http://www.owfs.org/index.php?page=hotplug Can I suggest a separate page for udev -- it would be less overwhelming. Paul Alfille On 11/30/06, Peter

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
otplug for 2.6 kernels as well as 2.4? > > Paul Alfille > > On 11/30/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: > > Am Donnerstag, 30. November 2006 20:03 schrieb Peter Kropf: > > > I've written up a preliminary guide to extending the hotplug subsystem &g

Re: [Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
On 11/30/06, Jan Kandziora <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 30. November 2006 20:03 schrieb Peter Kropf: > > I've written up a preliminary guide to extending the hotplug subsystem > > to automatically change the file owner and permissions on 1-Wire > >

Re: [Owfs-developers] is Peter Kropf still active?

2006-11-30 Thread Peter Kropf
On 11/30/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > I haven't tried using pdb w/ OW. I typically put in print statements > and run the code again. > > But I'll take a look into using pdb and try to find out what's going > on. I suspect that there's somet

[Owfs-developers] USB Device Access

2006-11-30 Thread Peter Kropf
Hi - I've been arguing with my 1-Wire USB controller once again and hopefully I'll win this time ;-) I generally run OW code from a non-root account to help prevent run away problems crashing or corrupting the system. Unfortunately, whenever a 1-Wire USB controller is connected to the system, ro

Re: [Owfs-developers] is Peter Kropf still active?

2006-11-30 Thread Peter Kropf
On 11/26/06, Jerry Scharf <[EMAIL PROTECTED]> wrote: > On the list it is. All the owfs code was pulled and built from CVS this > morning. python -V returns Python 2.4.3. I'm running on ubuntu 606 w/ > patches, amd64 processor. > > > The first thing I was trying to do is run my code in the debugger

Re: [Owfs-developers] is Peter Kropf still active?

2006-11-26 Thread Peter Kropf
On 11/26/06, Jerry Scharf <[EMAIL PROTECTED]> wrote: > (You can tell it's a weekend I finally got some time to work on things) > > I am trying to get owpython working and running into some issues. Unless > you're a python programmer, it will probably look close to line noise. > > Can you contact me

Re: [Owfs-developers] IRC

2006-11-17 Thread Peter Kropf
I tend to also agree. Having an IRC channel is yet another good way for the community to work together. - Peter On 11/17/06, Gregg Levine <[EMAIL PROTECTED]> wrote: > Hello! > I agree with the man wearing the alchemist's robe and hat. The IRC > sets are not designed to replace a list. Its design

Re: [Owfs-developers] OFF TOPIC

2006-10-18 Thread Peter Kropf
Um, isn't sqlite included with php now? See http://us3.php.net/sqlite I could be mistaken since I'm not all that versed with php... - Peter On 10/18/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: > hello guys i know that's an off topic, can anyone help me putting > sqlite3 under php? today only

Re: [Owfs-developers] Building on OS/X

2006-10-09 Thread Peter Kropf
OSX) let me know and I'll help getting things resolved. - Peter On 10/9/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > I modified ow_dir.c to use the NO_NESTED_FUNCTIONS macro instead of > the __MacOS__ macro. The change has been check into CVS. > > - Peter > > >

Re: [Owfs-developers] Building on OS/X

2006-10-09 Thread Peter Kropf
ood to me. I found extensive discussions about executable > stacks, trampolines, etc. > > Otherwise the CVS has a work-around for Mac in ow_dir.c using a mutex and > global variable. > > Paul Alfille > > > On 10/9/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > >

Re: [Owfs-developers] Building on OS/X

2006-10-08 Thread Peter Kropf
s are: > > 1. Write our own "twalk" > > 2. Use global variables and a mutex. > > > > I guess I'll do the later for the Mac. What's the "#define" for Mac? > > > > Paul > > > > > > > > On 10/8/06, Peter Kropf <

Re: [Owfs-developers] Building on OS/X

2006-10-07 Thread Peter Kropf
meone else gets there first ;-) - Peter On 10/7/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > I'll start looking into it tonight but I'm not going to be able to > spend too much time on it. Getting late here and I need to be up & out > early tomorrow morning. Wors

Re: [Owfs-developers] Building on OS/X

2006-10-07 Thread Peter Kropf
e since FUSE is not supported as far as I > know making shell access to the 1-wire bus is difficult. > > Paul Alfille > > > On 10/8/06, Peter Kropf <[EMAIL PROTECTED]> wrote: > > > > Hi - > > > > Due to the recent demise of my Thinkpad, I'm not workin

[Owfs-developers] Building on OS/X

2006-10-07 Thread Peter Kropf
Hi - Due to the recent demise of my Thinkpad, I'm not working on a MacBook Pro. Things here are different but still very similar. But pretty fun. I'm just getting around to building owfs for the first time on MacOSX and have run into a couple of problems. I would like to know if anyone else is us

Re: [Owfs-developers] PHP Library

2006-09-20 Thread Peter Kropf
On 9/19/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: > could we put in ./configure script to build owfs something like > --php-suffix=OW_ > > or something like it? > the default could be > ./configure --php-suffix= > if we want with OW_ we should use: > ./configure --php-suffix=OW_ > > :D i'm usin

Re: [Owfs-developers] OWFS Python Problem

2006-09-12 Thread Peter Kropf
Ok, I think I see what's going on. Give me a couple of days to work through some changes, I'll post them to CVS and let you know. (I'm cross posting to the OWFS developers list to keep everyone up to date...) - Peter On 9/12/06, Brad Clements <[EMAIL PROTECTED]> wrote: > Hi, > > I have just the

Re: [Owfs-developers] Linux Journal

2006-05-03 Thread Peter Kropf
Don't remember if I ever shared this with the group, but I wrote an article a while back for Pyzine on using owfs from Python to collect temperature data. Owfs was one piece of a larger system, but it was very easy to integrate with everything else. http://www.pyzine.com/Issue007/Section_Articles

Re: [Owfs-developers] owpython error

2006-01-16 Thread Peter Kropf
hat for every -L flag you use, you use an identical -R flag. the -R flag sets the RPATH, which is an LD_LIBRARY_PATH builtdirectly into the program itself. If you do not use -R flags, you mayneed to set a permanent LD_LIBRARY_PATH. "Hope that helps a bit. George BobeckOn 1/16/06, Peter Kr

Re: [Owfs-developers] owpython error

2006-01-16 Thread Peter Kropf
is enabledowtcl is DISABLEDI'll try installing from CVS again later tonight and see if that fixes the problem.George BobeckOn 1/15/06, Peter Kropf <[EMAIL PROTECTED]> wrote:> Hi George ->> I've encountered this problem when the core owfs library wasn't built / > in

Re: [Owfs-developers] owpython error

2006-01-15 Thread Peter Kropf
Hi George -I've encountered this problem when the core owfs library wasn't built / installed. Can you look at /opt/owfs/lib and let me know what's there?I've also done a fresh checkout of OWFS, built it and loaded the ow python module without any problems. Here' are the steps that I followed:     c

Re: [Owfs-developers] RE: I can`t compile the owfs

2006-01-15 Thread Peter Kropf
Can you check the version of automake that's being used? You look to have both 1.4 and 1.9 installed. Run:    automake --versionand check the version number. OWFS doesn't work with version 1.4. (I recently ran into this problem on one of my systems here...) If 1.4 is the default version, you have

Re: [Owfs-developers] Settings Test

2005-11-30 Thread Peter Kropf
11/30/2006 7:30 am San Jose, CA time. On 11/30/05, Gregg C Levine <[EMAIL PROTECTED]> wrote: > Hello from Gregg C Levine > I apologize for the test message. My ISP had a case of server game > playing during the previous several days, and I'm trying to sort out > how long it takes messages to reach

[Owfs-developers] Re: Re[2]: timeit

2005-08-07 Thread Peter Kropf
Hi Petr - I've had a busy weekend, sorry I didn't get back earlier... I've CC'd the OWFS list since the people there may have more insight into temperature reading rates and hot swaping 1-wire modules on the network. I'm not sure about the performance on reading temperature. For what I did on the

Re: [Owfs-developers] Accessing error_level and error_print from Python / Perl / PHP / TCL

2005-08-03 Thread Peter Kropf
gt; Very nice, but might this create problems in non-interactive programs? > > All the error messages are set in a common set of routines so we could alter > the > handling if it would help -- i.e. set a global variable with the error string. > > Paul > > > -Original M

[Owfs-developers] Accessing error_level and error_print from Python / Perl / PHP / TCL

2005-08-02 Thread Peter Kropf
I've modified modules/swig/ow.i to provide access to the error_level and error_print global variables. This was done so that direct access to owlib from the language bindings will be able to set the variables as appropiate. In the Python world, it can now be used as: [EMAIL PROTECTED]:/space/src/

Re: [Owfs-developers] Stiull updating?

2005-06-11 Thread Peter Kropf
ere's anything that we can do to fix the problem. Should I make a place for the update logs to be placed on shell.sf.net or on the owfs website? - Peter On 6/11/05, Peter Kropf <[EMAIL PROTECTED]> wrote: Well it looks like it's not updating. Looking though the log files, I see a lot

Re: [Owfs-developers] Stiull updating?

2005-06-11 Thread Peter Kropf
Well it looks like it's not updating. Looking though the log files, I see a lot of entries like: cvs [update aborted]: connect to cvs1(10.5.1.7):2401 failed: Connection refused cvs [log aborted]: connect to cvs1(10.5.1.7):2401 failed: Connection refused Let me see what's going on any why cvs1 isn

Re: [Owfs-developers] 1wire weather station v3

2005-06-07 Thread Peter Kropf
Hi Matt - If you decide to explore using Python for this project, consider that you can setup a dictionary (Python's hash table) with the key being a tuple of the A, B, C, D values for very easy lookup of the direction. Something like this: direction = {     (2, 4, 4, 4) : 'N',     (2, 4, 4, 0) :

Re: [Owfs-developers] 1-wire driver in recent Kernels

2005-05-24 Thread Peter Kropf
>From my experience, the kernel drivers aren't worth the effort to try to get working. Last time I looked at them, they were undocumented and there was no user mode code / library / examples that used them. The kernel drivers are also not compatable with OWFS. My suggestion is to not load them int

Re: [Owfs-developers] statcvs not working

2005-04-14 Thread Peter Kropf
So far, no response from the sf.net support team. But I did get a response from Chris Abbey on the Jikes team indicating that they're experiencing a similar problem. - Peter Peter Kropf wrote: > The log file for my statcvs and owfs_update (owfs docs) show that around > 50%

Re: [Owfs-developers] statcvs not working

2005-04-14 Thread Peter Kropf
The log file for my statcvs and owfs_update (owfs docs) show that around 50% of the time, accessing cvs1.sf.net from shell.sf.net fails. I'll throw an issue at the sf folks to see if they can let us know what's going on... - Peter Christian Magnusson wrote: > They seem to block the network traff