Closed wanvo closed 6 years ago
@wanvo If I receive, I_PRE_SLEEP_NOTIFICATION
from a node, Shall I change it as a sleeping node? Is that looks good?
Jeeva, I'm not a MySensors library developer, so I can not exactly answer. I'll try to see how the function "sleep" is realized in the "MySensors" library and then I can give an answer. I think some message should be sent before going to sleep. Or do you think you need to make a standalone mechanism for determining the sleeping node, and it will have to send a special message during the presentation?
@wanvo I have created a discussion on MySensors forum.
I think this is what you need. The documentation for the MySensors library states that the I_PRE_SLEEP_NOTIFICATION message is sent from the node before it goes to sleep. This is indicated here.
Jeeva, ok. Let's wait for the community to say.
Hi Jeeva. I think you need to use messages I_PRE_SLEEP_NOTIFICATION I_POST_SLEEP_NOTIFICATION The community says this
@wanvo I have added an implementation in SNAPSHOT version. Can you please check it and report back?
@jkandasa I can not test this snapshot now unfortunately. I left for the wild mountainous terrain, and the internet is very slow and expensive here.
@wanvo no problem. When you back, test this and report the status. Thank you!
Please add this feature. This feature is needed to automatically register new nodes.