Skip to content

martino1988/Raspi-Babymonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Raspberry Pi - Babymonitor/-phone

Front Side
babycam1 babycam1-1
Babycam Day (Desktopbrowser) Babycam Night (Mobilebrowser)
Bildschirmfoto vom 2022-06-05 09-46-42 WhatsApp Image 2022-06-07 at 20 45 00

Audiostream-Server

Bildschirmfoto vom 2022-06-05 09-55-22(2)

Hardware

Installation

Raspi

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

RPi-Cam-Web-Interface

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

Icecast 2

see: https://wiki.ubuntuusers.de/Icecast2/

sudo apt-get install icecast2

choose your configuration

Darkice

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

Latency

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>

TODO

  • Cablemanagement

  • Better Mount for the PiCam

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published