Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread David Torrey
I downloaded 2.4p8, and it compiles just fine. However, I found a few issues: 1) The DS2408 I use to monitor zone valves doesn't read reliably any more. The behavior is that various inputs appear stuck on when they had really turned off. Going back to 1.0p0 (yes, that's what I had still been

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
Let's attack the barometer first.Just tested it -- works here. I'm uploading a version with more error reporting. Can you pull it off the CVS?Paul AlfilleOn 8/15/06, David Torrey [EMAIL PROTECTED] wrote: I downloaded 2.4p8, and it compiles just fine.However, I found a fewissues:1) The DS2408 I

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
Concerning the switches, perhaps syntax has changed since 1.0 (if so, I appologize).I assume you are reading uncached/29./sensed.y (y=0-7,BYTE,ALL)PaulOn 8/15/06, David Torrey [EMAIL PROTECTED] wrote: I downloaded 2.4p8, and it compiles just fine.However, I found a fewissues:1) The DS2408 I

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread David Torrey
Actually, with 1.0, I found reading the latch was more reliable. The topology is also a bit more complicated -- there's a hub in the middle: /tmp/1wire/uncached/1F.63CE0200/aux/29.0708: cat sensed.ALL 1,1,1,1,1,1,1,1 cat latch.ALL 0,0,0,0,0,0,0,0 That was under 2.4p8. And right

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
One thought on the barometer: I try to configure the barometer by parsing the EPROM data of the DS2406. With only one sample, it's possible that I didn't cover all configurations. Can you post the contents of your DS2406's EPROM (memory or page.0 and page.1)I should make that an open invitation

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread David Torrey
od -x memory 000 aa0f 0100 3538 3037 0100 0001 020 46ee 040 1209 98dd 003b 005a 9241 060 The bytes looked swapped versus yours. I attached an error log from startup and one attempt

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
I think od is reversing the bytes. The data is fine, otherwise.I assume you are using a DS2409 hub. Let me test the barometer with that.Paul AlfilleOn 8/15/06, David Torrey [EMAIL PROTECTED] wrote: od -x memory000 aa0f 0100 3538 3037 0100 0001020 46ee

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
Works for me, even with hub.You know that only one of the DS2406's will show dataExample script:[EMAIL PROTECTED]:~/owfs for h in 1wire/uncached/1F.* ; do for b in aux main ; do for s in $h/$b/12.*/TAI8570/* ; do echo $s is `cat $s` ; done ; done ; done cat:

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
David,Do I link in all the mDNSResponder code to my application, or is there another way to publish my program?Paul AlfilleOn 8/15/06, Paul Alfille [EMAIL PROTECTED] wrote: Works for me, even with hub.You know that only one of the DS2406's will show dataExample script:[EMAIL PROTECTED]:~/owfs for

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Gregg Levine
Hello! Paul, I've been following this discussion for while and one or two things come to mind. One is the obvious, how are these DS2406s used inside that thing? And the one now, how is this DS2409 configured and wired? Did you solder the thing down to a board from one of three (or four) suppliers?

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Dave Torrey
I'm going to try moving it somewhere else and see if it works. Odd that I can read it by pumping bits manually, though. Neither device reports values for anything in the TAI8570 directory, though. Nothing in the error log looks suspicious? Thanks, Dave On Tue, 2006-08-15 at 21:02 -0400, Paul

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Paul Alfille
Can you try with error_level=9. A lot of the chatter we want will come from that.PaulOn 8/15/06, Dave Torrey [EMAIL PROTECTED] wrote:I'm going to try moving it somewhere else and see if it works.Odd that I can read it by pumping bits manually, though.Neither device reportsvalues for anything in

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Dave Torrey
Nope, no go on moving it: {21}/tmp/1wire/12.1D9C3B00 cat TAI8570/* cat: TAI8570/pressure: No such file or directory cat: TAI8570/sibling: No such file or directory cat: TAI8570/temperature: No such file or directory {22}/tmp/1wire/12.1D9C3B00 cd ../12.DD983B00/

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Dave Torrey
Ah. The hidden Spinal Tap setting. I see something about trouble reading the constants. unique: 36, opcode: LOOKUP (1), nodeid: 4, insize: 49 LOOKUP /uncached/12.1D9C3B00/TAI8570/pressure CALL: FSTAT path=/uncached/12.1D9C3B00/TAI8570/pressure CALL: PARSENAME

Re: [Owfs-developers] Barometric Pressure (TAI8570) support

2006-08-15 Thread Dave Torrey
And here's the other device. Out of curiosity, which device should give readings in TAI8570? The one with power=1 or power=0? I notice one device has a memory file with pertinent information in it, while the other does not: od -x memory 000 * 200

[Owfs-developers] Barometric Pressure (TAI8570) support

2006-07-27 Thread Paul Alfille
Thanks to the permission and kind assistance of Aitor Arrieta of AAG Electronica (aag.com.mx) and Dr. Simon Melhuish (http://oww.sf.net) we have full support for the DS2406-based TAI8570. It's a bit of a funny device, it uses 2 DS2406s that synthesize 3-wire communication with a MS5534 pressure