A fancy chicken coop door opener on a Raspberry Pi Zero
3.0K
This is a simple door controller running on a Pi Zero to allow ad-hoc and scheduling of coop door operation.


To get started with the door controller software, follow these steps:
Install the necessary dependencies. You can do this by running the following command:
sudo apt-get install nginx python3-flask python3-rpi.gpio
Next, navigate to the extras/ directory. You may need to modify these files to suit your environment.
Copy the system configuration files to the appropriate locations. For example, you can use the following commands to copy the files:
sudo cp extras/nginx.conf /etc/nginx/sites-enabled/default
sudo cp extras/config.service /etc/systemd/system/coopi.service
sudo systemctl daemon-reload
Make sure to replace /home/pi/coopi with the actual path to your project's directory.
Once the files are copied, open the config.py file and configure it according to your needs. This file contains various settings for the door controller, such as actuator cycle time and GPIO pin assignments.
After configuring config.py, restart nginx to apply the changes:
sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl enable coopi
sudo systemctl start coopi
Browse to http://your-ip to access the door controller web UI.
Content type
Image
Digest
sha256:c983ee3fe…
Size
127.4 MB
Last updated
almost 2 years ago
docker pull lmacka/coopi