Motion detector with Telegram controls and notifications used to spy on my cats when I'm not at home.
- Webcam
- Telegram bot
- Chat ID
- Docker
Any webcam recognized by the computer will work, it is streamed in http://0.0.0.0:8888
To control and receive notifications, you will need to create a Telegram bot (using Botfather bot in Telegram for example https://t.me/botfather).
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).
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.