{"id":15460345,"url":"https://github.com/schollz/chickencam","last_synced_at":"2025-04-22T10:35:20.614Z","repository":{"id":57603443,"uuid":"66861456","full_name":"schollz/chickencam","owner":"schollz","description":"Build a Raspberry Pi ChickenCam in 10 easy steps","archived":false,"fork":false,"pushed_at":"2019-01-05T19:41:05.000Z","size":18177,"stargazers_count":42,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-22T10:35:08.621Z","etag":null,"topics":["camera","chicken","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schollz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-29T16:40:25.000Z","updated_at":"2023-06-16T16:22:24.000Z","dependencies_parsed_at":"2022-09-26T20:01:40.562Z","dependency_job_id":null,"html_url":"https://github.com/schollz/chickencam","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/schollz%2Fchickencam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fchickencam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fchickencam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schollz%2Fchickencam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schollz","download_url":"https://codeload.github.com/schollz/chickencam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250221549,"owners_count":21394725,"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":["camera","chicken","raspberry-pi"],"created_at":"2024-10-01T23:21:35.610Z","updated_at":"2025-04-22T10:35:20.556Z","avatar_url":"https://github.com/schollz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi ChickenCam in 10 easy steps\n\n![](https://raw.githubusercontent.com/schollz/hens/master/server/static/img/chicken.png)\n\n## Requirements\n\n- [Raspberry Pi](http://amzn.to/2z1ObiI)\n- [Camera without IR filter](http://amzn.to/2yhhs9Q)\n- [Weatherproof extension cord](http://amzn.to/2zkm4vY) + [Outlet tap](http://amzn.to/2z3RENV)\n- [3D enclosure, specially fitted](http://amzn.to/2z2YGlR)\n- [Infrared illuminator](http://amzn.to/2zjpxLy)\n- [USB microphone](http://amzn.to/2z1ZlEg)\n- [Chickens](https://cse.google.com/cse?cx=008732268318596706411:nhtd4cwl5xu\u0026q=chickens\u0026oq=chickens\u0026gs_l=partner.3...1329.2438.0.2513.10.9.0.1.1.0.152.791.3j5.8.0.gsnos%2Cn%3D13...0.981j163459j9j1..1ac.1.25.partner..4.6.472.KwyGWJjj03s#gsc.tab=0\u0026gsc.q=chickens%20for%20sale\u0026gsc.sort=)\n- Too much time on your hands\n\n\n## 1. Setup Raspberry Pi\n\nPlug in the USB microphone, install new image of [Raspbian](https://www.raspberrypi.org/downloads/raspbian/), and attach the camera. Setup the camera using `raspi-config` and then setup the following.\n\n## 2. Setup  [Wifi](https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md)\n\nMake sure this WiFi will work outside.\n\n`sudo vim /etc/wpa_supplicant/wpa_supplicant.conf`\n\n    network={\n      ssid=\"SOMETHING\"\n      psk=\"PASSWORD\"\n    }\n\n\n## 3. Download packages\n\n```\nsudo apt-get install apcalc python3 python3-setuptools zsh \\\n    openssh-server openssh-client tree git vim htop python3-pyaudio \\\n    python3-pil python3-numpy python3-rpio.gpio lame imagemagick\n```\n\n## 4. [Setup audio](http://raspberrypi.stackexchange.com/questions/37177/best-way-to-setup-usb-mic-as-system-default-on-raspbian-jessie)\n\n`sudo nano /usr/share/alsa/alsa.conf` scroll down until you find the lines\n\n    defaults.ctl.card 0\n    defaults.pcm.card 0\n\nand change them to\n\n    defaults.ctl.card 1\n    defaults.pcm.card 1\n\n## 5. Install Go\n\nDownload [Go1.7+](https://golang.org/dl/) and install.\n\n## 6. Build enclosure\n\nHere's mine:\n\n![](https://raw.githubusercontent.com/schollz/chickencam/master/server/static/img/enclosure.jpg)\n\n\n## 7. Start chicken monitoring\n\nOn the Raspberry Pi, do the following:\n\n```\ngit clone https://github.com/schollz/chickencam.git\ncd chickencam\nnano conf.py # edit SERVER_LOCATION with the your particular server\ngo build -o sunset\nsudo python3 main.py\n```\n\n## 8. Start web server\n\nThis should be done on the server (which can also be the raspberry pi):\n\n```\ngit clone https://github.com/schollz/chickencam.git\ncd chickencam/server\ngo build\n./server\n```\n\n## 9. Enjoy your chickens popping in to say hello\n\n![](https://raw.githubusercontent.com/schollz/chickencam/master/server/static/img/poppingin.jpg)\n\n## 10. There is no step 10\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschollz%2Fchickencam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschollz%2Fchickencam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschollz%2Fchickencam/lists"}