On Friday, October 09, 2015 at 5:04 AM, "Loren Amelang" lo...@pacific.net wrote:
> I believe, and see on my scope, that OWFS only reads at 15-second intervals. That was true with the Ubuntu 12.04 version. I went back to the scope last night with a stopwatch app, and found my 14.04 version reads at intervals of 10.1 seconds. So much for counting seconds in my head. The best explanation of timing I've found is at: <http://owfs.org/index.php?page=what-is-uncached> ----- OWFS stores recent measurements, and only updates them every 15 seconds or so, unless you ask specifically for fresh ("uncached") measurement. A new measurement will (or new reading of device contents) will be made whenever: A reading from the "uncached" directory is requested. The old data has expired. Some obscure invalidating conditions (Requesting simultaneous conversion, writing single elements of aggregate data, ...) Basically, if you want the latest, read from "uncached". Data types Volatile Thing changed externally, like temperature, voltages, electrical contacts... 15 second default cache timeout ----- --> My 14.04 system adds two values to the example shown on that page: ha7 60 w1 30 No idea what ha7 is, but I assume w1 is a timeout for declaring that no response was received from the w1 mechanism, not a specification of how often to poll it for new temperatures. Apparently the Volatile = 15 second setting should control w1 reads. But my w1 reads the bus at 10.1 second intervals... I've never had any luck changing any of the settings with httpd. Whenever I change an httpd value, the new value shows for a second or so, and then it changes itself right back! The web page says, "The timeouts are read/writable values found under /settings/timeout/[volatile|stable|directory|presence]", but I can't find that path on my system. Closest hit is: /sys/devices/w1_bus_master1/w1_master_timeout Where is httpd getting those settings? Should they appear as "files" in the filesystem? Is there some other way for me to change them? And why doesn't my system seem to be following them? Sorry I'm so confused. This is why the BBB-OWFS project has been pretty much stuck for the past year. Loren | Loren Amelang | lo...@pacific.net | ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers