Detections not appearing in unifi-protect web v3 #377
zzzbatmand
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
I have made a few discoveries these past couple of days, and have decided to share them with the community.
I will be splitting them up in different discussions, please tell me if I should merge them.
Problem
There are currently some issues with unifi-protect v4 and u-c-p #372 so I use v3.0.26 instead.
But the events tab on the v3.0.26 WEB is just empty, even when event's has happened.
I can see the events on the Dashboard, as well as in the app, but not in the dedicated Events tab.
I have debugged the web inteface and have now found what appears to be the issue.
The eventType "smartDetectZone" that u-c-p uses, isn't checked as a valid event type.
Solution
This can be fixed, by manually patching the unifi-protect source at:
"/usr/share/unifi-protect/app/node_modules/@ubnt/unifi-protect-ui-internal/dist/swai-3.0.17.js"
The file is minified so a steady hand is needed for this.
Find the following code:
And append the following to the end of the list:
NOTE: It should look like this:
Beta Was this translation helpful? Give feedback.
All reactions