Integration: uvc

I suggest the following improvement to integration: uvc.

When a camera doesn’t display due to incorrect password, instead of (or in addition to) showing a broken picture icon in the card, it would be very helpful to display a string that says “Incorrect password. Add camera password to Configuration.yaml and restart Home Assistant”.

Why this would be very helpful: The long story short, believe it or not, it’s possible to have more than one camera password on a Unifi Video NVR. (This has to do with cameras on the local area network adopting the NVR password vs cameras on remote networks which can stay on the default ubnt password and still function.)

Diagnosing this error condition confuses the user because some cameras will display in a uvc integration card and other cameras will not display in a card, but no explanation is given why.

My Story: At first, I erroneously thought that the integration would only work with certain models of UVC cameras because a G3 camera was displaying and a G4 was not. But in the end, it turned out to be a password issue. Cameras with the default ubnt password were displaying, and cameras with the NVR given password were not displaying. I had not added the Camera password to the Configuration.yaml.

Once I added the NVR provided camera password to Configuration.yaml, cameras that previously were not displaying were working. I’ll have to change the ubnt password on the G3 camera to match the others and it will display too, my problems should be solved.

Side note: Even though Unifi Video NVR is deprecated and Protect is the new product line, Protect and Unifi Video are still different enough to keep Unifi Video in production. Therefore this integration remains useful. Thanks to the developer of this integration!

From security purposes, we might not know what the specific error it is, eg: password is incorrect.

Then I suggest a string that says “Maybe incorrect password? Add camera password to Configuration.yaml and restart Home Assistant”.

Fair point, you can create a GitHub request to modify the translation of this.

Sure, post a link of where I do this. Thanks

FYI, the log4j problem in Unifi Video can be patched.

The 74 installs of this integration probably have 1000 cameras each lol… you see, there really isn’t a more scalable solution. And for sites with a lot of cameras, Unifi Video will live on. Unifi Protect is a prosumer product thats essentially bound up in a walled garden of hardware.

Thanks for making this integration! I’m probably going to continue to use it for a long time.