Video without recompression
The USB webcam outputs MJPEG and the Pi forwards it; with a CSI module, the hardware encoder compresses it. The CPU never transcodes, which matters on a Zero W.
Private camera + bark detector
GuauCam turns a Raspberry Pi Zero W and a camera (USB webcam or CSI module) into a private dashboard with live video, a noise meter and Telegram alerts when your dogs bark too much.
The USB webcam outputs MJPEG and the Pi forwards it; with a CSI module, the hardware encoder compresses it. The CPU never transcodes, which matters on a Zero W.
The microphone is only measured for volume. It is not transmitted, not stored and has no history.
If noise crosses the threshold for the configured time, Telegram receives a message and photo.
Use it through Tailscale or your LAN. Nothing is exposed to the internet and no router ports are opened.
A deliberately simple flow: the camera does the heavy work, the Pi serves video and measures noise, and your phone only opens a private URL.
The installer detects your camera (and asks if there are several), sets up systemd services, Tailscale, the streamer and the base configuration. Running it again updates the code without touching /etc/guaucam.conf.
# 1. In Telegram: /newbot with @BotFather # 2. Send any message to your new bot curl -fsSL https://github.com/AlexAdiaconitei/guaucam/raw/main/install.sh | sudo bash # Update later: sudo bash /opt/guaucam/install.sh
In Telegram, talk to @BotFather, send /newbot and save the token. Then write any message to the bot so the installer can detect your chat_id.
Over SSH, launch the installation command. It downloads dependencies, clones the repo into /opt/guaucam and prepares the services.
The installer will show a URL. Open it once to add the Pi to your tailnet.
Enter the bot token when asked. At the end you will see the access URLs and receive a test message.
With Tailscale active, open these URLs from your phone or PC. They also work with the Tailscale IP instead of the name.
http://<pi-name>:8081/PanelVideo, noise level and detector settings.
http://<pi-name>:8080/StreamLive video only, without controls.
http://<pi-name>:8080/snapshotSnapshotInstant capture for alerts or checks.
The panel adjusts threshold, sustained duration, cooldown and Telegram immediately. The rest of the configuration lives in /etc/guaucam.conf.
:8081.# Service status systemctl status guaucam-stream guaucam-detector # Live logs journalctl -u guaucam-stream -u guaucam-detector -f # Restart after advanced configuration edits sudo systemctl restart guaucam-stream guaucam-detector
Designed for live watching and volume alerts, not recording, classifying audio or replacing a commercial cloud camera.
There is no recording. The system is live viewing and one-off alerts.
Audio is measured and discarded. It is never retransmitted or stored.
It measures volume. A vacuum or construction noise can trigger alerts; threshold and duration reduce false positives.
If it stutters away from home, drop to 800x600 or 10 FPS. The 2.4 GHz WiFi sets the limit.
About the creator
Software engineer specialized in backend development with Java and Spring Boot, comfortable working with JavaScript and Python. I enjoy building personal projects to keep learning, with a growing interest in infrastructure.