motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.99k stars 655 forks source link

raspberry pi os + motioneye, missing options in Camera Type menu #2083

Open jivkottt opened 3 years ago

jivkottt commented 3 years ago

I install motioneye on Raspberry Pi OS but when i try to add network camera the option missing at the menu. also missing onother options. there is only two: remote motioneye camera and single MJPEG camera. Can you help me to add another types? is it possible? https://i.ibb.co/Zf022qf/IMG-20210331-200724.jpg

starbasessd commented 3 years ago

You have a corrupted install. motion version is missing in Settings, General Make sure you follow the steps in: https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian It can hang at 99% when installing python-pillow, which means you need to use apt-get install python-pil and rerun pip install motioneye or start over (no need to fully re-image) with the install, and follow these steps: sudo su apt-get install ffmpeg libmariadb3 libpq5 libmicrohttpd12 wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb dpkg -i pi_buster_motion_4.2.2-1_armhf.deb apt-get install python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev apt-get install python-pil 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.service systemctl daemon-reload systemctl enable motioneye systemctl start motioneye You should then be able to connect to the WebGUI, at port 8765. Go to Settings, General, and look for motion Version. It should be 4.2.2 if you followed the instructions above. You should also be able to add all supported versions of cameras.

jivkottt commented 3 years ago

thank you very mach! you are right. now all it's ok. but I think will be better if you add in manual point 3.1 apt-get install python-pil https://ibb.co/gwCLVW3

starbasessd commented 3 years ago

A lot of python users have python-pil/pyhon-pillow already installed, and the python-pillow instruction works for older versions of Raspbian (before RaspberryPiOS). I may create a second set like the Ubuntu 19.10 and Earlier vs 20.04 and later...