Read the statement by Michael Teeuw here.
MMM-voice ugly hdmi banner
-
@sdetweil yes it is do i have to remove the # aswell?
-
@dazza120 no, there is no # on those two lines
-
@sdetweil no on the two lines above it
-
@dazza120 no, those are comments to explain what these lines do
-
@sdetweil ok cool so this is how i have it now
# Command to be executed when an event starts. (default: none) # An event starts at first motion detected after a period of no motion defined by event_gap on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started # Command to be executed when an event ends after a period of no motion # (default: none). The period of no motion is defined by option event_gap. on_event_end /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion ended
-
@dazza120 looks good
-
@sdetweil thanks ive done this command chmod +x external_motion but i don’t see an outcome it just re turns to pi@raspberrypi:~/MagicMirror/modules/MMM-SleepWake
whole commandline below
pi@raspberrypi:~/MagicMirror/modules/MMM-SleepWake $ chmod +x external_motion
-
@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
-
@sdetweil u start the motion tool with sudo motion &
And u can see it’s actions in /var/log/motion/motion.log
The tail command will show you the last few lines (default 20) of a file
-
@sdetweil i’ll have a look tomorrow, thanks very much for your help much appreciated for your help