Closed alexdrean closed 2 years ago
The workaround to get this is actually mentioned in the docs, but I didn't realize that this endpoint existed! It's definitely easier to use this and a related endpoint to get a valid token. Closing this for now, but this has inspired some investigation into alternative ways for the proxy to maybe even automatically fetch a token
I'm on Protect 2.8.25 and neither the /protect/devices/add
nor the /proxy/protect/api/cameras/qr
methods yield success. For the latter I get a generic error of:
{
"error": "Camera not found."
}
Any new ideas to try? This is a fresh install.
same problem here with Protect 2.8.25
Has anybody find another workaround in order to get the proper token? Otherwise i guess it's no longer possible to use this unifi-cam-proxy, right?
As mentioned on #248 and #230 (and now #314) there's also /proxy/protect/api/cameras/manage-payload
which returns a token directly (not a QR image) and still seems to work, at least as high as Protect 2.8.28
(Pardon my repeat commenting, just trying to scatter this information in as many places as possible, make it a little easier to find.)
Recent versions of Unifi Protect do not have a button to add devices. The adoption QR code is still available at https://unifi/proxy/protect/api/cameras/qr