OK I've done more testing, owhttpd was running and a web page open, I
closed that and killed owttpd but it didn't seem to make any difference.
From what you write it seems there's another process accessing the
sensors concurrently. Maybe a kernel driver? Check that first.
I don't think there is anything else accessing them, lsmod|grep w1
returned nothing but beyond that I don't know how to find out.
I just tried running a shell script
owwrite /simultaneous/temperature 1
sleep 1s
owread /uncached/Temp19/latesttemp
owread /uncached/Temp20/latesttemp
owread /uncached/Temp21/latesttemp
owread /uncached/Temp22/latesttemp
owread /uncached/Temp23/latesttemp
owread /uncached/Temp25/latesttemp
owread /uncached/Temp26/latesttemp
owread /uncached/Temp27/latesttemp
owread /uncached/Temp29/latesttemp
echo
echo 'Time ' $SECONDS
I ran it repeatedly, it mostly takes 1 to 2 seconds, but after around 40
runs there is one that takes around 9 seconds.
I also ran some tests with Python code and more sensors, again it looks
to be working fine, but every 110 seconds or so it takes about 4 times
as long to read. I looked at the timeout settings but the only one
close to that was presence at 120, so I changed that to 10 and it made
no difference, so it is not that. Any ideas?
Thanks for your help guys, much appreciated.
Mick
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers