Python script to send alert image to Telegram along side slflowfoon/blueiris-llm
Place the following file in a folder named after the camera, for example, C:\Users\MyUser\Documents\Blue Iris\Driveway\
:
__init__.py
- In Blue Iris, create the following action on alert:
- Action:
Run program/script
- File:
C:\Users\MyUser\Documents\Telegram\__init__.py
- Parameters:
--response "%1" --img_path "D:\Directory\Where\Alert\Images\Are\Saved\&ALERT_PATH"
- Tip:
--response "%1"
can be changed for--response "&MEMO"
if you're not using slflowfoon/blueiris-llm
- Tip:
- Camera: Choose the camera your are setting up, for example,
Driveway
- Action:
https://smarthomepursuits.com/how-to-setup-a-telegram-bot/
TELEGRAM_BOT_TOKEN
CHAT_ID