- Install dependencies
yarn
- Copy .env.example to .env and put needed api keys
Motion config: on_movie_end node /path/to/motion-notifications/s3.js %f
To acquire Google Drive API keys go to https://console.developers.google.com/ To get TELEGRAM_TOKEN and TELEGRAM_CHAT_ID follow official instructions: https://core.telegram.org/bots
Motion config: on_movie_end node /path/to/motion-notifications/googledrive.js %f
It will create folder PiCamera on Google Drive and send notification with view link to Telegram
To get TELEGRAM_TOKEN and TELEGRAM_CHAT_ID follow official instructions: https://core.telegram.org/bots
Motion config: on_picture_save node /path/to/motion-notifications/telegram.js %f
Firstly setup Pushbullet account and acquire PUSHBULLET_TOKEN
Motion config: on_picture_save node /path/to/motion-notifications/pushbullet.js %f