MySensors smartSleep support

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
eric_smid
Posts: 13
Joined: Monday 17 February 2014 22:30
Target OS: Raspberry Pi
Domoticz version: 3.5809
Location: Pijnacker (NL)
Contact:

MySensors smartSleep support

Postby eric_smid » Sunday 23 October 2016 16:28

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.

Daydreamer0008
Posts: 1
Joined: Sunday 30 October 2016 11:59
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: MySensors smartSleep support

Postby Daydreamer0008 » Sunday 30 October 2016 12:05

It would be great if this was implemented in Domotricz.

dsiee
Posts: 1
Joined: Sunday 13 November 2016 2:53
Target OS: -
Domoticz version:
Contact:

Re: MySensors smartSleep support

Postby dsiee » Sunday 13 November 2016 2:58

I too would be super keen for this feature to be implemented!

User avatar
gizmocuz
Posts: 7699
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: MySensors smartSleep support

Postby gizmocuz » Sunday 13 November 2016 10:07

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 ?
Quality outlives Quantity!

eric_smid
Posts: 13
Joined: Monday 17 February 2014 22:30
Target OS: Raspberry Pi
Domoticz version: 3.5809
Location: Pijnacker (NL)
Contact:

Re: MySensors smartSleep support

Postby eric_smid » Tuesday 10 January 2017 23:26

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.


Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest