On Thu, Jul 22, 2010 at 2:13 AM, Joshua J. Kugler <[email protected]>wrote:
>
>
> Also, I've noticed that the connection method (USB, HTTP, etc) is set at
> the module global level in the Python OW module. What is the
> recommended method for having some sensors on USB and some on HTTP or
> the like?
>
I can answer this part.
You really don't need to overthink the multiple bus masters use.
initialize with "-uall -d /dev/ttyS0 --HA7=192.168.12.34" or whatever and
all the devices will be available. the underlying code will figure out which
bus master they are on and send your request to the correct one. (Figuring
out which bus master is one of the reasons to have threading, the query
happens in parallel.)
You can address each bus master independently (use the bus.0/ bus.1/ ...
path to the device) but since 1-wire devices are inherently uniquely
labeled, it's not needed.
Paul Alfille
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers