Telegram bot that sends an image or a short gif on alerts triggered in Blue Iris
NodeJS (https://nodejs.org/en/)
FFMPEG for creating gifs (https://ffmpeg.zeranoe.com/builds/)
- Either use git clone (if you have git installed) or download this repo as zip and unpack it
- Use NodeJS command line tool and navigate to the folder
- Use npm install inside project folder to install all the dependencies
- Fill out the conf.json file with your settings
- Use npm start to start the telegram bot
- Send a message containing /start to the bot in Telegram
- Copy the chat id in the NodeJS command line into the
ALLOWED_USER
section in conf.json e.g."ALLOWED_USER": [11111111]
- In Blue Iris add an alert trigger using webhook with the following url
http://ip-of-nodejs-server:3000/snapshot?camera=&CAM
If ffmpeg can not be found, make sure to add it to the windows PATH (e.g. c:\ffmpeg\bin)