pyownet: ver. 0.8.2
proxy_obj: ownet server at ('10.48.74.112', 4304)
server info: pid 2662, ver. unknown
timeit:
statement: proxy_obj.dir("/")
number: 20
repetitions: 5
** non persistent : 1.29 ms, 1.30 ms, 1.30 ms, 1.33 ms, 1.36 ms,
** persistent : 0.77 ms, 0.77 ms, 0.79 ms, 0.80 ms, 0.97 ms,
timeit:
statement: proxy_obj.read("/26.xxxxxxxxxxxx/temperature")
number: 20
repetitions: 5
** non persistent : 1.14 ms, 1.16 ms, 1.16 ms, 1.19 ms, 1.40 ms,
** persistent : 0.63 ms, 0.64 ms, 0.66 ms, 0.95 ms, 0.98 ms,
that performance looks very good!
Since I use the "simultaneous" function with all sensors powered, it
would result to the same speed, once the temperatures are converted.
I am curious if there is a feedback from owserver, when conversion is
done? I will have to investigate...
And for switching outputs the speed should be also magnitudes faster
than I need it!
I use the 1wire system to drive our heating system, consisting out of a
wood burning oven, which is heating water up to 95 degrees and being
pumped into two 800l buffer-tanks.
From there we have two circuits with water-mixers connected to 1wire
2408. One circuit is a couple of radiators and the other one is floor
heating.
I am reading 25 temp-sensors every 30 seconds.
There is one task controlling pump and mixer for the radiators and
another one for the floor heating.
Another task is switching an output every second as kind of an alive beacon
here is a screenshot
<http://www.directupload.net/file/d/4162/2nkxmxun_png.htm> of the HMI
which of course is work in progress ;o) It is based on SVG widgets
converted into XHTML and java-script which is done with HMI-Builder
<http://mblogic.sourceforge.net/hmiserver/hmi/hmibuilder/hmibuilder.html>
It grew over the years. The latest addition is the second buffer-tank,
which has a built-in stainless steel tubing, that is heating our
drinking water. It also has connection to hook up solar thermal
collectors and heat water in the summer month. But that is a future project.
For doing the necessary changes I just have to find a way to simulate
the bus with owserver - I read some time ago that there is a possibility
to do this.
I cannot test on our live system of course. Maybe I have to wait for the
spring...
It was easy to do this with the fuse filesystem. I just copied the live
1wire directory and use the copy. I have a flag, when I am running a
simulated bus, and when writing the PIO.bit I write the sensed.BYTE and
the sensed.BIT accordingly.
Stefano, thanks for the data and your advise,
Martin
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers