{"action":"closed","number":1590,"pull_request":{"url":"https://api.github.com/repos/balloob/home-assistant/pulls/1590","id":63681065,"html_url":"https://github.com/balloob/home-assistant/pull/1590","diff_url":"https://github.com/balloob/home-assistant/pull/1590.diff","patch_url":"https://github.com/balloob/home-assistant/pull/1590.patch","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1590","number":1590,"state":"closed","locked":false,"title":"Added Raspberry Pi Camera Component","user":{"login":"LucaSoldi","id":5584781,"avatar_url":"https://avatars.githubusercontent.com/u/5584781?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaSoldi","html_url":"https://github.com/LucaSoldi","followers_url":"https://api.github.com/users/LucaSoldi/followers","following_url":"https://api.github.com/users/LucaSoldi/following{/other_user}","gists_url":"https://api.github.com/users/LucaSoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaSoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaSoldi/subscriptions","organizations_url":"https://api.github.com/users/LucaSoldi/orgs","repos_url":"https://api.github.com/users/LucaSoldi/repos","events_url":"https://api.github.com/users/LucaSoldi/events{/privacy}","received_events_url":"https://api.github.com/users/LucaSoldi/received_events","type":"User","site_admin":false},"body":"**Description:**\r\nThe Raspberry Pi Camera platform adds Raspberry Pi Camera support to camera component.\r\nThis component uses the application \"raspistill\" to store the image from camera.\r\n\r\n**Related issue (if applicable):** #\r\n\r\n**Example entry for `configuration.yaml` (if applicable):**\r\n```yaml\r\n\r\ncamera:\r\n  platform: raspberry_camera\r\n  name: Raspberry Pi Camera\r\n  image_width: 640\r\n  image_height: 480\r\n  image_quality: 7\r\n  image_rotation: 0\r\n  timelapse: 1000\r\n  horizontal_flip: 0\r\n  vertical_flip: 0\r\n\r\n```\r\n\r\nConfiguration variables: \r\n   **name** (optional): name of the camera\r\n   **image_width** (optional): set the image width (default: 640)\r\n   **image_height** (optional): set the image width (default: 480)\r\n   **image_quality** (optional): set the image quality (from 0 to 100, default: 7)\r\n   **image_rotation** (optional): Set image rotation (0-359, default: 0)\r\n   **horizontal_flip** (optional): Set horizontal flip (0 to disable, 1 to enable, default: 0)\r\n   **vertical_flip** (optional): Set vertical flip (0 to disable, 1 to enable, default: 0)\r\n   **timelapse** (optional): Takes a picture every <t>ms (default: 1000)\r\n\r\n\r\n**Checklist:**\r\n\r\n- [ ] Local tests with `tox` run successfully.\r\n- [ ] TravisCI does not fail. **Your PR cannot be merged unless CI is green!**\r\n- [ ] [Fork is up to date][fork] and was rebased on the `dev` branch before creating the PR.\r\n- [ ] Commits have been [squashed][squash].\r\n- If code communicates with devices:\r\n  - [ ] New dependencies have been added to the `REQUIREMENTS` variable ([example][ex-requir]).\r\n  - [ ] New dependencies are only imported inside functions that use them ([example][ex-import]).\r\n  - [ ] New dependencies have been added to `requirements_all.txt` by running `script/gen_requirements_all.py`.\r\n  - [ ] New files were added to `.coveragerc`.\r\n- If the code does not interact with devices:\r\n  - [ ] Tests have been added to verify that the new code works.\r\n\r\n[fork]: http://stackoverflow.com/a/7244456\r\n[squash]: https://github.com/ginatrapani/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit\r\n[ex-requir]: https://github.com/balloob/home-assistant/blob/dev/homeassistant/components/keyboard.py#L16\r\n[ex-import]: https://github.com/balloob/home-assistant/blob/dev/homeassistant/components/keyboard.py#L51\r\n\r\n","created_at":"2016-03-22T07:50:23Z","updated_at":"2016-03-22T07:55:10Z","closed_at":"2016-03-22T07:55:10Z","merged_at":null,"merge_commit_sha":"19e9407bdd3426bcd7f8610f4563f760bb53c74d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1590/commits","review_comments_url":"https://api.github.com/repos/balloob/home-assistant/pulls/1590/comments","review_comment_url":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1590/comments","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/bf915cf3b4fff16790a99768b09d2a2fdb334bf0","head":{"label":"LucaSoldi:some-feature","ref":"some-feature","sha":"bf915cf3b4fff16790a99768b09d2a2fdb334bf0","user":{"login":"LucaSoldi","id":5584781,"avatar_url":"https://avatars.githubusercontent.com/u/5584781?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaSoldi","html_url":"https://github.com/LucaSoldi","followers_url":"https://api.github.com/users/LucaSoldi/followers","following_url":"https://api.github.com/users/LucaSoldi/following{/other_user}","gists_url":"https://api.github.com/users/LucaSoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaSoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaSoldi/subscriptions","organizations_url":"https://api.github.com/users/LucaSoldi/orgs","repos_url":"https://api.github.com/users/LucaSoldi/repos","events_url":"https://api.github.com/users/LucaSoldi/events{/privacy}","received_events_url":"https://api.github.com/users/LucaSoldi/received_events","type":"User","site_admin":false},"repo":{"id":54425700,"name":"home-assistant","full_name":"LucaSoldi/home-assistant","owner":{"login":"LucaSoldi","id":5584781,"avatar_url":"https://avatars.githubusercontent.com/u/5584781?v=3","gravatar_id":"","url":"https://api.github.com/users/LucaSoldi","html_url":"https://github.com/LucaSoldi","followers_url":"https://api.github.com/users/LucaSoldi/followers","following_url":"https://api.github.com/users/LucaSoldi/following{/other_user}","gists_url":"https://api.github.com/users/LucaSoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/LucaSoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucaSoldi/subscriptions","organizations_url":"https://api.github.com/users/LucaSoldi/orgs","repos_url":"https://api.github.com/users/LucaSoldi/repos","events_url":"https://api.github.com/users/LucaSoldi/events{/privacy}","received_events_url":"https://api.github.com/users/LucaSoldi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LucaSoldi/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":true,"url":"https://api.github.com/repos/LucaSoldi/home-assistant","forks_url":"https://api.github.com/repos/LucaSoldi/home-assistant/forks","keys_url":"https://api.github.com/repos/LucaSoldi/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LucaSoldi/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LucaSoldi/home-assistant/teams","hooks_url":"https://api.github.com/repos/LucaSoldi/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/LucaSoldi/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/LucaSoldi/home-assistant/events","assignees_url":"https://api.github.com/repos/LucaSoldi/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/LucaSoldi/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/LucaSoldi/home-assistant/tags","blobs_url":"https://api.github.com/repos/LucaSoldi/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LucaSoldi/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LucaSoldi/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/LucaSoldi/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LucaSoldi/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/LucaSoldi/home-assistant/languages","stargazers_url":"https://api.github.com/repos/LucaSoldi/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/LucaSoldi/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/LucaSoldi/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/LucaSoldi/home-assistant/subscription","commits_url":"https://api.github.com/repos/LucaSoldi/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/LucaSoldi/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/LucaSoldi/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/LucaSoldi/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/LucaSoldi/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/LucaSoldi/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LucaSoldi/home-assistant/merges","archive_url":"https://api.github.com/repos/LucaSoldi/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LucaSoldi/home-assistant/downloads","issues_url":"https://api.github.com/repos/LucaSoldi/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/LucaSoldi/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/LucaSoldi/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/LucaSoldi/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LucaSoldi/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/LucaSoldi/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/LucaSoldi/home-assistant/deployments","created_at":"2016-03-21T21:55:06Z","updated_at":"2016-03-21T21:55:08Z","pushed_at":"2016-03-22T07:34:43Z","git_url":"git://github.com/LucaSoldi/home-assistant.git","ssh_url":"git@github.com:LucaSoldi/home-assistant.git","clone_url":"https://github.com/LucaSoldi/home-assistant.git","svn_url":"https://github.com/LucaSoldi/home-assistant","homepage":"https://home-assistant.io","size":48470,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"balloob:dev","ref":"dev","sha":"0490514d9e4eaec4c5180e1363345f9837f13f58","user":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"repo":{"id":12888993,"name":"home-assistant","full_name":"balloob/home-assistant","owner":{"login":"balloob","id":1444314,"avatar_url":"https://avatars.githubusercontent.com/u/1444314?v=3","gravatar_id":"","url":"https://api.github.com/users/balloob","html_url":"https://github.com/balloob","followers_url":"https://api.github.com/users/balloob/followers","following_url":"https://api.github.com/users/balloob/following{/other_user}","gists_url":"https://api.github.com/users/balloob/gists{/gist_id}","starred_url":"https://api.github.com/users/balloob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloob/subscriptions","organizations_url":"https://api.github.com/users/balloob/orgs","repos_url":"https://api.github.com/users/balloob/repos","events_url":"https://api.github.com/users/balloob/events{/privacy}","received_events_url":"https://api.github.com/users/balloob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/balloob/home-assistant","description":":house_with_garden: Open-source home automation platform running on Python 3","fork":false,"url":"https://api.github.com/repos/balloob/home-assistant","forks_url":"https://api.github.com/repos/balloob/home-assistant/forks","keys_url":"https://api.github.com/repos/balloob/home-assistant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balloob/home-assistant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balloob/home-assistant/teams","hooks_url":"https://api.github.com/repos/balloob/home-assistant/hooks","issue_events_url":"https://api.github.com/repos/balloob/home-assistant/issues/events{/number}","events_url":"https://api.github.com/repos/balloob/home-assistant/events","assignees_url":"https://api.github.com/repos/balloob/home-assistant/assignees{/user}","branches_url":"https://api.github.com/repos/balloob/home-assistant/branches{/branch}","tags_url":"https://api.github.com/repos/balloob/home-assistant/tags","blobs_url":"https://api.github.com/repos/balloob/home-assistant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balloob/home-assistant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balloob/home-assistant/git/refs{/sha}","trees_url":"https://api.github.com/repos/balloob/home-assistant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balloob/home-assistant/statuses/{sha}","languages_url":"https://api.github.com/repos/balloob/home-assistant/languages","stargazers_url":"https://api.github.com/repos/balloob/home-assistant/stargazers","contributors_url":"https://api.github.com/repos/balloob/home-assistant/contributors","subscribers_url":"https://api.github.com/repos/balloob/home-assistant/subscribers","subscription_url":"https://api.github.com/repos/balloob/home-assistant/subscription","commits_url":"https://api.github.com/repos/balloob/home-assistant/commits{/sha}","git_commits_url":"https://api.github.com/repos/balloob/home-assistant/git/commits{/sha}","comments_url":"https://api.github.com/repos/balloob/home-assistant/comments{/number}","issue_comment_url":"https://api.github.com/repos/balloob/home-assistant/issues/comments{/number}","contents_url":"https://api.github.com/repos/balloob/home-assistant/contents/{+path}","compare_url":"https://api.github.com/repos/balloob/home-assistant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balloob/home-assistant/merges","archive_url":"https://api.github.com/repos/balloob/home-assistant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balloob/home-assistant/downloads","issues_url":"https://api.github.com/repos/balloob/home-assistant/issues{/number}","pulls_url":"https://api.github.com/repos/balloob/home-assistant/pulls{/number}","milestones_url":"https://api.github.com/repos/balloob/home-assistant/milestones{/number}","notifications_url":"https://api.github.com/repos/balloob/home-assistant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balloob/home-assistant/labels{/name}","releases_url":"https://api.github.com/repos/balloob/home-assistant/releases{/id}","deployments_url":"https://api.github.com/repos/balloob/home-assistant/deployments","created_at":"2013-09-17T07:29:48Z","updated_at":"2016-03-22T06:05:01Z","pushed_at":"2016-03-22T07:50:24Z","git_url":"git://github.com/balloob/home-assistant.git","ssh_url":"git@github.com:balloob/home-assistant.git","clone_url":"https://github.com/balloob/home-assistant.git","svn_url":"https://github.com/balloob/home-assistant","homepage":"https://home-assistant.io","size":49648,"stargazers_count":2884,"watchers_count":2884,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":524,"mirror_url":null,"open_issues_count":205,"forks":524,"open_issues":205,"watchers":2884,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1590"},"html":{"href":"https://github.com/balloob/home-assistant/pull/1590"},"issue":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1590"},"comments":{"href":"https://api.github.com/repos/balloob/home-assistant/issues/1590/comments"},"review_comments":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1590/comments"},"review_comment":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balloob/home-assistant/pulls/1590/commits"},"statuses":{"href":"https://api.github.com/repos/balloob/home-assistant/statuses/bf915cf3b4fff16790a99768b09d2a2fdb334bf0"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":0,"changed_files":1}}