Closed Freshhat closed 1 year ago
This still works for me on both my NVR and NVR-Pro with UniFi OS firmware 3.1.9 and Protect 2.7.34 - just tested
https://<nvrip>/proxy/protect/api/cameras/qr
Just tested it again on my UniFi Dream Router Running UniFi OS v3.1.9 and Protect v2.8.27
But i just get this output
{"error":"Camera not found."}
Any idea?
For anybody how is also facing this issue you can try it that way:
root@UDR:~# apt list -a unifi-protect
Listing... Done
unifi-protect/bullseye,bullseye,bullseye 2.8.28 arm64 [upgradable from: 2.8.27]
unifi-protect/bullseye,now 2.8.27 arm64 [installed,upgradable to: 2.8.28]
unifi-protect/bullseye 2.8.26 arm64
unifi-protect/bullseye 2.8.25 arm64
unifi-protect/bullseye 2.8.22 arm64
unifi-protect/bullseye 2.8.15 arm64
unifi-protect/bullseye 2.8.14 arm64
unifi-protect/bullseye,bullseye,bullseye 2.7.34 arm64
unifi-protect/bullseye,bullseye,bullseye 2.7.33 arm64
unifi-protect/bullseye 2.7.31 arm64
unifi-protect/bullseye 2.7.28 arm64
unifi-protect/bullseye 2.7.25 arm64
unifi-protect/bullseye 2.7.21 arm64
unifi-protect/bullseye,bullseye,bullseye 2.7.18 arm64
unifi-protect/bullseye 2.7.15 arm64
unifi-protect/bullseye 2.7.11 arm64
unifi-protect/bullseye 2.7.9 arm64
unifi-protect/bullseye 2.7.7 arm64
unifi-protect/bullseye 2.7.5 arm64
unifi-protect/bullseye,bullseye,bullseye 2.6.17 arm64
unifi-protect/bullseye 2.6.16 arm64
unifi-protect/bullseye 2.6.14 arm64
unifi-protect/bullseye 2.6.13 arm64
root@UDR:~# apt-get install --reinstall --allow-downgrades unifi-protect=2.6.13 -y
After that the URL https://{NVR-IP}/proxy/protect/api/cameras/qr
was working again. Now i'm faced with the Broken Pipe error https://github.com/keshavdv/unifi-cam-proxy/issues/312 but at least this is for now an option to get the adoption token
As mentioned on #248 and #230, 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
Camera
No response
Firmware version of the camera
No response
Description
As the Add Device button is missing in the newer version as well the URI /protect/devices/add is not working anymore, how should we adopt new cameras?
Also the solution with the QR URL in https://github.com/keshavdv/unifi-cam-proxy/issues/208 also stopped working. Anybody another workaround for this?
How to reproduce
No response
Expected behaviour
No response
Screenshots
No response
Aditional information
No response