Stefano,
thanks for bringing pyownet to my attention. I definitely will try it out.
On 11/04/2015 03:56 PM, Stefano Miccoli wrote:
Minimal instruction for use are
>>>from pyownet import protocol
>>>owproxy = protocol.proxy(host="server.example.com
<http://server.example.com>", port=4304)
>>>owproxy.dir()
[u'/10.A7F1D92A82C8/', u'/05.D8FE434D9855/', u'/26.8CE2B3471711/']
>>>owproxy.read('/10.A7F1D92A82C8/temperature')
' 6.68422'
thanks for the *quick-kick-start*
The only thing you should be aware of is that creating an owproxy
object is quite time consuming, so usually you have a single owproxy
instance, shared globally.
I have several tasks writing independently to owfs. The tasks stay alive
and so I would have to create an owproxy only once during startup...
Would there be a drawback to that procedure?
Thanks for your input,
Martin
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers