[APP][Pro] Ubiquiti UniFi Protect

I have a similar issue, getting 401 from the console for both Protect and Network apps. Verified credentials several times and they are fine. When I manually try to sign into the homey local account, I get this message from console:
You’ve reached the login attempt limit. Please wait a few minutes before trying again.

Is there some sort of limitation on how many login attempts you can do?

Please reset your password with an password with 18 chars and copy and paste in your console.

Can you please explain why this matters? My current password has 22 chars, does it have to be 18 chars exactly?

No minimal , please try an other username and use this account only for homey

I now have 2 accounts, one for protect and the other one for the network app. Seems to be working now for a few days without problems. :slight_smile:

Also having problems with only receiving a fraction of the Smart Detection events. This worked a while ago, but stopped working some time ago.

I have created a test flow that logs all Smart Detection events and also another flow that logs some motion events on selected cameras. All motion events seem to work fine, but only very few Smart Detection events come through to Homey, even though they are all displayed correctly in Protect. It’s like 1 out of 10 that comes through.

Using a Homey-only user in Protect.

If it has any relevance, I’m running Protect v4.1.53 on an UNVR.

I don’t know if this problem has to do with some update in Protect or in the Homey Protect app, but it no longer works as expected.

Edit: On the device pages, I can see that smart detections has been triggered, but it did not trigger a Smart Detection Event flow. So I think the problem is in the app.

Hi!
Has anyone upgraded to Protect V 5.0.33? Is it working fine with homey?

It seems broken again for me as well. With the latest stable update

Yeah, same here. Not a single notification comes through.

Yep broken for me. Should we turn off auto updates for protect?

Same here. Unifi Protect updates to 5.0.34 and smart detections in Homey are broken again. Weird thing is in the camera I can see the smart detections date and time and the smart detection score, but it doesn’t trigger the flows with smart detection cards. Maybe unifi fixes something on their side because the 5.0.34 release notes say:

Bugfixes: Fixed the inability to enable Smart Detections.

And the workaround made in the homey app last months is broken now, while the old stable version of the homey app would work again now Unifi fixed their stuff?!

1 Like

I got the same issue indeed. The smart detections date and time are correct, but the flow is never triggered.

Hey,
it would be nice to have more values gathered by the camera in Homey available, e.g. current lux.
This avoids to install more sensors.
Thank you very much!

Since the flow triggers of smart detections don’t work anymore, I made a workaround with the smart detection score as a variable. Works as a charm and without any delay!

1 Like

I only use smart detections so my motion alarm wont turn on.

Thanks Arjank, great solution. Works great!

@ObelixNL Is it true we can’t get any images anymore from our Protect devices?

This is what I get when I call const devices = await Homey.devices.getDevices(); and parse the result.

{
"last_motion_thumbnail":
  {
  "id":"last_motion_thumbnail",
  "value":null,
  "title":"Laatste beweging afbeelding"
  }
}

i would like to add the image to a notification. Is it broken or did I forget to change a setting or something?

Greets,
Frank

=== Update ===
I am running version 1.6.7 of the Homey App and 5.0.35 of Unifi Protect.