{"action":"created","issue":{"url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/41","labels_url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/41/comments","events_url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/41/events","html_url":"https://github.com/hamishcunningham/pi-tronics/issues/41","id":70980181,"number":41,"title":"Power on at specific time?","user":{"login":"wayner9","id":10366145,"avatar_url":"https://avatars.githubusercontent.com/u/10366145?v=3","gravatar_id":"","url":"https://api.github.com/users/wayner9","html_url":"https://github.com/wayner9","followers_url":"https://api.github.com/users/wayner9/followers","following_url":"https://api.github.com/users/wayner9/following{/other_user}","gists_url":"https://api.github.com/users/wayner9/gists{/gist_id}","starred_url":"https://api.github.com/users/wayner9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayner9/subscriptions","organizations_url":"https://api.github.com/users/wayner9/orgs","repos_url":"https://api.github.com/users/wayner9/repos","events_url":"https://api.github.com/users/wayner9/events{/privacy}","received_events_url":"https://api.github.com/users/wayner9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-25T23:20:49Z","updated_at":"2015-04-26T12:27:53Z","closed_at":null,"body":"I am using my Mopi in a solar powered configuration.  For my application it might be better to power on at a specific time (ie 0800) rather than X seconds after powering off.  That way I could ensure that it is daylight.  Would this be possible with mopi?"},"comment":{"url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/comments/96372889","html_url":"https://github.com/hamishcunningham/pi-tronics/issues/41#issuecomment-96372889","issue_url":"https://api.github.com/repos/hamishcunningham/pi-tronics/issues/41","id":96372889,"user":{"login":"wayner9","id":10366145,"avatar_url":"https://avatars.githubusercontent.com/u/10366145?v=3","gravatar_id":"","url":"https://api.github.com/users/wayner9","html_url":"https://github.com/wayner9","followers_url":"https://api.github.com/users/wayner9/followers","following_url":"https://api.github.com/users/wayner9/following{/other_user}","gists_url":"https://api.github.com/users/wayner9/gists{/gist_id}","starred_url":"https://api.github.com/users/wayner9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayner9/subscriptions","organizations_url":"https://api.github.com/users/wayner9/orgs","repos_url":"https://api.github.com/users/wayner9/repos","events_url":"https://api.github.com/users/wayner9/events{/privacy}","received_events_url":"https://api.github.com/users/wayner9/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T12:27:53Z","updated_at":"2015-04-26T12:27:53Z","body":"Can you run a python script at the time that Mopi is shutting down the Pi?  If that is the case then couldn't you just set the Power on seconds offset from the current time to give you the power on time that you want?  \r\n\r\nFor example if you want the Pi to come on at 8am and the Pi is shutting down at 8pm then you set the power on offset in seconds to 3600*12 or 43200?  You would need a little bit of logic to avoid negative offsets but that is easy peasy."}}