Skip to content

r-dvl/cat-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cat Detector

Motion detector with Telegram controls and notifications used to spy on my cats when I'm not at home.

Requirements

  • Webcam
  • Telegram bot
  • Chat ID
  • Docker

Webcam

Any webcam recognized by the computer will work, it is streamed in http://0.0.0.0:8888

Telegram bot

To control and receive notifications, you will need to create a Telegram bot (using Botfather bot in Telegram for example https://t.me/botfather).

Chat ID

You don't want other people to be monitoring and viewing your cats' photos, so you'll need to create a chat on Telegram, add your bot and get the chat ID (there are many bots in Telegram that returns your chat ID like https://telegram.im/@rawdatabot).

Docker

Just run the image introducing your bot token and chat id with:

docker run -e BOT_TOKEN=[YOUR_BOT_TOKEN] -e CHAT_ID=[YOUR_CHAT_ID] ghcr.io/r-dvl/cat-detector:latest

And now enjoy watching them destroy your home.

Crazy cats detected