{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/929","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/929/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/929/events","html_url":"https://github.com/esp8266/Arduino/issues/929","id":113223021,"number":929,"title":"ESP.shutdown()","user":{"login":"rouhu","id":6568669,"avatar_url":"https://avatars.githubusercontent.com/u/6568669?v=3","gravatar_id":"","url":"https://api.github.com/users/rouhu","html_url":"https://github.com/rouhu","followers_url":"https://api.github.com/users/rouhu/followers","following_url":"https://api.github.com/users/rouhu/following{/other_user}","gists_url":"https://api.github.com/users/rouhu/gists{/gist_id}","starred_url":"https://api.github.com/users/rouhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouhu/subscriptions","organizations_url":"https://api.github.com/users/rouhu/orgs","repos_url":"https://api.github.com/users/rouhu/repos","events_url":"https://api.github.com/users/rouhu/events{/privacy}","received_events_url":"https://api.github.com/users/rouhu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-25T12:25:24Z","updated_at":"2015-11-03T18:05:41Z","closed_at":"2015-11-03T18:05:41Z","body":"Would it possible to have command ESP.shutdown().\r\n\r\nSo that after device has done its work it would shutdown and it would reboot only after manually turning off/on the power. ESP.deepsleep() is not an option here as device should never wake up."},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/153438706","html_url":"https://github.com/esp8266/Arduino/issues/929#issuecomment-153438706","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/929","id":153438706,"user":{"login":"rouhu","id":6568669,"avatar_url":"https://avatars.githubusercontent.com/u/6568669?v=3","gravatar_id":"","url":"https://api.github.com/users/rouhu","html_url":"https://github.com/rouhu","followers_url":"https://api.github.com/users/rouhu/followers","following_url":"https://api.github.com/users/rouhu/following{/other_user}","gists_url":"https://api.github.com/users/rouhu/gists{/gist_id}","starred_url":"https://api.github.com/users/rouhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rouhu/subscriptions","organizations_url":"https://api.github.com/users/rouhu/orgs","repos_url":"https://api.github.com/users/rouhu/repos","events_url":"https://api.github.com/users/rouhu/events{/privacy}","received_events_url":"https://api.github.com/users/rouhu/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T18:05:41Z","updated_at":"2015-11-03T18:05:41Z","body":"Tried but CH_PD needs to be VCC before even any code runs. Anyway, solved it by letting it sleep 21 000 years,  ESP.deepSleep(999999999*999999999U, WAKE_NO_RFCAL);\r\nNow I only have to wait and see if it works...."}}