Skip to content

jroscoe5/catbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

catbox

Catbox is an entertainment system for cats (and other pets).

Designed for Rapberry Pi 4 with some future modules integrating sensors, can be run on a pc as long as the relevant sensor modules are left out of the modules_list. Tested on Windows and Ubuntu.


Setup

  1. Clone or download the repo and ensure Python 3.6 or greater is installed.

  2. POSIX Chromedriver installation - ask Jonnie

  3. Navigate to the root project directory and create a virtual environment.

    python -m venv .env

  4. Activate virtual environment.

    Windows

    .env\Scripts\activate.bat

    POSIX

    .env/bin/activate

  5. Ensure pip is up to date.

    pip install --upgrade pip

  6. Install required modules.

    pip install -r requirements.txt

  7. Launch catbox :)

    python src/catbox.py


Adding Modules

  1. To add your own custom modules, create a sub folder under src\modules and title it with the name of your new module.

  2. Create the module.py file inside and inherit from the BaseModule.

  3. Write your module and make sure any new signals are added to the BaseModule's codes dictionary.

  4. Once finished, remember to add your module to the modules_list in src\modules\__init__.py

  5. Remember, each module runs in it's own thread! Lastly, PR your module if you think its cool!

About

Catbox is an entertainment system for cats (and other pets).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •