Front | Side |
---|---|
Babycam Day (Desktopbrowser) | Babycam Night (Mobilebrowser) |
---|---|
Audiostream-Server
-
Raspi 3B
-
Raspberry Pi Kamera Modul mit Automatik Infrarot-Sperrfilter https://www.amazon.de/gp/product/B07XTBQ1BN/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
-
USB Mikrofon https://www.amazon.de/gp/product/B091SVZM7T/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
-
Schwanenhals https://www.amazon.de/gp/product/B09BJ8NCSS/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&th=1
-
Raspi Case
burn image on sd card (e.g with raspberry pi imager) → use Raspberry Pi OS Lite (32-bit)
add a "ssh" file to the image-folder (standard credentials are pi:raspberry)
insert SSd Card, Ethernet-Cable, PiCam, Mic and power up the Raspi
check the ip address from your router
open a shell (e.g. powershell)
ssh pi@ip.add.re.ss (e.g. ssh pi@192.168.1.3)
enter password
Do updates:
sudo apt-get update && sudo apt-get dist-upgrade -y
see: https://elinux.org/RPi-Cam-Web-Interface
sudo raspi-config
3 Interface Options
P1 Camera (→ enable and reboot)
sudo apt-get install git
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git
cd RPi_Cam_Web_Interface
./install.sh
see: https://wiki.ubuntuusers.de/Icecast2/
sudo apt-get install icecast2
choose your configuration
see: https://wiki.ubuntuusers.de/Darkice/
sudo apt-get install darkice
sudo nano /etc/darkice.cfg
insert lines from file darkice.cfg (→ this repo!)
Darkice doesn't start at boot like icecast, so create a cronjob:
crontab -e
instert at bottom:
@reboot sleep 30 && /bin/darkice -c /etc/darkice.cfg
see: https://icecast.org/docs/icecast-2.4.1/config-file.html#limits
By default, the audio stream has an 8 to 10 second delay (caused by several components). To reduce this to a maximum of 2 - 3 seconds, you can reduce the burst size on the icecast server:
open icecast config file:
sudo nano /etc/icecast2/icecast.xml
<limits>
...
<!--<burst-size>65536</burst-size>-->
<burst-size>16</burst-size>
</limits>
-
Cablemanagement
-
Better Mount for the PiCam