I am using XBee modules and adapters and I have experimented with ZB Sleep Mode on and off for several months now and it seems to me, at least for the XBee devices, it just does not work! I’d like to hear from users using Xbee devices, who have actually gotten it to working.
In my experience and what I mean by ‘work’ is;
-
it is possible to 'program the XBee ZB radio to sleep by setting SM = 4 or 5. But it’s impossible to program it back to no sleep. Once set SM can never be set back to 0, so sleep mode is always enabled. Why can’t SM be programmed back to 0 (Sleep Disabled)?
-
if an XBee sensor adapter is set to sleep trying to change sleep parameters (SM, ST, SN, SO) is hit or miss, mostly miss. This is true from either the gateway web interface, X-CTU app or programmatically (Python)
-
Unless threading or similar is used a program hangs on a sleeping module.
-
Battery life seems to be a guess. Yes I understand Amp-hours, but accurately determining power draw during ST (wake time) is impossible due to so many exceptions.
-
A forced wake up mode would be a great help. I realize this will mean a significant increase in ‘sleep’ mode power, but to me the way it is now is nearly useless.
This mode is called ‘Sleep’ it may be more appropriate to call it ‘Dead’. Once an XBee module is put into ‘Sleep’ mode its functionality drops to near zero. I have ‘destroyed’ several XBee ZB radios by putting them in ‘Sleep’.