Hier zeige ich euch wie ihr motionEye mit Motion manuell installiert. Hier habe ich die Installation auf Debian (armbian) vorgenommen.
Die Installation:
Zu allererst sollte man das System aktualisieren:
apt-get update && apt-get ugrade
Die benötigten Pakete installieren:
apt-get install motion ffmpeg v4l-utils libmicrohttpd12
Aktuellste Version von Motion herunterladen:
Primär hier schauen: https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_stretch_motion_4.2.2-1_armhf.deb
Wenn für euch nichts Passendes da ist (z.B. fehlte für mich hier armhf (ohne PI vorne), könnt ihr hier meine aktuelle kompilierte Version herunterladen:
Die Installierte Motion Version Anzeigen:
motion -h
Weitere benötigte Pakete installieren:
apt-get install python-pip python-dev python-setuptools curl libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
Überprüfen ob Python 2.7 oder höher installiert ist:
python -V
motionEye installieren:
pip install -U wheel
pip install motioneye
Konfigurationsordner vorbereiten:
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
Medienordner vorbereiten:
mkdir -p /var/lib/motioneye
motionEye dem Systemstart hinzufügen und starten:
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service systemctl daemon-reload systemctl enable motioneye systemctl start motioneye
Zugriff auf das Webinterface:
Webseite über Port 80 erreichbar machen:
iptables -t nat -A PREROUTING -i enx001e06366e51 -p tcp –dport 80 -j REDIRECT –to-port 8765
Weitere nützliche Infos:
Die Aktuell publizierte Version findet ihr auf:
https://github.com/ccrisan/motioneye/releases
motionEye updaten:
pip install motioneye –upgrade
Neustarten:
systemctl restart motioneye