Playstation Eye

Ich nutze die PS3-Eye für meine Heimautomation. Die Mikrofone werden von der Spracherkennung genutzt und inzwischen die Kamera parallel dazu als Raumüberwachung. Die parallele Nutzung ging nicht sofort, da das Programm motion das device als 'in Benutzung' gesehen hat. Dazu habe ich dann motioneye installiert.

Motion installiert mithilfe der Webseite: https://gist.github.com/sidward35/132f2e0e85e505e92712a552cc716324

Mittels motioneye - leider nur python2 - geht es aber. Die Anleitung fand ich unter: https://wiki.instar.com/de/Erweitert/IOBroker_auf_Raspberry_Pi/motionEye/#installation-of-motioneye

sudo apt-get install python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
sudo pip2 install motioneye
sudo mkdir -p /etc/motioneye
sudo cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motion.conf
sudo mkdir -p /var/lib/motioneye
# später dann, wenn es automatisch laufen soll:
sudo cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
sudo systemctl daemon-reload
sudo systemctl enable motioneye
sudo systemctl start motion-eye

Fehler bei der Installation „MemoryError“ !? Suche in Google ergab:

sudo pip --no-cache-dir install motioneye

Starten und stoppen von der Kommandozeile:

sudo meyectl startserver -d -c /etc/motioneye/motion.conf # -d debug, -b steht für background. 'stopserver'
http://192.168.178.20:8765 (admin ohne pwd)
Add camera... Local V4L2 Camera / USB Camera B4.09.24.1

Jetzt läuft es, nach starten mittels

sudo meyectl startserver -d -c /etc/motioneye/motion.conf

Stand März 2022