Jim Duda wrote:
Gaetan,

My understanding of owfs is that it would disconnect the slow speed
of the one-wire bus from misterhouse.  The OW::get and puts should
be fast and the owfserver would handle the bus at bus speed in the
background.

For example, a get ( path/temperature ) might be stale, but not that
stale.

Are you telling me if I attempted a scan of 9 items inside
MH using OW::get, you would expect MH to stall?
  

No really, but if there is anything with owfs, and it never got back correctly,
then misterhouse will hang waiting for the data. It's only precaution.
I try to put outside misterhouse any device that doesn't require realtime
and use misterhouse to manage the result.

I do the same thing with webcam, VOCP etc.  Misterhouse react only if a change occurs,
and don't manage anything.
Jim


"Gaetan Lord" <misterhouse@gaetanlord.ca> wrote in message 
news:442D9AD1.5060804@gaetanlord.ca...
  
Jim

I do have the Hobby-board hub, and many sensors  (9) in star 
configuration.
You will notice that to scan all of them, it take quite a long time.

The way I end up doing it, is the following.

I have a cron job running every 5 minutes and collecting iButtons data.
I  use OW::get to collect the data and put in a file.

Then every 5 seconds, inside Misterhouse, I check if the iButton data file
was changed. If so, I parse the file to get the new data.

This way, no matter what happens with Ibutton collection, it doesn't hang
misterhouse. Probably a workaround is to run a mh proxy for this. I rather 
prefer
the other way.



Jim Duda wrote:
    
I've recently purchased a bunch of one-wire sensors from hobby-boards. 
I'm in the process
of deploying temperature sensors through my house, using a star network 
from the one-wire hub.

I'm looking at the iButton.pm code.

Can anyone tell me if iButtons.pm will work with a hub?  It doesn't look 
like it does.

I have owfs (owfw.sourceforge.net) installed and it appears to work well 
through the hubs.
Owfs has a perl interface to the owfserver using swig.  It's a very 
simple interface.

I'm thinking of creating a companion owfs.pm to access the one-wire 
devices through the
owfs code instead of the mh one-wire driver.

Does this make sense?    This would only be applicable to linux.

Maybe an xPL front-end to owfs might be better?

I 'm going out on a limb and thinking Gregg might prefer the xPL 
front-end option.

Jim




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
________________________________________________________
To unsubscribe from this list, go to: 
http://sourceforge.net/mail/?group_id=1365

      

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
________________________________________________________
To unsubscribe from this list, go to: 
http://sourceforge.net/mail/?group_id=1365


    





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365