Creating a surveillance system using motioneye and raspberry pi
Guide this is based on - https://pimylifeup.com/raspberry-pi-security-camera/
First, format a raspberry Pi with the default raspberry Pi OS, then enter these commands.
sudo apt update
sudo apt upgrade
sudo apt --no-install-recommends install ca-certificates curl python3 python3-dev libcurl4-openssl-dev gcc libssl-dev
sudo python3 -m pip config set global.break-system-packeges true
sudo apt install python3
sudo apt install software-properties-common -y
sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old
sudo python3 -m pip install --pre motioneye
use apt update and upgrade again
sudo motioneye_init
After installing motion eye use hostname -I for the IP
Now, factory reset the cameras while they are plugged in with POE. Look at the information on the camera for the MAC address and use the command “arp -a” to find the same mac address and the IP it uses(if arp -a doesnt work use a tool like dipscan.). Connect to said IP address with your browser to confirm it works.
Type your motioneye IP into the browser and log on with the username admin and a blank password. Then click add a new camera and use the drop down to select network camera. In the URL field use “rtsp://cameraipadress:” and the log in info. Your camera should now show up in the GUI.