Skip to content

rubengargar/diy-cheap-cat-feeder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY Home Assistant Cat Feeder - Using ESPHome and Home Assistant. WORK IN PROGRESS!

This catfeeder features quite a lot of tech! Besides its main funtion of a feeder itself, it also has:
An ultrasonic sensor to tell us when the feeder is low.
And ESPHome to tie it into your Home Automation system!
And it is really cheap!

Functions:

  • Feeding the cat by manual operation or automated by HA.
  • Measure remaining food by ultrasonic
  • Notify via Alexa TTS and Telegram about remaining food
  • Whatever you can imagine with Home Assistant!
  • Can run from a USB Powerbank, so it can run on the go or as a security feature as UPS

Thanks for checking this out! Here is what my prototype cat feeder looks like:
HA:

The cards named "test" is under a tab named development, so I can control and calibrate all the values from here, while I only show the "pretty" card in the main screen.

Hardware:

Here's what you need for hardware:

Around 35€ if you a have a spare charger at home. Even cheaper if you get bulk sensors and Lolins or WeMos from Bangood or Aliexpress. The most expensive item is the Dispenser and usually they aren't very well made... But if we got the mechanics and automations, a cilinder and a D shape rotary axis is really easy to make in 3d ;)

Here's what you need for software:

Currently working on:

  • Clean ultrasonic values (no negative values, no over 100% values)
  • Automate my excel list with my food providers to automatically show the cheapest one and trigger it by a commmand on Telegram/HA. Also scrapping prizes?

Todo List:

Thanks of the amazing work by:

Building it!

  • Compile the code inside EspHome and download the binary to install it with EspHome Flasher.
  • Fit the ultrasonic sensor below the lid with screws, some hot glue, whatever fits for you.
  • With a drill or dremel, drill a passthrough to connect the ultrasonic sensor to the Lolin. I use four pins, to make it detachable.

  • Screw the servo motor to the rotary handle.

  • Connect the pins as set below.
  • Connect your MicroUSB
  • Create the package for Home Assistant and restart the server.

  • Test your values with the test-card and hardcode the correct values as initial number in each input_number.
  • Define your automation

Releases

No releases published

Sponsor this project

Packages

No packages published