I have a unifi protect door bell camera but when I try to capture a snapshot they are up to 5 seconds old. This also means that if I try to capture 3 consecutive images I get the same image if I capture them within this 5 second window. Is there a way to reduce this? I’d like to get a new image every second.
so i ended up using the anonymous endpoint on the camera instead and using curl within a shell command. i can get images with very high frequency that way. for those interested in how to do this:
get camera password:
-
open unifi.ui.com and then your Protect tab
-
hit the settings ‘gear’ on the left icon column
-
go to ‘system’ (should be below recordings)
-
then ‘recovery code’ hit reveal and save this value
-
get your camera ip
-
connect to http://<camera ip>
-
login is ubnt/<recovery code from above>
-
on the ‘configure’ tab select ‘enable anonymous snapshot’
now you’ll be able to get the most recent snapshot from the following endpoint:
http://<camera_ip>/snap.jpeg
this is a decent work around but not a solution imo, it would be nice to fix or improve the built-in snapshot feature but it’s unclear to me where the actual problem is