{"action":"created","issue":{"url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/435","repository_url":"https://api.github.com/repos/mycontroller-org/mycontroller","labels_url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/435/comments","events_url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/435/events","html_url":"https://github.com/mycontroller-org/mycontroller/issues/435","id":293612429,"number":435,"title":"Add the ability of the node to report to MyController that it uses \"sleep mode\" when registering nodes","user":{"login":"wanvo","id":15168838,"avatar_url":"https://avatars0.githubusercontent.com/u/15168838?v=4","gravatar_id":"","url":"https://api.github.com/users/wanvo","html_url":"https://github.com/wanvo","followers_url":"https://api.github.com/users/wanvo/followers","following_url":"https://api.github.com/users/wanvo/following{/other_user}","gists_url":"https://api.github.com/users/wanvo/gists{/gist_id}","starred_url":"https://api.github.com/users/wanvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanvo/subscriptions","organizations_url":"https://api.github.com/users/wanvo/orgs","repos_url":"https://api.github.com/users/wanvo/repos","events_url":"https://api.github.com/users/wanvo/events{/privacy}","received_events_url":"https://api.github.com/users/wanvo/received_events","type":"User","site_admin":false},"labels":[{"id":283077055,"url":"https://api.github.com/repos/mycontroller-org/mycontroller/labels/feature%20request","name":"feature request","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":{"login":"jkandasa","id":1004403,"avatar_url":"https://avatars2.githubusercontent.com/u/1004403?v=4","gravatar_id":"","url":"https://api.github.com/users/jkandasa","html_url":"https://github.com/jkandasa","followers_url":"https://api.github.com/users/jkandasa/followers","following_url":"https://api.github.com/users/jkandasa/following{/other_user}","gists_url":"https://api.github.com/users/jkandasa/gists{/gist_id}","starred_url":"https://api.github.com/users/jkandasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkandasa/subscriptions","organizations_url":"https://api.github.com/users/jkandasa/orgs","repos_url":"https://api.github.com/users/jkandasa/repos","events_url":"https://api.github.com/users/jkandasa/events{/privacy}","received_events_url":"https://api.github.com/users/jkandasa/received_events","type":"User","site_admin":false},"assignees":[{"login":"jkandasa","id":1004403,"avatar_url":"https://avatars2.githubusercontent.com/u/1004403?v=4","gravatar_id":"","url":"https://api.github.com/users/jkandasa","html_url":"https://github.com/jkandasa","followers_url":"https://api.github.com/users/jkandasa/followers","following_url":"https://api.github.com/users/jkandasa/following{/other_user}","gists_url":"https://api.github.com/users/jkandasa/gists{/gist_id}","starred_url":"https://api.github.com/users/jkandasa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkandasa/subscriptions","organizations_url":"https://api.github.com/users/jkandasa/orgs","repos_url":"https://api.github.com/users/jkandasa/repos","events_url":"https://api.github.com/users/jkandasa/events{/privacy}","received_events_url":"https://api.github.com/users/jkandasa/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-01T17:13:26Z","updated_at":"2018-02-06T14:54:09Z","closed_at":null,"author_association":"NONE","body":"Please add this feature. This feature is needed to automatically register new nodes."},"comment":{"url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/comments/363446392","html_url":"https://github.com/mycontroller-org/mycontroller/issues/435#issuecomment-363446392","issue_url":"https://api.github.com/repos/mycontroller-org/mycontroller/issues/435","id":363446392,"user":{"login":"wanvo","id":15168838,"avatar_url":"https://avatars0.githubusercontent.com/u/15168838?v=4","gravatar_id":"","url":"https://api.github.com/users/wanvo","html_url":"https://github.com/wanvo","followers_url":"https://api.github.com/users/wanvo/followers","following_url":"https://api.github.com/users/wanvo/following{/other_user}","gists_url":"https://api.github.com/users/wanvo/gists{/gist_id}","starred_url":"https://api.github.com/users/wanvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wanvo/subscriptions","organizations_url":"https://api.github.com/users/wanvo/orgs","repos_url":"https://api.github.com/users/wanvo/repos","events_url":"https://api.github.com/users/wanvo/events{/privacy}","received_events_url":"https://api.github.com/users/wanvo/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T14:54:09Z","updated_at":"2018-02-06T14:54:09Z","author_association":"NONE","body":"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.](https://www.mysensors.org/apidocs-beta/group__MyMessagegrp.html#ggaa6f265dd19e9cad90979fef252e17a87a105639edd79e6f1d0104986aa6370de7)"}}
{"actor":{"display_login":"wanvo"}}