apt-get install ffmpeg v4l-utils libmariadbclient18 libpq5 libmicrohttpd12
wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_stretch_motion_4.2.2-1_armhf.deb dpkg -i pi_stretch_motion_4.2.2-1_armhf.deb
apt-get install python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
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/systemmotioneye.service systemctl daemon-reload systemctl enable motioneye systemctl start motioneye
UPGRADE do najnowszej wersji:
pip install motioneye --upgrade systemctl restart motioneye
https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian