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.

Moderators: leecollings, remb0

Post Reply
eric_smid
Posts: 3
Joined: Monday 17 February 2014 21:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5809
Location: Pijnacker (NL)
Contact:

MySensors smartSleep support

Post 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.
Daydreamer0008
Posts: 2
Joined: Sunday 30 October 2016 10:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MySensors smartSleep support

Post by Daydreamer0008 »

It would be great if this was implemented in Domotricz.
dsiee
Posts: 1
Joined: Sunday 13 November 2016 1:53
Target OS: -
Domoticz version:
Contact:

Re: MySensors smartSleep support

Post by dsiee »

I too would be super keen for this feature to be implemented!
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: MySensors smartSleep support

Post 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 ?
Quality outlives Quantity!
eric_smid
Posts: 3
Joined: Monday 17 February 2014 21:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5809
Location: Pijnacker (NL)
Contact:

Re: MySensors smartSleep support

Post 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.
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: MySensors smartSleep support

Post by gohan »

are there any more updates on this ?
Daydreamer0008
Posts: 2
Joined: Sunday 30 October 2016 10:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MySensors smartSleep support

Post by Daydreamer0008 »

Any news on this matter?
Lyrex
Posts: 30
Joined: Thursday 19 May 2016 13:34
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Germany
Contact:

Re: MySensors smartSleep support

Post by Lyrex »

I really want to use this feature to reduce the power consumption of my nodes. Are there any news? Would be awesome!
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: MySensors smartSleep support

Post by gizmocuz »

Working on it...
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest