petfeedd, the daemon I wrote for my Raspberry Pi-powered cat feeders has been updated to fix a number of bugs people were seeing attempting to install it since I originally wrote it in 2017.
Perhaps the biggest change is Docker support! That’s right, if you just want to run petfeedd, now you can do it in just three commands! No more installing various libraries and things (but that approach still works as well.)
Full changelog can be found on Github. Instructions for using the shiny new Docker containers can be found in the README file. In short, the procedure is:
-
Install Docker on your Raspberry Pi. You may need to log out and back in if you get permission errors.
-
docker pull peckrob/petfeedd-arm32v7:0.2
. Be patient, it will take a bit. -
sudo touch /opt/petfeedd.db && sudo chown pi: /opt/petfeedd.db
-
docker run --privileged -v /opt/petfeedd.db:/petfeedd/petfeedd.db -p 0.0.0.0:8080:8080 peckrob/petfeedd-arm32v7
Navigate to the IP of your Raspberry Pi on port 8080, and you should see petfeedd running. It takes a bit to start, so give it about 20-30 seconds to get going. It will run with the defaults, but in order for it to be useful, you’ll need to configure it.