# Nightlight

Nightlight is a self-hosted baby monitor with low-latency multi-camera streaming from RTSP (Real-Time Streaming Protocol) cameras, installable as a web app (PWA, or progressive web app) on your phone. It is open source and self-hosted, installable on Unraid and Docker Hub.

Canonical page: https://ourlocalhost.com/app/1678/nightlight

## Description

Nightlight is a self-hosted baby monitor with low-latency multi-camera streaming from RTSP (Real-Time Streaming Protocol) cameras, installable as a web app (PWA, or progressive web app) on your phone. It runs entirely on your own network with no cloud or subscription, and bundles the app with MediaMTX, an RTSP-to-WebRTC and HLS (HTTP Live Streaming) bridge, and FFmpeg for audio transcoding, all in one container for a private, low-latency way to watch the nursery from anywhere on your home network.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

56/100 (Fair), based on 4 of 4 factors.
- Maintained: 100 (last commit 11 days ago)
- Popular: 12 (3 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)

## Links

- Unraid: https://ca.unraid.net/apps/nightlight-1pu59ln0o3w5n3?q=nightlight
- Docker Hub: https://hub.docker.com/r/sauso/nightlight/

## Common questions

### Does Nightlight need special networking for low-latency WebRTC viewing?

Yes, the container needs a routable LAN address so WebRTC connects correctly. Host networking is the simple default, and a dedicated LAN IP is also supported.

### Can Nightlight use ordinary RTSP cameras in a browser?

Yes, FFmpeg pulls each RTSP stream, copies the video, and transcodes the audio to AAC. MediaMTX then republishes it as WebRTC and HLS because browsers cannot play RTSP directly.

### How do I add and control cameras?

Cameras can be added by IP over ONVIF, which auto-fills the stream details. PTZ cameras also get on-screen pan and tilt controls.

### Where is the app's data stored?

The backend uses SQLite to store children, cameras, and caregiver accounts. The same container also manages MediaMTX and one FFmpeg process per camera.

### Are there mobile apps for viewing?

There are companion native Android and iOS apps for background audio and picture-in-picture. It can also be used in a browser or installed as a PWA.

### Can Nightlight be used as a safety or distress alert?

No, it is a convenience tool, not a safety or medical device. It must not replace adult supervision because streams can drop, apps can be killed, and networks can fail.

---
Source: Our Local Host (https://ourlocalhost.com/app/1678/nightlight), the self-hosted and open-source app directory.
