I needed a automatic feeder for my cat, so he would stop waking me up:


Additionaly, I did integrated it with my home automation based on Home Assistant:



Now everyday from 6:00 to 23:00 my cat receives his portion of food. Additionaly thanks to International Space Station sensor, every time the station is above my home location he gets bonus feeding.

- alias: 'Feed the cat' trigger: - platform: state entity_id: 'binary_sensor.iss' from: 'off' to: 'on' - platform: state entity_id: calendar.cat_feeding from: 'off' to: 'on' action: - service: cat_feeder.feed - service: notify.all data: message: 'Cat have been feeded!'

Source code

  • Last update: ( almost 2 years ago )
  • Size: 15 Bytes