motion tracker for raspberry pi with camera module that sends photos and videos on motion detection to a given telegram chat bot
- install telegram on your device
- create your own telegram bot
- clone this repo to your pi
- create a
.env
fileBOT_TOKEN=[YOUR_BOT_TOKEN]
- install node
- install dependencies
npm i
- start app
npm run start
- [optional] for development, install nodemon
- [optional] for production, install forever
- [optional] for automatic start on reboot, use crontab
@reboot BOT_TOKEN=[YOUR-BOT-TOKEN] forever start /path/to/project/index.js