#UI protect API creation

1 messages · Page 1 of 1 (latest)

honest garden
#

I have a UNVR from Ubiquity and I followed the guide at (https://www.home-assistant.io/integrations/unifiprotect) but when I am logged into my UDM Pro as an admin, there is no option to create an API, according the guide. So, can I create a API with UI protect version 6.0.53? I searched....

Home Assistant

Instructions on how to configure the Ubiquiti UniFi Protect integration.

silent haven
#

Make sure your user is a SuperAdmin, this role can only be given by the owner account of the Unifi system

#

once you are done with the API it seems possible you can then reduce the role again to only allow Protect...

honest garden
tawny shuttle
honest garden
#

I was able to create an API key but trying to add UI protect to HA does not work, what port number should I use because I have a UI UNVR that has its own IP address, no port needed to access it.

silent haven
#

I guess it uses 443 then\

#

but I don't know the UI UNVR personally so I could be wrong...

honest garden
#

443 did not work. I tried 0, that did not work either. Why is HA insisting on a port when my UNVR running protect (heck my gateway as well) only used and IPV4 IP address?

silent haven
#

because TCP/IP (and UDP/IP for that matter) do not connect without a port

#

but I guess what we need to find out first is, what controls your camera's

#

is it the UNVR? cause then I think you need a API key on the UNVR...

#

not the UDM pro...

#

unless the UDM is running Protect, then it needs to be an API key on that device...

honest garden
#

Thank you, you were right.

silent haven
#

does it now work?

#

cause that would be excellent 🙂

honest garden
#

Yes it is working, thanks for your help.