# \[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:** 3

<div class="post-metadata">

**Author:** ![drew](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drew/32/49362_2.png) [@drew](https://community.homey.app/u/drew)\
**Post date:** [December 28, 2021, 6:33pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/43 "2021-12-28T18:33:08Z")

</div>

Good day  
Application issue after upgrading Homey to version 7.2.1  
Within 10 minutes, the application increases the amount of RAM up to 80 megabits and after that the Homey resets it to a pause.  
I reinstalled the app, uninstalled all devices and remove all flows.  
Nothing helped.

---

<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:** [December 30, 2021, 2:12pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/44 "2021-12-30T14:12:42Z")

</div>

Hi, I have the same issue. My memory goes up to 78 mb and the the app crashes, and a pause symbol is on the app and nothing runs before I restart the app.  
It have been working perfectly until two weeks ago. Maybe with an update from Unifi?

---

<div class="post-metadata">

**Author:** ![\_Bredero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/_bredero/32/30978_2.png) [@\_Bredero](https://community.homey.app/u/_Bredero)\
**Post date:** [December 30, 2021, 6:26pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/45 "2021-12-30T18:26:56Z")

</div>

I have the same problems, app crashes after a few minutes, camera’s not working. (only directly with the UniFi Protect App), also restarting the Cloud Key Gen2+ doesn’t solve this problem.

When i restart the app on Homey? it works for a few minutes…

I hope you can create a solution for this problem?

Regards,  
Adriaan

---

<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 3, 2022, 11:47am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/46 "2022-01-03T11:47:08Z")

</div>

Same problem. I have posted it as an issue on Github.  
I will send a diagnostic report next time it happens.  
Regards,  
/Kristofer

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 3, 2022, 12:04pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/47 "2022-01-03T12:04:48Z")

</div>

Actually, I need someone who experiences this problem and has development experience. The application must be run in debug mode and it must be checked which message really comes up.

The ‘diagnostic report’ is 99% empty.

---

<div class="post-metadata">

**Author:** ![muis](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@muis](https://community.homey.app/u/muis)\
**Post date:** [January 3, 2022, 4:06pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/48 "2022-01-03T16:06:17Z")

</div>

Hi, I also come across this issue sometimes.  
I want to send you the debug mode data, but I cannot find a debug version of the app to install?

> **[Ubiquiti UniFi Protect](https://homey.app/en-us/app/com.ubnt.unifiprotect/Ubiquiti-UniFi-Protect/)**
>
> Protect your home with UniFi Protect & Access devices.

^ this test link just forwards me to the 1.4.0 production release (it also removed the /test from the URL).

---

<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 3, 2022, 5:27pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/49 "2022-01-03T17:27:22Z")

</div>

I don’t know if this is helpful, but I toggle on the debug messages right after I restarted the app. Then when the app stopped, I saved the last 100 in a file on Github #33.

---

<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 4, 2022, 11:29am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/50 "2022-01-04T11:29:29Z")

</div>

As @Stefan_S already mentioned, something causes the app to eat memory. This picture shows the timeline from restart of the app until the app is paused.

 ![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/157b166e8696f15135f16467ddfc5a116ca8c567.png)

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 8, 2022, 8:40pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/51 "2022-01-08T20:40:30Z")

</div>

There is an test version now on [Ubiquiti UniFi Protect App for Homey | Homey](https://homey.app/a/com.ubnt.unifiprotect/test/)

You can download the source code off the ap from github and run the app version in debug modus with the Homey CLI [Homey CLI - Homey Apps SDK](https://apps.developer.homey.app/advanced/homey-cli)

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 9, 2022, 4:21pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/52 "2022-01-09T16:21:19Z")

</div>

I have created an new test version without the memory leak i hope.

> **[Ubiquiti UniFi Protect](https://homey.app/en-us/app/com.ubnt.unifiprotect/Ubiquiti-UniFi-Protect/)**
>
> Protect your home with UniFi Protect & Access devices.

I just can’t test it because I don’t experience the problem myself.

---

<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 9, 2022, 5:08pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/53 "2022-01-09T17:08:35Z")

</div>

Installed 1.4.3 and after more then 20 minutes it’s still running and memory is being stable at ~22MB!  
I will keep an eye on things and will get back if something happens.  
Thnx! 🙇‍♂️  
/Kristofer

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 9, 2022, 5:19pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/54 "2022-01-09T17:19:08Z")

</div>

I just released version 1.5.1 because a new problem crept in that prevented motion notifications from coming in.

---

<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 9, 2022, 6:29pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/55 "2022-01-09T18:29:38Z")

</div>

1.4.3 was running perfectly until it was autoupdated to 1.5.1.  
With 1.5.1 the memory leak was back again…

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 9, 2022, 10:00pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/56 "2022-01-09T22:00:10Z")

</div>

I think the websocket is the problem (memory leak), this we need foor the doorbell en realtime notifications

---

<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 11, 2022, 10:20am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/57 "2022-01-11T10:20:16Z")

</div>

Can I install 1.4.3 again? 🙏  
I don’t have a doorbell, just cameras…

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 11, 2022, 12:22pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/58 "2022-01-11T12:22:44Z")

</div>

##### v1.5.2 is out with memory leak fix

---

<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 11, 2022, 2:31pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/59 "2022-01-11T14:31:36Z")

</div>

After restart of 1.5.2, it’s been running for an hour now. I see a steady increasing use of memory. Now around 50 MB.

 ![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f3bff43b770cb72a394d6e49117d80458ca645fa.png)

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 11, 2022, 2:45pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/60 "2022-01-11T14:45:10Z")

</div>

It’s steady here on 26,4MB for couple off hours.

---

<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 11, 2022, 4:40pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/61 "2022-01-11T16:40:43Z")

</div>

10 minutes after installing 1.5.2 I have 31 mb of memory use… still climbing… now 34.4

---

<div class="post-metadata">

**Author:** ![ObelixNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/obelixnl/32/172250_2.png) [@ObelixNL](https://community.homey.app/u/ObelixNL)\
**Post date:** [January 12, 2022, 7:09am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/62 "2022-01-12T07:09:36Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14c890741ae7dd2dc2a257ba73fc62a4cc6f279a.png)  
Everynight i reboot my Homey for a fresh start of the day

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

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