Script for pushing notifications to Discord when a motion is detected on your MotionEyeOS device
Inital version created by Bluscream and IAmOrion
Originally copied from here: motioneye-project/motioneyeos#1557 (comment) and then modified slightly
- Create a Discord webhook. See here
- Save notify-discord.py as /data/etc/notify-discord.py on your MotionEyeOS device
- Add the example command below in the MotionEyeOS UI under: Settings > File Storage > Run A Command
python /data/etc/notify-discord.py -n "Kitchen Camera" -p %f --usetitle -q %q -t "%d/%m/%Y - %H:%M:%S" -v %v --hookid "someid" --hooktoken "sometoken"