HUB
Sign inSign up

lmacka/coopi

By lmacka

•Updated almost 2 years ago

A fancy chicken coop door opener on a Raspberry Pi Zero

Image
0

3.0K

lmacka/coopi repository overview

⁠A Raspberry Pi in a Chicken Coop

Python Version Dependencies Pylint Status

GHCR Build Status Docker Build Status Docker Pulls Docker Stars Docker Image Size Docker Automated Build

This is a simple door controller running on a Pi Zero to allow ad-hoc and scheduling of coop door operation.

The Exodus

⁠Requirements

Circuit design

Finished installation Controller

⁠Quickstart

To get started with the door controller software, follow these steps:

  1. Install the necessary dependencies. You can do this by running the following command:

    sudo apt-get install nginx python3-flask python3-rpi.gpio
    
  2. Next, navigate to the extras/ directory. You may need to modify these files to suit your environment.

  3. 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.

  4. 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.

  5. 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
    
  6. Browse to http://your-ip⁠ to access the door controller web UI.

UI

Tag summary

Content type

Image

Digest

sha256:c983ee3fe…

Size

127.4 MB

Last updated

almost 2 years ago

docker pull lmacka/coopi