UniFi · Networking
Add third-party ONVIF cameras to UniFi Protect — adoption that actually works
A business with working ONVIF cameras does not need to rip them out to use Protect — but Protect adopts third-party cameras on its own terms, with limits that surprise people who skip the preparation.
Prepare the camera first, adopt second. Most adoption failures are camera settings, not Protect faults.
The fast answer
Do not start in Protect. Start on the camera: enable ONVIF, set an ONVIF username and password, set the camera's date, time and timezone correctly, and set authentication to Digest & ws-username token where the camera offers it. Only then open Protect, enable Discover Third-Party Cameras under Settings > System, and adopt. And know the limits before you promise anyone motion alerts: motion must be configured on the camera and sent to Protect, and changing streams after adoption means removing and re-adding the camera.
What you are looking at, in plain words
ONVIF is the open standard that lets cameras from different makers talk to recording systems that are not their own. UniFi Protect supports ONVIF-compatible third-party cameras for live view and playback, so an existing camera estate can be brought under Protect gradually rather than replaced all at once. That is the good news. The limits matter just as much, and Ubiquiti states them plainly: motion detection, PTZ control and audio are supported on third-party cameras, while other advanced features are not; Protect detects the highest and lowest quality streams the camera offers and shows them as HQ and LQ; and for multi-sensor cameras Protect currently pulls a single stream.
Three preparation facts cause most failures. First, some cameras ship with a static default address — connect one camera at a time so two cameras do not claim the same address. Second, authentication fails silently when the camera's clock is wrong, because the ONVIF token exchange depends on correct time. Third, the streams must be right before adoption: if you adjust streams afterwards, Protect will not pick the change up — the camera must be removed and re-added for the new streams to appear. Set the streams once, carefully, before adopting.
Step 0 — Prove which part is failing
Before opening Protect, prove the camera is a good ONVIF citizen. Find the camera's address in the Network application, open its own web page, and confirm: ONVIF is enabled, you have an ONVIF username and password, the date/time/timezone are correct, and the camera's own live view works. If any of those fail on the camera's own page, Protect cannot fix it — fix it there first. Do this one camera at a time.
The fixes, in order
- Prepare the camera, one at a time. Connect one camera, open its web page, and set a username and password for it. Apply any firmware update the maker offers. Then enable ONVIF and configure an ONVIF username and password (on some cameras ONVIF is automatic and the camera's global credentials are used). Set the date, time and timezone correctly — Ubiquiti warns that some cameras fail authentication when the time is wrong. Where the camera offers an authentication choice, set it to Digest & ws-username token.
- Set the streams before adoption. In the camera's own setup tool, configure the streams you want Protect to use — Protect automatically detects the highest and lowest quality streams and presents them as HQ and LQ. Decide now, because changing streams after adoption requires removing and re-adding the camera. For a multi-sensor camera, choose which single stream Protect should pull (or use the camera's combined tiled view as that stream, if it offers one).
- Enable discovery and adopt in Protect. In Protect, go to Settings > System and enable Discover Third-Party Cameras. Open the UniFi Devices page: the camera should appear ready for adoption. Select Click to Adopt and enter the ONVIF credentials from step 1. On success the camera joins the devices list and its stream appears on the Dashboard.
- Configure motion on the camera, not in Protect. Motion detection for third-party cameras must be configured on the camera and sent to Protect — Protect does not generate it the way it does for UniFi cameras. Set the motion zones and sensitivity in the camera's own interface, then confirm motion events arrive in Protect. If you expect Protect-side smart detection on a third-party camera, you will wait forever: that is one of the advanced features Ubiquiti says is not supported.
- Check audio and PTZ honestly. If you need audio, enable it knowing it requires transcoding and may use additional console resources — on a busy console, that cost is real. Test PTZ control from Protect if the camera has it. Then write down, for each camera, what works and what does not, so nobody later reports “motion is broken” for a feature that was never supported on that camera.
Prove it worked
For each adopted camera, confirm three things: live view in HQ and in LQ, playback of a recorded segment, and (if configured) a motion event arriving in Protect from a real movement in front of the camera. A camera that shows live view but never records or never raises motion has only passed the first third of the test.
Still not working? Work this ladder in order
- Camera does not appear in Protect: confirm it is on the same network as the console, and that ONVIF is enabled. If it is on a different subnet, use Advanced Adoption from the help menu and adopt by IP address.
- Authentication fails on adoption: re-check the ONVIF credentials, the camera's date and time, and the Digest & ws-username token setting. For Hikvision cameras, Ubiquiti specifically names the Open Network Video Interface Authentication setting; for Sony cameras, check that video encoders are enabled for each profile.
- Stream looks wrong after a change: that is expected — remove and re-add the camera so Protect picks up the new streams.
- Motion never arrives: motion was not configured on the camera. Set it in the camera's interface; Protect receives motion, it does not create it for third-party cameras.
- A third-party app connects but Protect does not: the camera's ONVIF service works, so the fault is in the Protect-side settings (discovery, credentials, or time). Work steps 1–3 again rather than replacing the camera.
- None of these steps fixes it. Submit a support ticket to Ubiquiti (the step Ubiquiti's own Protect article ends with) with the camera model, firmware version, and the results of steps 1–3 above.
Mistakes that make it worse
- Adopting first and configuring the camera afterwards — especially streams.
- Connecting several cameras with the same default static address at once.
- Expecting Protect smart detection on a third-party camera.
- Ignoring the camera's clock, then blaming Protect for authentication failures.
- Promising audio on every third-party camera without counting the transcoding cost.
FAQ — the issues behind this problem, answered
Do I have to replace my existing cameras to use Protect?
No. Protect adopts ONVIF-compatible third-party cameras for live view and playback, so you can migrate gradually. What you give up is the advanced Protect-only features, which Ubiquiti states are not supported on third-party cameras.
Why does my camera fail to adopt even though its own web page works?
The usual causes are ONVIF not enabled, wrong ONVIF credentials, a wrong camera clock, or the authentication mode. Set Digest & ws-username token where offered, fix the time, and try again — and test with a third-party ONVIF app to prove the camera's ONVIF service itself works.
I changed the camera's stream quality. Why does Protect still show the old one?
Because streams are read at adoption. If streams are adjusted after adopting, the camera must be removed and re-added to Protect for the updates to appear. Set streams before adoption to avoid the round trip.
Will motion detection work on my ONVIF camera?
Yes, with a condition: motion detections are supported, but they must be configured on the camera and sent to Protect. Configure zones and sensitivity in the camera's own interface, then verify events arrive in Protect.
Sources
Ubiquiti Help Center — Third-Party Cameras in UniFi Protect (preparation, adoption path, functionality limits, and troubleshooting, quoted and paraphrased here).
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.