Hi all.

I found out that it does not work to set the host and port in the call 
to ownet.init() as in the following below.

import ownet
ownet.init('sid:9999')
a = ownet.Sensor('10BCC4C8000800')
print a.temperature
ownet.finish()

But after changing line 149 in _init_.py
from
self._connection = Connection(server, port)
to
self._connection = Connection(_server, int(_port))

It worked fine

Henrik

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to