# \[APP\]\[Pro\] Ubiquiti UniFi Protect

**URL:** <https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966>\
**Category:** Apps\
**Tags:** app, camera\
**Created:** [February 14, 2021, 9:51am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966 "2021-02-14T09:51:40Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Stefan\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_s/32/34205_2.png) [@Stefan\_S](https://community.homey.app/u/Stefan_S)\
**Post date:** [January 18, 2022, 9:28am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/84 "2022-01-18T09:28:14Z")

</div>

I had the same error. I uninstalled everything. Installed the 1.4.0, added a camera and then afterwards I installed 1.5.4.  
Worked very well. The 1.5.4 runs on 48,8 mb memory.

---

<div class="post-metadata">

**Author:** ![TheGuide](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theguide/32/9779_2.png) [@TheGuide](https://community.homey.app/u/TheGuide)\
**Post date:** [January 21, 2022, 10:32pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/85 "2022-01-21T22:32:32Z")

</div>

Hello, I’ve just started to use Unifi Protect and after some crashes I now have 154 experimental running on Homey Pro. When I want to set the recording status of a camera via a flow to ‘Record only motion’ nothing happens. Other recording modes work fine. I do notice in the camera view that ‘Opnamemodus’ is shown correctly for Always and Never, when I set ‘Detections’ on the Unifi controller the Homey app shows ‘-’ for 'Opnamemodus.

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [January 24, 2022, 8:57am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/86 "2022-01-24T08:57:33Z")

</div>

I have the same problem - I can no longer set the cameras to ‘Record only motion’ via a flow.

---

<div class="post-metadata">

**Author:** ![Markus\_M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/markus_m/32/48105_2.png) [@Markus\_M](https://community.homey.app/u/Markus_M)\
**Post date:** [January 25, 2022, 7:24am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/87 "2022-01-25T07:24:01Z")

</div>

Not sure if I’m doing it correct or not but on the 1.5.4 I don’t get the on a “Smart Detection Event” to work.

---

<div class="post-metadata">

**Author:** ![SachaH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sachah/32/30357_2.png) [@SachaH](https://community.homey.app/u/SachaH)\
**Post date:** [January 26, 2022, 12:30pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/88 "2022-01-26T12:30:32Z")

</div>

After installing 1.5.4 I get the error “socket.on is not function” if I want to add a new camera.

With (1.5.4) but also earlier versions, I have issues with a false “Bewegingsalarm”.  
If movement detection is over the alert stays on within the Homey. Camera’s with this issue are G3 Flex and G3 Instant. The G3 Bullet does not show this behaviour.

---

<div class="post-metadata">

**Author:** ![Gupske](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gupske](https://community.homey.app/u/Gupske)\
**Post date:** [January 27, 2022, 8:31pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/89 "2022-01-27T20:31:01Z")

</div>

We’ve just installed our new Homey Pro and added the Unifi Protect app too (1.5.4).

We’ve taken all the steps in the first post of this thread, but we’re running into the “socket.on is not a function” message when we try to add our camera’s and doorbell. Are we missing something?

Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![AGB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/agb/32/34376_2.png) [@AGB](https://community.homey.app/u/AGB)\
**Post date:** [January 27, 2022, 9:29pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/90 "2022-01-27T21:29:24Z")

</div>

I have the same error message, not sure how to fix this.

---

<div class="post-metadata">

**Author:** ![Andres\_Moerland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andres_moerland/32/33756_2.png) [@Andres\_Moerland](https://community.homey.app/u/Andres_Moerland)\
**Post date:** [January 29, 2022, 7:57am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/91 "2022-01-29T07:57:20Z")

</div>

Same error. I guess there is no workaround this yet.

---

<div class="post-metadata">

**Author:** ![JonasB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonasb/32/34384_2.png) [@JonasB](https://community.homey.app/u/JonasB)\
**Post date:** [January 30, 2022, 10:43pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/92 "2022-01-30T22:43:12Z")

</div>

Same error here too.

---

<div class="post-metadata">

**Author:** ![SachaH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sachah/32/30357_2.png) [@SachaH](https://community.homey.app/u/SachaH)\
**Post date:** [January 31, 2022, 8:30am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/93 "2022-01-31T08:30:27Z")

</div>

Does anyone now if there is a way to install the previous (better working version) of the app? This would help me, and I think others, a lot.

---

<div class="post-metadata">

**Author:** ![Gupske](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gupske](https://community.homey.app/u/Gupske)\
**Post date:** [January 31, 2022, 8:58am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/94 "2022-01-31T08:58:28Z")

</div>

I was wondering about that too, but I haven’t found a way yet. But as I’m rather new to Homey, perhaps I’m overlooking the option?

---

<div class="post-metadata">

**Author:** ![Peter\_Nilsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_nilsson/32/48675_2.png) [@Peter\_Nilsson](https://community.homey.app/u/Peter_Nilsson)\
**Post date:** [February 1, 2022, 5:19pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/95 "2022-02-01T17:19:30Z")

</div>

Anyone that solved the problem With socket.on not a function?

---

<div class="post-metadata">

**Author:** ![SachaH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sachah/32/30357_2.png) [@SachaH](https://community.homey.app/u/SachaH)\
**Post date:** [February 2, 2022, 1:34pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/96 "2022-02-02T13:34:56Z")

</div>

I still have the issue and have not found a workaround. I’ll hope the developers will come with a solution soon.

---

<div class="post-metadata">

**Author:** ![Carlo\_van\_Orsouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_van_orsouw/32/51234_2.png) [@Carlo\_van\_Orsouw](https://community.homey.app/u/Carlo_van_Orsouw)\
**Post date:** [February 4, 2022, 8:26pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/97 "2022-02-04T20:26:10Z")

</div>

CK2 Plus v2.3.14 (5TB Storage for Protect)  
Network APP v7.0.20 (USG / Switches / AP)  
Protect APP v1.21.0 (Camera’s / Doorbell)  
Local user

First time user Athom Homey early 2018

Finally got it installed with an old Unifi UAP-AC-Lite

All latest (official) versions.

HUE, Sonos, Spotify, Chromecast and Samsung TV active.

When adding a device (wired or wireless)

Same message as above. “socket.on is not function” like: [[APP][Pro] Ubiquiti UniFi Protect - #89 by Gupske](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/89)

Is the new Network version to blame?

hope hearing from anyone soon… 🙏

---

<div class="post-metadata">

**Author:** ![SachaH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sachah/32/30357_2.png) [@SachaH](https://community.homey.app/u/SachaH)\
**Post date:** [February 5, 2022, 6:09pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/98 "2022-02-05T18:09:22Z")

</div>

I just saw a new version of the app is available (v1.5.6). It’s also installed on my Homey automaticly.  
I have no socket.on message anymore and can add new camera’s without issues again.  
Thanks to the developers for the fix.

I will test further to see if other issues are solved as well.

---

<div class="post-metadata">

**Author:** ![Gupske](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gupske](https://community.homey.app/u/Gupske)\
**Post date:** [February 6, 2022, 8:06am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/99 "2022-02-06T08:06:18Z")

</div>

Yes, we managed to add our cameras and doorbell too now, without the socket.on message 🙂 we have successfully created a flow for our doorbell to play a sound on the Sonos Soundbar when ringed.

Thanks to the developers!

---

<div class="post-metadata">

**Author:** ![Andres\_Moerland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andres_moerland/32/33756_2.png) [@Andres\_Moerland](https://community.homey.app/u/Andres_Moerland)\
**Post date:** [February 6, 2022, 10:27am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/100 "2022-02-06T10:27:44Z")

</div>

I have the UNVR from Ubiquiti, it doesn’t work. If I change the IP to the UDM-pro, I can login without an error. But I moved alle the camera’s to the UNVR and it seems this app doesn’t know how to connect yet?  
Connecting to the UDM-pro won’t add my camera’s, as I tried already.  
It get’s stock at “Getting CSRF token”.

---

<div class="post-metadata">

**Author:** ![Carlo\_van\_Orsouw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carlo_van_orsouw/32/51234_2.png) [@Carlo\_van\_Orsouw](https://community.homey.app/u/Carlo_van_Orsouw)\
**Post date:** [February 6, 2022, 3:52pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/101 "2022-02-06T15:52:35Z")

</div>

Yes!!! With the new automatic update it all works…. Thanks…

---

<div class="post-metadata">

**Author:** ![JonasB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jonasb/32/34384_2.png) [@JonasB](https://community.homey.app/u/JonasB)\
**Post date:** [February 6, 2022, 5:10pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/102 "2022-02-06T17:10:47Z")

</div>

In my system i only get Can not fetch snapshot image, please advice.

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [February 6, 2022, 9:18pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/103 "2022-02-06T21:18:17Z")

</div>

Hi Stèphan!

I’m sorry, but with 1.5.6 the memory leak is back! It’ takes about 1-2h from restart of the app 'til it stops.

For about 14 days ago I did as **Stefan\_S** suggested in a post above;  
_"I had the same error. I uninstalled everything. Installed the 1.4.0, added a camera and then afterwards I installed 1.5.4._  
_Worked very well. The 1.5.4 runs on 48,8 mb memory."_  
And since then the app has been running fine on my Homey! - Until the autoupdate to 1.5.6…

I uninstalled 1.5.6, restarted Homey, installed 1.5.6 again. Setup the app. Added my cameras.  
Despite this the app stops due to memory leak after 1-2h.

Please help!

[Previous page](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966.md?page=4)

[Next page](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966.md?page=6)
