{"action":"opened","issue":{"url":"https://api.github.com/repos/pannuhuone/HomeSensors/issues/4","labels_url":"https://api.github.com/repos/pannuhuone/HomeSensors/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pannuhuone/HomeSensors/issues/4/comments","events_url":"https://api.github.com/repos/pannuhuone/HomeSensors/issues/4/events","html_url":"https://github.com/pannuhuone/HomeSensors/issues/4","id":128428917,"number":4,"title":"Photon to sleep mode","user":{"login":"pannuhuone","id":5571703,"avatar_url":"https://avatars.githubusercontent.com/u/5571703?v=3","gravatar_id":"","url":"https://api.github.com/users/pannuhuone","html_url":"https://github.com/pannuhuone","followers_url":"https://api.github.com/users/pannuhuone/followers","following_url":"https://api.github.com/users/pannuhuone/following{/other_user}","gists_url":"https://api.github.com/users/pannuhuone/gists{/gist_id}","starred_url":"https://api.github.com/users/pannuhuone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pannuhuone/subscriptions","organizations_url":"https://api.github.com/users/pannuhuone/orgs","repos_url":"https://api.github.com/users/pannuhuone/repos","events_url":"https://api.github.com/users/pannuhuone/events{/privacy}","received_events_url":"https://api.github.com/users/pannuhuone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pannuhuone/HomeSensors/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/pannuhuone/HomeSensors/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-24T22:12:58Z","updated_at":"2016-01-24T22:12:58Z","closed_at":null,"body":"It would be possible to put Photon to sleep mode. There are two different sleep modes\r\n1. \"Normal sleep\" - During this time the code will be run but wifi is in standby mode.\r\n2. Deep sleep, when whole board is in sleep. During this time no code will be run and when Photon wakes up, code will be run from the start.\r\n\r\nMain benefit, save battery.\r\n\r\nMore information: https://docs.particle.io/reference/firmware/core/#system-sleep-sleep- \r\nPhoton power consumptions: https://docs.particle.io/datasheets/photon-datasheet/#power"}}