From: Marc MERLIN <marc_mh@me...> - 2010-04-20 15:31:20
I thought I would summarize for the archives:
oxc+xAP: doesn't handle hubs by default, but David hacked oxc to make it
work (see below).
Jim's Owfs_Item is nice since it talks to owserver directly and bypasses any
xPL or xAP. It supports hubs natively since it lets owserver figure things
out. Unfortunately the perl swig interface has apparently been unstable in
owfs and as of owfs-2.7pl32, it didn't work for me or for him.
xPL's xpl-owfs creates xPL messages every 15 seconds or so containing all
sensors of type temp, humidity, counter and current. I patched it to support
all 3 kind of humidity DACs.
My recommendation for owfs+hubs in misterhouse is xpl-owfs since it works
If Jim can get his code talking to owserver again, then his code would
likely be the first choice since it's simpler than going through xPL
Last, but not least, xAP + oxc is an option if you get David's hub patch:
On Sat, Apr 10, 2010 at 07:56:46PM -0700, David Norwood wrote:
> Rick is right about the way owfs handles hubs. I have modified oxc to look
> for the device directories in the 1F subdirectories. It's been working fine
> here for a few weeks and I sent my updates to Gregg and Howard Plato, but I
> guess neither of them have had time to check it out. I can send it to you
> and Rick and anyone else that wants to try it. I am currently trying to
> figure out how to add support for the hobby boards solar sensor.
> The owfs item module that jim wrote appears to be well documented. I need
> to update the wiki.
> A couple people, apparently, have used the xpl sensor item with owfs, I
> tried using xpl-owfs with the xpl sensor item in misterhouse, but haven't
> gotten the code right. Could someone who is doing this post example code?
There you go:
XPL_SENSOR, bnz-owfs.*:10.2223EF010800, owfs_temp, , temp
XPL_SENSOR, bnz-owfs.*:26.2E4DF5000000, owfs_humidity, , humidity
print_log "owfstemp: ".$owfs_temp->state;
print_log "owfshumidity: ".$owfs_humidity->state;
Hope this helps.
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/