Metainformationen zur Seite
  •  

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
digitales:software:raspian:camera [15.03.2024] – [Streaming] csdigitales:software:raspian:camera [24.04.2025] (aktuell) – ↷ Seite von digitales:sdr:software:raspian:camera nach digitales:software:raspian:camera verschoben cs
Zeile 1: Zeile 1:
-====== Camera RPi5 ======+====== Camera Module 3 on RPi5 ======
  
   * [[https://www.raspberrypi.com/documentation/computers/camera_software.html#introducing-the-raspberry-pi-cameras|Introducing the Raspberry Pi cameras]]   * [[https://www.raspberrypi.com/documentation/computers/camera_software.html#introducing-the-raspberry-pi-cameras|Introducing the Raspberry Pi cameras]]
   * [[https://www.raspberrypi.com/documentation/accessories/camera.html|About the Camera Modules]]   * [[https://www.raspberrypi.com/documentation/accessories/camera.html|About the Camera Modules]]
-  * [[https://forums.raspberrypi.com/viewtopic.php?t=362707|What to do if your camera is not detected]]+ 
 +Hier wird haarklein erklärt, worauf zu achten ist.  [[https://forums.raspberrypi.com/viewtopic.php?t=362707|What to do if your camera is not detected]] 
 + 
 +Mein Fehlversuch und Lösung. Unbedingt darauf achten, das richtige Kabel zu verwenden! 
   * [[https://forums.raspberrypi.com/viewtopic.php?p=2201897#p2201897|Raspberry Pi Camera Module 3 not available on RPi 5/bookworm]]   * [[https://forums.raspberrypi.com/viewtopic.php?p=2201897#p2201897|Raspberry Pi Camera Module 3 not available on RPi 5/bookworm]]
   * Display-Kabel statt [[https://www.berrybase.de/raspberry-pi-camera-cable-standard-mini-500mm|Raspberry Pi Camera Cable, Standard - Mini]] verwendet!   * Display-Kabel statt [[https://www.berrybase.de/raspberry-pi-camera-cable-standard-mini-500mm|Raspberry Pi Camera Cable, Standard - Mini]] verwendet!
Zeile 20: Zeile 24:
 ===== Streaming ===== ===== Streaming =====
  
-Ein hartes Brot!+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!
  
   * [[https://www.tomshardware.com/raspberry-pi/how-to-control-your-raspberry-pi-camera-using-a-web-ui|How to Control your Raspberry Pi Camera using a web UI]]. Das funktioniert   * [[https://www.tomshardware.com/raspberry-pi/how-to-control-your-raspberry-pi-camera-using-a-web-ui|How to Control your Raspberry Pi Camera using a web UI]]. Das funktioniert
   * [[https://github.com/monkeymademe/picamera2-WebUI-Lite|Picamera2 WebUI Lite (github)]]   * [[https://github.com/monkeymademe/picamera2-WebUI-Lite|Picamera2 WebUI Lite (github)]]
   * [[https://raspberrytips.com/how-to-live-stream-pi-camera/|How To Live Stream The Raspberry Pi Camera (2 Easy Ways)]]. Noch nicht ausprobiert.   * [[https://raspberrytips.com/how-to-live-stream-pi-camera/|How To Live Stream The Raspberry Pi Camera (2 Easy Ways)]]. Noch nicht ausprobiert.
 +
  
 ==== Einrichtung ==== ==== Einrichtung ====
 +
 +<code ->
 +sudo apt update && sudo apt upgrade -y
 +</code>
 +
 +=== Anwendung von github herunterladen ===
 +
 +<code ->
 +wget https://github.com/monkeymademe/picamera2-WebUI-Lite/archive/refs/heads/main.zip
 +</code>
 +
 +=== Entpacken ===
 +
 +<code ->
 +unzip main.zip
 +</code>
 +
 +=== Anwendung starten ===
 +
 +<code ->
 +cd picamera2-WebUI-Lite-main/
 +</code>
 +
 +<code ->
 +python app.py
 +</code>
 +
 +==== Bei jedem Systemstart Anwendung starten ====
 +
 +=== Script anlegen ===
 +
 +<code ->
 +nano picamera2.sh
 +</code>
 +
 +<code bash picamera2.sh>
 +cd /home/cs/picamera2-WebUI-Lite-main
 +python app.py
 +</code>
 +
 +=== Mit systemd beim Booten starten ===
 +
 +<code ->
 +sudo nano /lib/systemd/system/picam.service
 +</code>
 +
 +<code bash /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
 +</code>
 +
 +<code ->
 +sudo chmod 644 /lib/systemd/system/picam.service
 +</code>
 +
 +<code ->
 +sudo systemctl daemon-reload
 +sudo systemctl enable picam.service
 +sudo systemctl start picam.service
 +</code>
 +
 +
 +==== Anwendung aufrufen ====
 +
 +[[http://192.168.178.213]]:**8080**/
 +
 +==== Einbindung des Video-Streams in Octoprint ====
 +
 +In Octoprint unter Einstellungen -> Classic Webcam -> Stream-URL "[[http://192.168.178.213:8080/video_feed]]" eintragen
 +
 +==== Einbindung Snapshot & Zeitraffer in Octoprint ====
 +
 +[[https://github.com/monkeymademe/picamera2-WebUI-Lite/issues/31#issuecomment-2002164553| Implement snapshot #31 (github)]]