Read the statement by Michael Teeuw here.
MMM-voice ugly hdmi banner
-
@sdetweil thank you, i have located it with your help, ill work on this when im not at work thanks, so its just a case of adding one of your scripts? think ill just use the start one
-
@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 onnote that because it is in the /etc folder tree, you must use sudo in front of your editor to get write permission
-
@sdetweil motion.conf won’t let me edit it, or rather the pi won’t any way around this?
-
sudo nano /etc/motion/motion.conf
nano or whatever editor you choose…
-
also just noticed that the execute bit is not set on the script… SO
cd modules/MMM-SleepWake
chmod +x external_motion -
@sdetweil so is it just this part i need to put on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
-
@dazza120 correct… and right below it the same with ended as the parm for the motion ended notice
-
@sdetweil im leaving it with the ; in the command line?
-
@dazza120 the example doesn’t have ;
on_event_start /home/{userid}/MagicMirror/modules/MMM-SleepWake/external_motion started
-
@sdetweil no it this is what its like i hope this is correct?
# Command to be executed when an event starts. (default: none) # An event starts at first motion detected after a period of no motion defined $ ; on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion sta$ # 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 value /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion$