Comments (14)
Hey, it's been some time (and a few updates) later... I upgraded to a Dream Machine Pro - and now I'm unable to make this plugin work. Have there been any updates or progress on this? Thanks!!
from homebridge-unifi-protect.
I wasn't aware the UDM Pro could do this with the camera. I thought it had to have a cloud key gen 2 in order for it to work. I know the UDM has a gen 2 cloud key built into it but from everything I read it was not compatible with Unifi Protect yet.
from homebridge-unifi-protect.
All - I've updated the plugin with support for UDM-Pro and other UniFiOS devices. Please give this a go and confirm things work as they should. I don't have a UDM-Pro to test on, but things should work properly. Thanks!
from homebridge-unifi-protect.
anyway to get this working? pls
from homebridge-unifi-protect.
Stay tuned...coming shortly.
from homebridge-unifi-protect.
I wasn't aware the UDM Pro could do this with the camera. I thought it had to have a cloud key gen 2 in order for it to work. I know the UDM has a gen 2 cloud key built into it but from everything I read it was not compatible with Unifi Protect yet.
The UDM-Pro has a bay for a 3.5in hard drive, if you install a drive you can use Protect. The regular UDM doesn't have this feature because it does not have a hard drive nor the ability to have one, but it has a built in AP whereas the Pro does not.
Hope that clears it up.
from homebridge-unifi-protect.
That’s correct. I don’t have a UDM-Pro to test on...but given that support for Protect on UDM-Pro’s has stabilized somewhat, I’m going to tackle support for it. I’m a bit puzzled why things seem to work differently for Protect on a UDM-Pro versus a CK2+, but hey I’m just trying to get something stable working so we don’t end up with a finicky HomeKit plugin at the end of all this. :)
from homebridge-unifi-protect.
@hjdhjd I can confirm this works on UDM-Pro. I needed to remove the port from the controller URL. Also, I created a local account under UDM Users and used that for the login. Great job on this!
from homebridge-unifi-protect.
Thanks @Coice - can you share what you were using for your url setting before and after? Including the port shouldn't make a difference, and I'd like to debug it a bit.
from homebridge-unifi-protect.
@hjdhjd It does not work if you include the port in the URL, I just tried again with the port included. It throws an api/auth exception:
(node:17505) UnhandledPromiseRejectionWarning: StatusCodeError: 404 - "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /api/auth</pre>\n</body>\n</html>\n" at new StatusCodeError (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request-promise-core/lib/errors.js:32:15) at Request.plumbing.callback (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request-promise-core/lib/plumbing.js:104:33) at Request.RP$callback [as _callback] (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request-promise-core/lib/plumbing.js:46:31) at Request.self.callback (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.<anonymous> (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request/request.js:1154:10) at Request.emit (events.js:198:13) at IncomingMessage.<anonymous> (/usr/lib/node_modules/homebridge-unifi-protect2/node_modules/request/request.js:1076:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1145:12) at process._tickCallback (internal/process/next_tick.js:63:19) (node:17505) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Also SSL (https) is required. This is the config I am currently using:
"platforms": [
{
"platform": "Camera-UniFi-Protect",
"name": "UniFi Protect",
"controllers": [
{
"url": "https://192.168.1.1/",
"username": "xxx",
"password": "xxx"
}
]
}
]
from homebridge-unifi-protect.
Updated documentation to reflect the configuration differences between UCK Gen2+ and UnifiOS devices. @Coice - can you update to the latest and verify everything works? It should - you should not specify a port in the URL string on UnifiOS. Thanks!
from homebridge-unifi-protect.
@hjdhjd I updated to 1.2.14 and can confirm it is working correctly. 👍
from homebridge-unifi-protect.
Terrific! Closing this one out.
from homebridge-unifi-protect.
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.
from homebridge-unifi-protect.
Related Issues (20)
- MFA Support HOT 1
- Package camera snapshot is occasionally taken from the main camera HOT 8
- Invoke ring on doorbell remotely HOT 3
- Issue with livestreaming in HKSV on Unifi Protect Version 6.20.0 HOT 4
- Moved to Mac Mini M1 Verison V6.20 and V.19 won't play video HOT 3
- Errors in the Log after Update from G3 to G5 Cameras HOT 2
- Homekit video / snapshot not loading after a while require reboot of plugin or homebridge HOT 2
- Unifi Protect HKSV recordings cut off HOT 3
- Memory Leaked warning HOT 3
- Possible cause of #1061 (Author's note: nope.). HOT 2
- Unifi Baby Cry AI Detection - Device to trigger off of HOT 2
- Is it possible to add only motion sensors from some of the devices? HOT 2
- Transcoding based on IP address HOT 3
- HBUP API behaviour is impacting local admin login to Protect (4.0.3) HOT 2
- Live Streaming does not work but works with other tools HOT 2
- Switch to disable doorbell inside HomeKit HOT 2
- Max CPU usage and 32 Protect API errors per second HOT 13
- Why does UP Floodlight require full admin rights? HOT 2
- 2FA SUPPORT HOT 3
- Protect Controller taking too long to respond HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-unifi-protect.