Here is the script:

https://github.com/iinnovations/iicontrollibs/blob/master/cupid/owfslib.py

And the calling script (see line 123)

https://github.com/iinnovations/iicontrollibs/blob/master/cupid/updateio.py

Everything in the first script is debugged to not do anything except 
print the id of the sensor. I just added in ow.finish(), although it's 
unclear whether this is necessary from the docs. I figured that this is 
cleanup that might automatically occur when the first script terminates, 
but perhaps does not for some reason when it is called externally. It's 
not as if they are being run in a loop, and I've commented out the 
second calling function, so only one ow.init and sensor read occurs for 
each run of updateio.py.

Colin



On 3/28/2014 09:00, Michael Markstaller wrote:
> Which busmaster(s) and owfs-Version are you using?
>
> Michael
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to