Read the statement by Michael Teeuw here.
MMM-voice ugly hdmi banner
-
@dazza120 https://motion-project.github.io/motion_build.html
To install via apt, open up a terminal window and type: sudo apt-get install motion -
@sdetweil said in MMM-voice ugly hdmi banner:
sudo apt-get install motion
Your joking! So is that the packaged installed with that command? As what I was looking at was totally different to this. Thanks for your help.
-
@dazza120 from github project page
Motion, a software motion detector. Home page: https://motion-project.github.io/click documentation and then
https://motion-project.github.io/motion_guide.html -
@sdetweil i have followed it as best as i could i have the package installed and have located the motion folder in my user directory but for the life of me i cant find this motion.conf file to insert your script.
-
motion config is done in /etc/motion/motion.conf
i just added a line in the readme about that -
@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$ -
ok, that ; is a comment in the motion conf file, just like #… have to remove it
note that the on event end has an extra token there that neds to be removed
on_event_end value -
@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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login