Skip to content

saubury/catfit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

Snowy’s eating — tweeting my cats weight & dining habits with a Raspberry Pi

Our cat Snowy 😸 has been enjoying her meals over winter. I wanted to start collecting data on her eating habits, and analyse her weight over time. This data is collected with food and cat weight measurements; alongside phots taken by two cameras. Data is collected and images processed locally using a Raspberry Pi.

Diagram indicting two scales and camera placement

Setup

  • Clone this repo

Python and Pip setup

  • Ensure Python 3, virtualenv and pip are installed.
which python3

virtualenv -p `which python3` venv
source venv/bin/activate
python --version
pip --version
pip install -r requirements.txt 

Submodule Setup

git submodule add https://github.com/tatobari/hx711py
 git submodule update --init --recursive

Service Setup

sudo cp catfit.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable catfit.service
sudo systemctl start catfit.service

General checks

General checks for determining what's going on with the service.

sudo systemctl status catfit.service
sudo journalctl -u catfit.service -b
sudo journalctl -u catfit.service -b -f
ps -ef | grep catfit | grep -v grep

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published