@dazza120 right. That makes my script executable, so motion can execute it
Now u will see files appear in the MMM-SleepWake/motion folder
When the motion module detects motion, and when it ends.
My module uses those files
@dazza120 its just one script… external_motion… you pass it a parm, started or ended
you need to configue both started and ended, else it can’t sleep thinking motion is still going on
note that because it is in the /etc folder tree, you must use sudo in front of your editor to get write permission