Professional Documents
Culture Documents
0
Motioneye (OPI)
Started by Tom_Neverwinter, September 27, 2016
Tom_Neverwinter
September 27, 2016
There have been several disjointed tutorials on making a raspberrypi or orangepi into a surveillance camera. So I
threw this together to maybe help someone out there with any issues.
I used the orangepipc+ but any orangepi board should work as long as it has the basics, internet connectivity,
storage, and a camera. (I highly suggest heatsinks as well)
2
8 posts
any feedback or enhancements to this tutorial are greatly appreciated.
------------------------------------------------------------------
ORANGEPI IPCAMERA
------------------------------------------------------------------
su root
apt‐get update
apt‐get upgrade
apt‐get install
wget https://github.com/ccrisan/motioneye/wiki/precompiled/ffmpeg_3.1.1‐1_armhf.deb
dpkg ‐i ffmpeg_3.1.1‐1_armhf.deb
apt‐get remove libavcodec‐extra‐56 libavformat56 libavresample2 libavutil54
apt‐get install python‐pip python‐dev curl libssl‐dev libcurl4‐openssl‐dev libjpeg‐dev libx264
wget https://github.com/Motion‐Project/motion/releases/download/release‐4.0.1/pi_jessie_motion_4.0.1‐
dpkg ‐i pi_jessie_motion_4.0.1‐1_armhf.deb
pip install motioneye
mkdir ‐p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
mkdir ‐p /var/lib/motioneye
cp /usr/local/share/motioneye/extra/motioneye.systemd‐unit‐local /etc/systemd/system/motioneye
systemctl daemon‐reload
systemctl enable motioneye
systemctl start motioneye
sudo modprobe gc2035
sudo modprobe vfe_v4l2
systemctl restart motioneye
After having successfully followed the installation instructions, the motionEye server should be running on your
system and listening on port 8765. Fire up your favorite web browser and visit the following URL
(replacing [your_ip] with... well, your system's IP address):
http://[your_ip]:8765/
Use admin with empty password when prompted for credentials. For further details on how to con gure
motionEye, see Con guration.
------------------------------------------------------------------
FOR UPDATES;
------------------------------------------------------------------
pip install motioneye --upgrade
systemctl restart motioneye
sudo nano /etc/motioneye/motioneye.conf
ctrl+x then y (nano)
Modi y the motion.con g le to turnoff localhost;
stream_localhost off
change the port to 80 from 8765 if desired by;
systemctl enable motion
systemctl start motion
Tutorial sources;
https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=941
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1988 (some resources for motion)
http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/(VERY OLD)
WIP tutorial, I want to add a version with facial recognition using openface and a version using ALPR (automatic
license plate recognition, as the orangepi systems can have 2GB of ram)
Update 1 09/30/16;
seems there is a issue with motioneye and being unable to nd the csi camera. I'm trying to nd a work around,
any help is appreciated.
Update 2 11/05/2016
Updated motioneye installation
added information on motion and basic setup (incomplete)
the editor seems to be breaking my wget addresses
I forgot to add the login information and frontend... *DOH*
B.K.O.
November 27, 2016
B.K.O.
November 27, 2016
0
but i still need it on OPiOne and Lite
https://forum.armbian.com/index.php?/topic/2168motioneyeopi/ 2/4
4/13/2017 Motioneye (OPI) Free Armbian forum
5 posts
manuti
November 27, 2016
You can try Orange Pi PC Beta image with Xenial and mainline kernel with the Orange Pi One and Lite.
19
118 posts
B.K.O.
November 28, 2016
Where do i get those Armbian Xenial 16.04? You arent meaning 15.10 xulong ...
0
5 posts
manuti
November 28, 2016
On 11/28/2016 at 9:18 AM, B.K.O. said:
Where do i get those Armbian Xenial 16.04? You arent meaning 15.10 xulong ...
19
118 posts In the of cial Daily Beta Preview â–º http://image.armbian.com/betaimages/
Here you can nd (at today) an image called → Armbian_5.24.161127_Orangepipc_Ubuntu_xenial_4.9.0.img
You can use on Orange Pi One but remember: is beta and don't have HDMI support, you must con g by SSH or
Serial.
B.K.O.
December 1, 2016
https://forum.armbian.com/index.php/topic/1000-read-only- le-system/
https://hallard.me/raspberry-pi-read-only/
0
5 posts
or do we have to wait for Network booting on H5 (NOR Flash ...)
im trying to get to a system with watchdog timer, POE, ... for least maintenance
moshel
January 29
Hi,
I am very keen on installing motioneye on my orangepi zero. followed your instructions but getting :
root@orangepizero:~# apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev
0
libx264-142 libavcodec56 libavformat56 libmysqlclient18 libswscale3 libpq5
2 posts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libmysqlclient18 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libx264-142
https://forum.armbian.com/index.php?/topic/2168motioneyeopi/ 3/4
4/13/2017 Motioneye (OPI) Free Armbian forum
Tom_Neverwinter
February 10
Looks like something changed and this is broken again I'll try and get it up and working this week
2
8 posts
moshel
February 24
Regards,
Moshe
0
2 posts
GO TO TOPIC LISTING
Free
Theme Contact Us
Designed by IPS Themes
Community Software by Invision Power Services, Inc.
https://forum.armbian.com/index.php?/topic/2168motioneyeopi/ 4/4