> Am 22.02.2014 05:12, schrieb Robin Gilks: >> >> I've been using 100mS between DS2413 write and DS2438 read on the old >> Dallas s/w but even taking it up to 300mS I'm failing to read the >> correct >> value with owfs. >> > Do you have any DS2409 bus couplers inbetween? OWFS will turn the > switches *every time* you address a branch node. That takes some time.
No couplers - hanging off the bus are 16x DS2413 switches and 3x DS2438 battery monitors which are used for measuring the output of a current transformer and temperature. The 2413 operate valves on my irrigation system (32 channels), the current measurement makes sure the valves are all still intact and drawing the correct amount (makes sure the pump doesn't try to operate into a dead head) and the temperature sensors average shade and sky temperature to determine whether to operate the frost protection algorithm as required during spring. I've looked at the Dallas code again and its all working with that now having extended the serial input select timeout from 10mS to 50mS. That puts all my OWFS work onto the back burner as irrigation is critical for us here during summer (it was 33c here yesterday!!). In a couple of months I'll get back to it as it looks to be a much tidier solution :) Cheers -- Robin Gilks ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers