{"id":18377294,"url":"https://github.com/bbc/catflap-camera","last_synced_at":"2025-06-26T20:07:17.830Z","repository":{"id":21460196,"uuid":"24778648","full_name":"bbc/catflap-camera","owner":"bbc","description":"Raspberry Pi based catflap-triggered camera. As seen on TV.","archived":false,"fork":false,"pushed_at":"2024-11-27T15:12:47.000Z","size":1470,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-03-22T06:51:19.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.bbc.co.uk/programmes/b04lcqvq","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-04T01:17:23.000Z","updated_at":"2023-11-07T06:51:11.000Z","dependencies_parsed_at":"2022-08-21T14:20:49.850Z","dependency_job_id":null,"html_url":"https://github.com/bbc/catflap-camera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fcatflap-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fcatflap-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fcatflap-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbc%2Fcatflap-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbc","download_url":"https://codeload.github.com/bbc/catflap-camera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247555127,"owners_count":20957713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T00:27:38.505Z","updated_at":"2025-04-06T21:31:31.831Z","avatar_url":"https://github.com/bbc.png","language":"Python","readme":"# The Catflap Camera\n\nThe Catflap Camera is a simple Python script which uses a [Raspberry Pi](http://www.raspberrypi.org/help/what-is-a-raspberry-pi/), the add-on Raspberry Pi [camera board](http://www.raspberrypi.org/products/camera-module/) and a [reed switch](https://en.wikipedia.org/wiki/Reed_switch) sensor to take a picture when a catflap is used, thus capturing a lovely picture of whichever cat was using the catflap at the time.\n\nThe camera was used in the production of BBC Two's \"Cat Watch 2014: The New Horizon Experiment\". This repository is an open source version of the camera software, with instructions on how to build your own. Pull requests, suggestions and enhancements are welcomed!\n\n![Demo](https://github.com/JamesHarrison/catflap-camera/raw/master/docs/images/entering.jpg \"Cat entering through a camera-enabled catflap\")\n\n## What it is and how it works\n\nThe Raspberry Pi, a small computer, sits next to your catflap, with a camera pointed at the catflap. A sensor (a reed switch) is mounted on the frame and flap, which basically flips a switch when a cat goes through. This gets noticed by the camera script on the Pi and the Pi takes a picture, which can be downloaded from the Pi using a web browser.\n\n![Installation example](https://github.com/JamesHarrison/catflap-camera/raw/master/docs/images/example.jpg \"An example of an installed camera\")\n\n# Making your own\n\nYou don't need to be an expert to build your own camera - the documentation assumes no prior knowledge of the Raspberry Pi hardware or software, but assumes you're familiar with computers.\n\n*The build process normally involves use of a soldering iron - if you're not quite a grown-up yet, you should get a grown-up to help you out with your catflap build!* You may be able to do it without using a soldering iron but should still get a grown-up to help you.\n\n* [Building the camera hardware](../master/docs/HARDWARE.md)\n* [Installing and configuring the software](../master/docs/INSTALLATION.md)\n* [Learning about the software](../master/docs/SOFTWARE.md)\n* [Extending the software](../master/docs/EXTENDING.md)\n\n# License\n\nCopyright 2014 BBC Research and Development\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this project except in compliance with the License. You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc%2Fcatflap-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbc%2Fcatflap-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbc%2Fcatflap-camera/lists"}