Bash script to send a motion detection notification using Telegram
ssh
into you MotionEyeOs unit, copy the script to /data/bin/telegram.sh
and and change permissions to make the script executable.
In MotionEyeOs settings, change the motion notification settings to trigger our script: