Hier wird haarklein erklärt, worauf zu achten ist. What to do if your camera is not detected
Mein Fehlversuch und Lösung. Unbedingt darauf achten, das richtige Kabel zu verwenden!
rpicam-hello --list-cameras
libcamera-hello
Ein hartes Brot bis dahin! Tagelange Suche und immer wieder Fehlschläge. Mit „Picamera2 WebUI Lite“ hat es dann endlich funktioniert, und zwar auf Anhieb!
sudo apt update && sudo apt upgrade -y
wget https://github.com/monkeymademe/picamera2-WebUI-Lite/archive/refs/heads/main.zip
unzip main.zip
cd picamera2-WebUI-Lite-main/
python app.py
nano picamera2.sh
cd /home/cs/picamera2-WebUI-Lite-main python app.py
sudo nano /lib/systemd/system/picam.service
[Unit] Description=Start picam After=multi-user.target [Service] ExecStart=/usr/bin/bash /home/cs/picamera2-WebUI-Lite-main/picamera2.sh 2>&1 [Install] WantedBy=multi-user.target
sudo chmod 644 /lib/systemd/system/picam.service
sudo systemctl daemon-reload sudo systemctl enable picam.service sudo systemctl start picam.service
http://192.168.178.213:8080/
In Octoprint unter Einstellungen → Classic Webcam → Stream-URL „http://192.168.178.213:8080/video_feed“ eintragen