Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread Jan Kandziora
Am 13.03.20 um 17:05 schrieb zeitvertreib.wiss...@web.de: > Hello Jan, > I'm sorry, you are right. > I do not use bash commands, I do read and write operations from a Python3 > program. I do it step by step, as I'm not used to Python. > I had a version with uncached, but there was another program e

Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread Martin Patzak
You are most welcome Heimo. I am not Stefano, I am Martin - sorry for the misunderstanding. Stefano is the author of pyownet. In my software I use python 2.7 and I have very consistent timing of reading 25 sensors in a loop every 30 seconds. Every second I read the status of two 8 bit I/O modules

Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread Martin Patzak
Hello Heimo, after writing to "simultaneous" you have to wait one second. For Python I would recommend you the library *pyownet *by Stefano Miccoli: > The official OWFS bindings are > > - OW.py, based on SWIG wrapping the C API of libow > - ownet.py, pure python owserver client > > you will fin

Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread zeitvertreib . wissing
Hello Jan,   I'm sorry, you are right. I do not use bash commands, I do read and write operations from a Python3 program. I do it step by step, as I'm not used to Python. I had a version with uncached, but there was another program error and I forgot adjusting the file path.   PATH = "/mnt/1

Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread Jan Kandziora
Am 13.03.20 um 15:12 schrieb hwissing: > Hello, > > I think one issue from the primary question is not answered.. > > /" If I read from '/temperature' then I get them read in much faster > *but I don't get a fresh conversion each time."*/ > This is a very old question, and the mechanism has changed

Re: [Owfs-developers] How to Use Simultaneous

2020-03-13 Thread hwissing
Hello, I think one issue from the primary question is not answered.. /" If I read from '/temperature' then I get them read in much faster *but I don't get a fresh conversion each time."*/ I have the same issue. First conversion with 8 DS18B20 sensors takes about 1 sec, immediately following re