Re: [Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Matthias Urlichs
Jan Kandziora writes: > I strongly recommend to use Pascal Baerten's BAE0911 device instead of > developing a slave on your own. I already _have_ a slave of my own. (AVR-based; writing code that talks to 1wire is as simple as it gets with this codebase.) My main problem with the BAE0911 right no

Re: [Owfs-developers] DS2423 strangeness (again)

2015-02-20 Thread Gregg Levine
Hello! Okay it works as expected with the chosen components to support debounce. Oh and I used a magnetically triggered mechanical switch to try it. Next question, can you Jan supply me with a copy of your software? As it happens I'd like to try it on a Slackware64 system here (on the Laptop runni

Re: [Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Jan Kandziora
Am 20.02.2015 um 21:40 schrieb Matthias Urlichs: > > for home automation I'm (finally) going to implement a couple of > semi-intelligent 1wire slaves. Control the heating system, water the garden, > and other things that can't be done by a central server and dumb 1wire > slaves because the house w

[Owfs-developers] How to talk to an 1wire device

2015-02-20 Thread Matthias Urlichs
Hello, for home automation I'm (finally) going to implement a couple of semi-intelligent 1wire slaves. Control the heating system, water the garden, and other things that can't be done by a central server and dumb 1wire slaves because the house will burn down and the yard'll get flooded. ;-) (Don'

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Martin Rapavy
I’m afraid that this hardware can’t provide autodiscover. I’m slowly getting through the structure of the sources. If you’d be so kind to provide me with the “template“ or list of all things that needs to be adapted, you mentioned earlier, I’d be greatful. Thanks, Martin From: Paul Alfille [m

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Paul Alfille
Optimally the number of channels should be auto-discovered. I like to make the configuration as automatic as possible. So if the hardware can be safely probed for the number of channels, or announces the number of channels, that would be best. Otherwise a command line option would work.Perhaps:

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Martin Rapavy
Yes, 6 registers in consecutive memory locations (offests 0 .. 5). I suppose we need to pass the base address as command line / configuration file parameter. How does owfs treat channels? Do we need to pass number of channels as command line / configuration file parameter as well? Thanks, Marti

Re: [Owfs-developers] Add support for additional hardware bus master

2015-02-20 Thread Paul Alfille
Do you map the 6 control registers to consecutive memory locations? Would we pass that location in a command line option? On Feb 19, 2015 12:16 PM, "Jan Kandziora" wrote: > Am 19.02.2015 um 08:59 schrieb Martin Rapavy: > > Hi Paul, > > > > thanks for briefing me on the architecture of OWFS. My ma