Great questions. 

The simple way would be to bring the node up for a time long enough for the 
owfs to see it and the polling/logging control script to read it. If the script 
runs every 15 seconds, bring the node up for 30s and optimize from there. 

The more intelligent way would be to bring it up and push a notification to the 
server telling it that it is online and ready. Server receives notification, 
reads (or not), and replies that it is done with the node. Node goes back to 
sleep. This method would benefit from associating an io device with each node's 
ID, so that it would not need to poll the bus to see what's on there. 

If I'm missing something let me know. 

Colin


> On Jan 2, 2014, at 11:29, Stuart Poulton <[email protected]> wrote:
> 
> A couple of questions 
> 
> 1 - How are you going to handle sleeping nodes, OWFS by its nature polls the 
> 1-wire bus.
> 2 - You may want to consider sample frequencies, obvious I know the faster 
> you sample, the shorter the battery life.
> 
> Based on my own work with a combined atmega328 and RF module, and TMP112 i2c 
> sensor, with a 60 second sample time, I can easily get 2 years of life of 
> 2xAA Alkaline.
> I'm testing the same setup with a DS18B20, which interestingly was still 
> returning readings at 2.72v until the BOD on the 328 sent the sensor node 
> into a reboot loop.
> 
> Stuart
> 
> 
>> On 2 Jan 2014, at 19:12, Colin Reese wrote:
>> 
>> From what I've read, the series 2 are capable of mesh networking and low 
>> power mode, provided the unit is not a router or coordinator. I believe 
>> anything in a mesh that is not an end node cannot go down to a low-power 
>> state, by virtue of it needing to listen and relay from other nodes. 
>> 
>> I understand that I don't 'need' 1wire for many purposes, but I like the 
>> flexibility, and am convinced that without too much pain I can get an 
>> attiny85 to do the legwork and make it happen. The price point is about $17, 
>> which (given other options) I find quite reasonable. 
>> 
>> I'll let you know how I get on. Please do the same. 
>> 
>> Colin
>> 
>> 
>>>> On Jan 2, 2014, at 9:53, Pedro Côrte-Real <[email protected]> wrote:
>>>> 
>>>> On Fri, Dec 20, 2013 at 7:58 PM, Colin Reese <[email protected]> wrote:
>>>> Hello all,
>>>> 
>>>> I've seen fragments here and there about wireless 1wire networks, but
>>>> nothing that sticks out as developed and/or inexpensive. Anybody have
>>>> success with IO over wireless, be it zigbee, sdr, or otherwise, to
>>>> something like an RPi?
>>> 
>>> A while ago I looked over the same fragments and bought two Xbees and
>>> tried to do it. I could never get the Xbee UART to work with 1wire and
>>> haven't touched it since. I'll probably not go back to Xbee/Zigbee
>>> unless they make mesh networking much better. Last time I checked
>>> Zigbee doesn't support it and Xbee has a proprietary setup that
>>> requires boards to be always on which makes it unworkable for
>>> low-power situations.
>>> 
>>> My next approach is actually WiFi. There are these wifly modules with
>>> a xbee footprint:
>>> 
>>> https://www.sparkfun.com/products/10822
>>> 
>>> They talk wifi and have much the same ports as the Xbee (UART, ADC,
>>> DAC), so you can also do a bunch of stuff directly without 1wire at
>>> all. They also support a mode where the connection is initiated by the
>>> module. So you can have a server on AC power and have the battery
>>> powered module periodically connect to the server. Whenever the module
>>> is not talking to the server it powers itself down to a very low
>>> consumption. Make the cycle long enough and you can use this for low
>>> power situations even though it uses Wifi.
>>> 
>>> I see that Xbee itself has wifi modules now:
>>> 
>>> https://www.sparkfun.com/products/12569
>>> 
>>> So maybe those allow the same kind of setup as well.
>>> 
>>> Pedro
>>> 
>>> ------------------------------------------------------------------------------
>>> Rapidly troubleshoot problems before they affect your business. Most IT 
>>> organizations don't have a clear picture of how application performance 
>>> affects their revenue. With AppDynamics, you get 100% visibility into your 
>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
>>> Pro!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>> 
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT 
>> organizations don't have a clear picture of how application performance 
>> affects their revenue. With AppDynamics, you get 100% visibility into your 
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to