Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Published © CC BY-NC-SA

Chicken Coop Livestream

We have two chickens, and their coop is located at the back of the garden. I decided to build a Pi-based streaming device to check on them.

BeginnerFull instructions provided2 hours8,551
Chicken Coop Livestream

Things used in this project

Hardware components

Raspberry Pi Zero
Raspberry Pi Zero
×1
Pi Supply Bright Pi
×1
Raspberry Pi Pi NoIR Camera V2
×1
Raspberry Pi Zero Case
×1
Raspberry Pi USB Wifi Dongle
×1

Software apps and online services

MotionEyeOS

Story

Read more

Code

Code snippet #2

Python
[root@meye-1d01a2ec etc]# cat light_off_1
#!/usr/bin/env python
 
from os import system
 
system("i2cset -y 1 0x70 0x00 0x00")

Code snippet #3

Python
[root@meye-1d01a2ec etc]# cat light_on_1
#!/usr/bin/env python
 
from os import system
 
system("i2cset -y 1 0x70 0x00 0xa5")

Code snippet #4

Plain text
# Disable the ACT LED on the Pi Zero.
dtparam=act_led_trigger=none
dtparam=act_led_activelow=on
 
# Disable the LED on the Pi Camera
disable_camera_led=1

Github file

https://github.com/ccrisan/motioneyeos/wiki

Github file

https://github.com/ccrisan/motioneye/wiki/Action-Buttons

Credits

Comments