Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability of the node to report to MyController that it uses "sleep mode" when registering nodes #435

Closed
wanvo opened this issue Feb 1, 2018 · 9 comments
Assignees
Milestone

Comments

@wanvo
Copy link

wanvo commented Feb 1, 2018

Please add this feature. This feature is needed to automatically register new nodes.

@jkandasa
Copy link
Member

jkandasa commented Feb 6, 2018

@wanvo If I receive, I_PRE_SLEEP_NOTIFICATION from a node, Shall I change it as a sleeping node? Is that looks good?

@jkandasa jkandasa self-assigned this Feb 6, 2018
@wanvo
Copy link
Author

wanvo commented Feb 6, 2018

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?

@jkandasa
Copy link
Member

jkandasa commented Feb 6, 2018

@wanvo I have created a discussion on MySensors forum.

@wanvo
Copy link
Author

wanvo commented Feb 6, 2018

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.

@wanvo
Copy link
Author

wanvo commented Feb 6, 2018

Jeeva, ok. Let's wait for the community to say.

@wanvo
Copy link
Author

wanvo commented Feb 24, 2018

Hi Jeeva.
I think you need to use messages
I_PRE_SLEEP_NOTIFICATION
I_POST_SLEEP_NOTIFICATION
The community says this

@jkandasa jkandasa added this to the 1.3.0.Final milestone Jul 2, 2018
@jkandasa
Copy link
Member

jkandasa commented Jul 2, 2018

@wanvo I have added an implementation in SNAPSHOT version. Can you please check it and report back?

@wanvo
Copy link
Author

wanvo commented Jul 3, 2018

@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.

@jkandasa
Copy link
Member

jkandasa commented Jul 3, 2018

@wanvo no problem. When you back, test this and report the status. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants