Turning an Old iPhone into a UniFi Protect Camera with Docker

2025-08-26

The author successfully integrated an old iPhone's camera into their UniFi Protect system using a Docker container. Lacking an iOS app with native ONVIF support, they cleverly used an RTSP app (IP Camera Lite) and an ONVIF proxy Docker container. ffmpeg was used to verify the RTSP stream, and after some configuration adjustments (including specifying the correct width/height), the DIY camera was successfully added to UniFi Protect, replacing their previous Surveillance Station and Scrypted setups.

Read more