Page 1 of 1

MySensors smartSleep support

Posted: Sunday 23 October 2016 16:28
by eric_smid
Is it possible to implement MySensors smartSleep support?
The smartSleep function tells the controller a node is asleep and sends a heartbeat when awake again.
Supporting smartSleep, means messages that should be send to a sleeping node should be buffered. When the node sends a heartbeat, buffered messages should be send to the node.
From: https://www.mysensors.org/download/sensor_api_20

Sleeping

To save battery it is crucial to sleep you node as much as possible. The node can wake up from external interrupts or by a timer.

Each sleep function has a "smart" variant, which sends heartbeat and process incoming messages before going to sleep. This is useful for sending out firmwares or commands for sleeping nodes. The controller must support buffering of messages and send them when node wakes up.

Re: MySensors smartSleep support

Posted: Sunday 30 October 2016 11:05
by Daydreamer0008
It would be great if this was implemented in Domotricz.

Re: MySensors smartSleep support

Posted: Sunday 13 November 2016 1:58
by dsiee
I too would be super keen for this feature to be implemented!

Re: MySensors smartSleep support

Posted: Sunday 13 November 2016 9:07
by gizmocuz
I could not find a good description how this should be implemented in the controller.
Something like before going to sleep, the node sends a I_HEARTBEAT ?
So all things send to a node, and that failed, we have to buffer ? Sure we need a limit for that
How to know that a node is using smartsleep ?

Re: MySensors smartSleep support

Posted: Tuesday 10 January 2017 22:26
by eric_smid
I had a chat with one of the MySensors devellopers.
Smartsleep is still under development, so it's probably wise to wait for a more stable implementation.
This will probably be in the 2.2.0 release, but no guarantees.

Re: MySensors smartSleep support

Posted: Thursday 05 October 2017 14:17
by gohan
are there any more updates on this ?

Re: MySensors smartSleep support

Posted: Sunday 28 January 2018 20:36
by Daydreamer0008
Any news on this matter?

Re: MySensors smartSleep support

Posted: Thursday 17 May 2018 12:44
by Lyrex
I really want to use this feature to reduce the power consumption of my nodes. Are there any news? Would be awesome!

Re: MySensors smartSleep support

Posted: Friday 18 May 2018 18:47
by gizmocuz
Working on it...