MotionEye

Aplicación muy interesante, permite tener un sistema de vigilancia muy potente y sencillo de utilizar vía web.

If you want to use the CSI camera module for the Raspberry PI, you need to add bcm2835-v4l2 to /etc/modules and reboot.

Descargamos el paquete del sitio oficial o desde mi repositorio:

#Sitio Oficial
wget https://github.com/ccrisan/motioneye/wiki/precompiled/ffmpeg_3.1.1-1_armhf.deb

#Mi repositorio

dpkg -i ffmpeg_3.1.1-1_armhf.deb

Eliminamos paquetes anteriores que puedan ser incompatibles:

apt-get remove libavcodec-extra-56 libavformat56 libavresample2 libavutil54

Instalamos los paquetes:

apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 v4l-utils

Descargamos la aplicación motion:

#Sitio Oficial
wget https://github.com/ccrisan/motioneye/wiki/precompiled/motion-mrdave-raspbian -O /usr/local/bin/motion

#Mi repositorio

chmod +x /usr/local/bin/motion

Ejecutamos:

pip install motioneye

Preparamos el directorio;

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.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye

Para actualizar motion a la última version:

pip install motioneye --upgrade
systemctl restart motioneye

Ya podemos acceder a nuestra apliación web:

http://[your_ip]:8765/

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.