On 21/03/2011 22:22, nick wrote:
This interests me greatly. So with my network below, i would have to poll
each alarm directory in turn. Indicated by ?
Yes, because each poll means a specific 1-wire command on the hardware.
Thus on each ds2409 coupler if both branches are in use (ie contain
My current setup checks outdoor and greenhouse temp to determine
whether to turn on a 240VAC power switch to heat up (or cool down)
the greenhouse. owfs polls every 15 seconds?
owfs never poll on itself !
If owfs never polls itself, how does the cached directory structure get
updated? Maybe
you should read the directory, or cat the value if using owfs (filesystem)
to 'poll' the ow network
2011/3/22 nick n...@kiwi-hacker.net:
My current setup checks outdoor and greenhouse temp to determine
whether to turn on a 240VAC power switch to heat up (or cool down)
the greenhouse. owfs
by itself, owfs does not actively poll the slaves. it only access the bus to
get the informations queried by the client application (ls, owread, ...)
1-wire is a slow bus on which many sensors (slave) may be attached.
Discovering every slaves connected and reading theirs state is a relatively
long
put more master to get faster reads
2011/3/22 Pascal Baerten pascal.baer...@gmail.com:
by itself, owfs does not actively poll the slaves. it only access the bus to
get the informations queried by the client application (ls, owread, ...)
1-wire is a slow bus on which many sensors (slave) may be
This interests me greatly. So with my network below, i would have to poll
each alarm directory in turn. Indicated by ?
Thus on each ds2409 coupler if both branches are in use (ie contain ds1820s
on them) this would need each branch's alarm directory polled, from the ow
uncached directory.
Hi Marc,
The protocol require that the master always initiate the communication. so
polling is unavoidable.
However the functinality you're wondering exist; you may reduce bus traffic
by using alarm function:
basically you configure the slave to respond to conditionnal search only
when a change
On Sat, Mar 19, 2011 at 08:38:58AM +0100, Pascal Baerten wrote:
Hi Marc,
The protocol require that the master always initiate the communication. so
polling is unavoidable.
However the functinality you're wondering exist; you may reduce bus traffic
by using alarm function:
basically you
check ds1820 datasheet it´s a good source of information
http://datasheets.maxim-ic.com/en/ds/DS18S20.pdf
2011/3/19 Marc MERLIN marc_n...@merlins.org:
On Sat, Mar 19, 2011 at 08:38:58AM +0100, Pascal Baerten wrote:
Hi Marc,
The protocol require that the master always initiate the
Marc,
The 1-wire protocol has an unique discovery protocol where every slave
participate to enumeration sequence initiated by the master. this is the search
algorithm http://www.maxim-ic.com/app-notes/index.mvp/id/187
A conditional search utilize the same method to discover only alarmed
devices.
On Sat, Mar 19, 2011 at 07:49:03PM +0100, Pascal Baerten wrote:
Marc,
The 1-wire protocol has an unique discovery protocol where every slave
participate to enumeration sequence initiated by the master. this is the
search
algorithm http://www.maxim-ic.com/app-notes/index.mvp/id/187
A
On 19/03/2011 20:07, Marc MERLIN wrote:
On Sat, Mar 19, 2011 at 07:49:03PM +0100, Pascal Baerten wrote:
Marc,
The 1-wire protocol has an unique discovery protocol where every slave
participate to enumeration sequence initiated by the master. this is the
search
algorithm
On Sat, Mar 19, 2011 at 11:59:59PM +0100, Vincent Danjean wrote:
Got it, and I take it owfs automatically does 'alarmed only' searches on its
own on 1sec interval or somesuch.
No. owfs does nothing on its own. It does 'alarmed only' searches when you
ask it to list the contents of an
hum, it´s a good question, how ow 'hub' DS2409 and owfs DS2409
implementation works?
2011/3/19 Vincent Danjean vdanjean.p...@free.fr:
On 19/03/2011 20:07, Marc MERLIN wrote:
On Sat, Mar 19, 2011 at 07:49:03PM +0100, Pascal Baerten wrote:
Marc,
The 1-wire protocol has an unique discovery
I have this board:
http://owfs.org/index.php?page=8-channel-i-o
I know how to read the I/O status from it, but I was wondering what's the
best way to get immediately notified of an input bit flip?
Do I need to read the uncached tree every second and spam the 1-wire bus
(probably preventing
15 matches
Mail list logo