{"action":"created","issue":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/101","repository_url":"https://api.github.com/repos/kizniche/Mycodo","labels_url":"https://api.github.com/repos/kizniche/Mycodo/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/kizniche/Mycodo/issues/101/comments","events_url":"https://api.github.com/repos/kizniche/Mycodo/issues/101/events","html_url":"https://github.com/kizniche/Mycodo/issues/101","id":172331361,"number":101,"title":"Timelapse Photos","user":{"login":"berserktron3k","id":20486420,"avatar_url":"https://avatars.githubusercontent.com/u/20486420?v=3","gravatar_id":"","url":"https://api.github.com/users/berserktron3k","html_url":"https://github.com/berserktron3k","followers_url":"https://api.github.com/users/berserktron3k/followers","following_url":"https://api.github.com/users/berserktron3k/following{/other_user}","gists_url":"https://api.github.com/users/berserktron3k/gists{/gist_id}","starred_url":"https://api.github.com/users/berserktron3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berserktron3k/subscriptions","organizations_url":"https://api.github.com/users/berserktron3k/orgs","repos_url":"https://api.github.com/users/berserktron3k/repos","events_url":"https://api.github.com/users/berserktron3k/events{/privacy}","received_events_url":"https://api.github.com/users/berserktron3k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-21T17:32:09Z","updated_at":"2016-08-23T22:28:33Z","closed_at":null,"body":"Is there a length limit for time lapse photos? I'm trying to do one every 3600 seconds (an hour) for 345600 seconds (5 days). Regardless of the length, it always seems to stop around 11 hours."},"comment":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/comments/241900497","html_url":"https://github.com/kizniche/Mycodo/issues/101#issuecomment-241900497","issue_url":"https://api.github.com/repos/kizniche/Mycodo/issues/101","id":241900497,"user":{"login":"kizniche","id":838427,"avatar_url":"https://avatars.githubusercontent.com/u/838427?v=3","gravatar_id":"","url":"https://api.github.com/users/kizniche","html_url":"https://github.com/kizniche","followers_url":"https://api.github.com/users/kizniche/followers","following_url":"https://api.github.com/users/kizniche/following{/other_user}","gists_url":"https://api.github.com/users/kizniche/gists{/gist_id}","starred_url":"https://api.github.com/users/kizniche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kizniche/subscriptions","organizations_url":"https://api.github.com/users/kizniche/orgs","repos_url":"https://api.github.com/users/kizniche/repos","events_url":"https://api.github.com/users/kizniche/events{/privacy}","received_events_url":"https://api.github.com/users/kizniche/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T22:28:33Z","updated_at":"2016-08-23T22:28:33Z","body":"Well, that was a pretty fun little challenge. I managed to rebuild the time-lapse functionality to include all the features I set out to accomplish. Time-lapse can now resume if the Pi reboots or mycodo restarts. It will keep the correct image number order as well. For instance, if you set the following parameters:\r\n\r\n```Interval: 10 seconds, Duration: 60 seconds```\r\n\r\nIt will create the first images:\r\n\r\n```\r\n2016-08-23_18-20-54-img-00001.jpg\r\n2016-08-23_18-20-54-img-00002.jpg\r\n```\r\n\r\nIf the power fails and it reboots in 25 seconds, it will resume with image:\r\n\r\n```2016-08-23_18-20-54-img-00005.jpg```\r\n\r\nAnd continue on until it reaches the set end time defined from the duration. An update to git will be incoming in a minute or so. Enjoy and let me know if you find any bugs!"}}
{"actor":{"display_login":"kizniche"}}