Cat Deterent
Posted: Wed Mar 13, 2013 3:36 pm
I have been having problems with either a cat or a fox fouling my lawn.
I have used my Raspberry Pi to set up a web cam using Motion to detect and take pictures and have been able to see both foxes and cats in the garden (although I haven't caught them in the act yet).
I have used the web cam in conjunction with a stand alone PIR Security light and that seems to act as a deterrent at night the animals skirting the illuminated area.
I have also configured motion to send me an email and a text when movement is detected, thanks to others on this forum.
I would now like motion to play a sound when movement is detected (a dog barking).
I have tried a number of music players (moc, vlc and mpg123) to play an mp3 triggered by motion but have been unsuccessful.
I can get the players to work (well not mpg123) from the command line but not from motion.
Any help would be appreciated but please be aware I am a complete novice.
Thank you
Carol
I have used my Raspberry Pi to set up a web cam using Motion to detect and take pictures and have been able to see both foxes and cats in the garden (although I haven't caught them in the act yet).
I have used the web cam in conjunction with a stand alone PIR Security light and that seems to act as a deterrent at night the animals skirting the illuminated area.
I have also configured motion to send me an email and a text when movement is detected, thanks to others on this forum.
I would now like motion to play a sound when movement is detected (a dog barking).
I have tried a number of music players (moc, vlc and mpg123) to play an mp3 triggered by motion but have been unsuccessful.
I can get the players to work (well not mpg123) from the command line but not from motion.
Any help would be appreciated but please be aware I am a complete novice.
Thank you
Carol