Hi

I'm using owfs 2.7p5-3 on openwrt kamikaze 7.09 on an asus wl500g
deluxe to control my heating system with a python program.

I actually have between 10 to 15 temperature sensors to read and have
a performance problem.
Some sensors are powered some are not.
I'm using 2 hobby board hubs and would like to enable simultaneous
temperature reading for at least the one sensors that are powered.
owfs is a client of owserver which uses usb.

I found no documentation on this. On the web site doc, the
simultaneous section exists but is empty. I found a mailing list
archive that said: write 1 to /simultaneous/temperature then read the
temperature sensors normally.


My big problem I had: I don't have the /simultaneous directory when I
"ls" in the owfs directory. But when I do 'ls simultaneous', the dir
exists!

I also found out that there is a simultaneous dir on each "main" and
"aux" dirs for the hubs.

So I tried to do this (these are powered...)
 echo 1 > simultaneous/temperature;cat
1F.C4DC03000000/aux/28.C4027E010000/temperature;  cat
1F.C4DC03000000/aux/28.0D337E010000/temperature

the reading works but it is slow. the first write clears the cache.
I tried this

echo 1 > simultaneous/temperature;echo 1 >
1F.C4DC03000000/aux/simultaneous/temperature;cat
1F.C4DC03000000/aux/28.C4027E010000/temperature;  cat
1F.C4DC03000000/aux/28.0D337E010000/temperature

It is quite fast, but the temperature never changes. It is always the
cache value that is read, and it is NEVER updated.

Can someone tells me what is wrong?
Thanks

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to