UBNT NVR integration

I started with HASsio a few days ago ( wanted to move from domoticz to HASssio).
So i also want to integrate the UBNT UVC option.
The config i added in the config.yaml:

# UBNT camera
camera:
  - platform: uvc
    nvr: 192.168.1.xx
    port: 7443
    key: xxxxxxAPIxxxx
    password: xxxCamerapwdxx

But the cam’s ( 2 in total for now) won’t show up, and HAS is telling me:

Platform uvc not ready yet. Retrying in 180 seconds.

12:25 helpers/entity_platform.py (WARNING) - message first occured at 12:12 and shows up 5 times

NVR refuses to talk to me: Error connecting to camera: P

12:25 components/uvc/camera.py (ERROR) - message first occured at 12:12 and shows up 5 times

Home assistant version : 0.97.2
UBNT NVR version : 3.10.6

Could somebody help me to solve this ?

Anybody ? :wink:

please :blush:

i tried everything within my knowledge , but stil

2019-08-21 15:31:44 ERROR (SyncWorker_7) [homeassistant.components.uvc.camera] NVR refuses to talk to me: Error connecting to camera: P
2019-08-21 15:31:44 WARNING (MainThread) [homeassistant.components.camera] Platform uvc not ready yet. Retrying in 60 seconds.

configuration.yaml:

# UBNT camera
camera:
  - platform: uvc
    nvr: 192.168.1.x
    port: 7443
    password: "secret"
    key: "api secret"

Don’t have these cams and can’t really help with that, but just looking at your example makes me question why you have two single quotes then api secret and then a double quote.
Is this really how you have it in your config?

Thnx for you reply @danbutter , the ’ are just in the post ( because i deleted the original secrets like password and api key , and not in the config itself.
To be clear , i will edit the post

Just to be complete clear, the confoig.yaml is like

camera:
  - platform: uvc
    nvr: IP_ADDRESS
    port: 7443
    password: CAMERA_PWD
    key: API_KEY

nobody else who can help me with this ?
Or maybe can give me some guidance

still didn’t have a solution for this, could somebody please help or assist me ?:innocent:

Disclaimer: I’m a Unifi Protect user so have no knowledge of this component.

Are you connecting with an administrator level Unifi user account?
Do the Unifi Video logs record the access attempt?

PRESTO , got it working.After i deleted the custom port everything is working fine !!