> Yup, works great now. But, I'm still having trouble with reading
> temperatures from uncached/. Here is some debugging output from my perl
> code:
>
>          875=read("/bus.0/uncached/1D.529C01000000/counters.A")
>       4.6632,      4.6632,     3.21849,
> 3.21364=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>          876=read("/bus.0/uncached/1D.529C01000000/counters.A")
>      4.66437,     4.66202,     3.21239,
> 3.21771=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>          876=read("/bus.0/uncached/1D.529C01000000/counters.A")
>       4.6682,     4.65804,     3.21294,
> 3.21341=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>          876=read("/bus.0/uncached/1D.529C01000000/counters.A")
>      4.66241,     4.65726,       3.212,
> 3.2156=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
> Use of uninitialized value in concatenation (.) or string at ./owfsws.pl
> line 653.
> =read("/bus.0/uncached/10.57F408000800/temperature")
>      71.7125=read("/bus.0/uncached/1D.529C01000000/counters.A")
>          876=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>      4.66234,     4.65421,     3.21622,
> 3.21825=read("/bus.0/uncached/1D.529C01000000/counters.A")
>          876=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>       4.6614,     4.66054,     3.21692,
> 3.21177=read("/bus.0/uncached/1D.529C01000000/counters.A")
>          876=read("/bus.0/uncached/20.F8B700000000/volt.ALL")
>
> It looks like the read timed out or something, and then each subsequent
> read is off. If it matters, the temperature readings had been reading 185
> (wrongly) up until the misread.

I think I found the problem. I tried just about everything, but when I
started owserver with '--timeout_serial 20', all my problems seem to have
gone away for the devices that take a while to read, like the AAG
barometer and the temp sensors. I'll load the bus up with every device I
have and give it a try.

Tim

--
Tim Sailer
Coastal Internet, Inc.
www.buoy.com
631-399-2910


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to