The audio baby monitor running on Raspi
pifon is a project that realizes an audio baby monitor with 2 (or more) Raspberry Pis. A RPi is running the fon part of the project that records a continous audio streams and keeps looking for audio events, i.e. your baby cries and then reports those events to the other RPi called mon. There a display shows you the events and also starts streaming the audio from the fon machine so you can hear your little ones immediately.
- Supports multiple fon clients. You can observer multiple rooms/kids
- mon has a flexible UI interface and currently supports a 16×2 LCD display with 5 button input to control the monitor.
- Background LCD color shows fon activity
- Display shows state of all fon clients and has a clock in idle mode
- Control: muting, listening, monitoring, screen blanking, chiming with the buttons
- A simulator written with PyGame lets you run the mon on a Mac/PC, too. An audio simulator in fon unit lets you test your setup easily.
- Use an XMPP based chat server to communicate audio events and allows you to use standard chat clients to read the events.
- Low-latency audio streaming is realized by directly linking the recording device on fon with the player on mon by a SSH pipe.
- Very easy to configure by editing config files. You can also use this to change the way audio streaming is set up (e.g. use mpd or Icecast)
- A powerful Python Chat Bot framework based on SleekXMPP was implemented to run the fon and mon part. They are extensible to support more services in the future (e.g. video, sensor data)
3. Build your own pifon
pifon is an open-source project and you find the full source code on GitHub:
- Version 2.0 – 4.3.2016
- added multi fon support
- new audio streaming
- rewrote XMPP bots