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

<div class="post-metadata">

**Author:** ![henry](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henry/32/34211_2.png) [@henry](https://community.homey.app/u/henry)\
**Post date:** [July 23, 2021, 7:25am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/23 "2021-07-23T07:25:19Z")

</div>

App sometimes crashes randomly  
Happened to me a few times in a week

Diagnostic report :  
f3d826d6-be83-4d23-ac02-688784049935

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f2d88f858d1751234be19e37d82b8fb0f359a75a.jpeg)

---

<div class="post-metadata">

**Author:** ![Sjors\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjors_s/32/34205_2.png) [@Sjors\_S](https://community.homey.app/u/Sjors_S)\
**Post date:** [September 3, 2021, 10:34pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/24 "2021-09-03T22:34:25Z")

</div>

Hi Obelix,

I got a question regarding the connection status inside the flow which is nog changing when I disconnect a camera. I see the change inside the device view true the recording status but not the connection.

Can you see if there is any problem? Or maybe I’m doing something wrong (see flow below).  
Is it also possible to add the recording status inside the flow ‘if’ function? That can also be quite a useful tool.

**Example flow**

Thank you for the help and I’m looking forward to the reply,

---

<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:** [September 11, 2021, 3:18pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/25 "2021-09-11T15:18:06Z")

</div>

What are you using? Dreammachine or Cloudkey an what is the protect version?

---

<div class="post-metadata">

**Author:** ![Sjors\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjors_s/32/34205_2.png) [@Sjors\_S](https://community.homey.app/u/Sjors_S)\
**Post date:** [September 11, 2021, 3:59pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/26 "2021-09-11T15:59:39Z")

</div>

Hi Obelix,

I’m using the Cloud-Key Gen 2 Plus with the protect version 1.19.0

---

<div class="post-metadata">

**Author:** ![Johan\_Mauritzson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_mauritzson/32/16675_2.png) [@Johan\_Mauritzson](https://community.homey.app/u/Johan_Mauritzson)\
**Post date:** [September 24, 2021, 8:39pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/27 "2021-09-24T20:39:29Z")

</div>

> [@Lex](#):
>
> Hey folks,  
> I’ve got the app running for a while now. Since yesterday I’ve installed the G4 doorbell and ever since I created a flow for it, the app stopped as in, it shows the PAUSE icon on the apps list and devices are unavailable.
> 
> ![IMG_0201](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c118a63b17ad77c90800d7b61a69643f3252d13.jpeg)
> 
> ![IMG_0200](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0069141b676b15c1ce4f6b64386f472e7b1863a.png)

I have this exact issue in the latest update. Any tip to solve it?

Thanks!

---

<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:** [September 24, 2021, 9:38pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/28 "2021-09-24T21:38:38Z")

</div>

I will look tomorrow at it! It works great here,

---

<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:** [September 25, 2021, 8:03am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/29 "2021-09-25T08:03:50Z")

</div>

Can you install the developer version of the app? with debug modus on?

What is your controller?

---

<div class="post-metadata">

**Author:** ![Johan\_Mauritzson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_mauritzson/32/16675_2.png) [@Johan\_Mauritzson](https://community.homey.app/u/Johan_Mauritzson)\
**Post date:** [September 25, 2021, 8:28am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/30 "2021-09-25T08:28:56Z")

</div>

I have the regular Homey. Can that be the problem?

Maybe a noob question, but how do I install the developer version?

Just an little update also, I have no issues since yesterday when I removed the app completely, rebooted Homey and created the flow with my doorbell again.

---

<div class="post-metadata">

**Author:** ![Johan\_Mauritzson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_mauritzson/32/16675_2.png) [@Johan\_Mauritzson](https://community.homey.app/u/Johan_Mauritzson)\
**Post date:** [September 25, 2021, 1:38pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/31 "2021-09-25T13:38:20Z")

</div>

Unfortunately I got the same issue now again. How do i install the developer app?

---

<div class="post-metadata">

**Author:** ![James\_Woudenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/james_woudenberg/32/3700_2.png) [@James\_Woudenberg](https://community.homey.app/u/James_Woudenberg)\
**Post date:** [October 4, 2021, 1:37pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/32 "2021-10-04T13:37:29Z")

</div>

@ObelixNL

Is it possible that the latest homey update broke this app?

Connection to the unifi system is not working anymore (Error 401). I didnt changed anything with the user i created in the unifi system.

Already tried restarting the ubiquite app, reinstalled the app, changed password of the unifi account, updated unifi software.

---

<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:** [October 4, 2021, 2:47pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/33 "2021-10-04T14:47:04Z")

</div>

401 looks like an rights problem on the protect controller.

---

<div class="post-metadata">

**Author:** ![James\_Woudenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/james_woudenberg/32/3700_2.png) [@James\_Woudenberg](https://community.homey.app/u/James_Woudenberg)\
**Post date:** [October 4, 2021, 3:11pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/34 "2021-10-04T15:11:59Z")

</div>

really weird, my account for the app started with a capital letter, this was working fine. But after i changed it all to lower case in the unifi system and app it started working again.

---

<div class="post-metadata">

**Author:** ![Gisle\_Johnsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gisle_johnsen/32/9720_2.png) [@Gisle\_Johnsen](https://community.homey.app/u/Gisle_Johnsen)\
**Post date:** [October 19, 2021, 8:56am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/35 "2021-10-19T08:56:02Z")

</div>

Hello.  
I was woundering if there is a small hope of an option wich disables, buypasses or a workaround on this error.

`Error: Invalid x-csrf-token header.`

```auto
10/19/2021, 10:52:13 AM : [debug] Get CSRF Token...
10/19/2021, 10:52:13 AM : [debug] Logging in...

```

I guess this is because my unifi protect is running in a Docker enviroment on a synology, and the docker has no https certificate. But I am not sure…?  
I know it can work because I have Unifi protect running in Home Assistanse on port 7443 also in a Docker

---

<div class="post-metadata">

**Author:** ![Qwiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/qwiek/32/46555_2.png) [@Qwiek](https://community.homey.app/u/Qwiek)\
**Post date:** [October 27, 2021, 1:52pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/36 "2021-10-27T13:52:20Z")

</div>

@ObelixNL Thanks for the effort! Using homey for a while now but wasn’t aware of this app.

I was wondering: Does the Unifi API allow you to catch the Doorbel trigger (so physically push the button)? If so… I would love to spend some beers to implement this trigger card.

This would help us a lot to work around the fact that Unifi doesn’t sell wireless Chimes for those people who don’t have a physical old school chime (it kinda defeats the purpose of a doorbell atm).

Keep up the great work 🙂

---

<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:** [October 27, 2021, 6:00pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/37 "2021-10-27T18:00:56Z")

</div>

[https://homey.app/f/ok1W2P](https://homey.app/f/ok1W2P)

Looks like this?

---

<div class="post-metadata">

**Author:** ![Rijckholt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rijckholt/32/17914_2.png) [@Rijckholt](https://community.homey.app/u/Rijckholt)\
**Post date:** [October 28, 2021, 7:57am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/38 "2021-10-28T07:57:43Z")

</div>

Hi,

I just installed the Unifi Protect App. But cannot get the app configured.  
I have created a local user (i can login on my local network via the browser). I am on a dream machine version 1.10.4.  
I updated my firewall rules so homey can connect to my dream machine (homey is on a different subnet)

The app hangs on getting the CSRF token.  
in the little debug window i get the 2 following lines:

- [debug] loggin in…
- [debug] Get CSRF token

This times out with an error (see screenshot)

 ![IMG_0659.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85c8348146cba39ef3d95327f081e2d6e6d1ea62.jpeg)

Any ideas as to what is not working or how to fix this are welcome 😉

Regards  
Onno

---

<div class="post-metadata">

**Author:** ![Qwiek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/qwiek/32/46555_2.png) [@Qwiek](https://community.homey.app/u/Qwiek)\
**Post date:** [October 28, 2021, 8:53am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/39 "2021-10-28T08:53:45Z")

</div>

🥳 awesome! you made our day! Didn’t look at the App flow cards!

---

<div class="post-metadata">

**Author:** ![nielsoet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nielsoet/32/34829_2.png) [@nielsoet](https://community.homey.app/u/nielsoet)\
**Post date:** [October 28, 2021, 10:08am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/40 "2021-10-28T10:08:03Z")

</div>

Hi there,  
I’m having an issue that none of my camera’s is reporting movement. Is this a known issue? I’ve tried re-adding and checked the status, but I don’t seem to get a status.

 ![IMG_4530.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2ebe43f2935d6069b46ffca0f4c56e49c0af9ff5.jpeg)

---

<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:** [November 30, 2021, 10:13am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/41 "2021-11-30T10:13:35Z")

</div>

I’m having problems that the app keep stopping and needs to be re-started. It runs for some time but usually stops again quite quickly, if I test run a flow directly when I have re-started it works, but then after checking in later the app will have stopped.

---

<div class="post-metadata">

**Author:** ![R5Turbo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/r5turbo/32/15151_2.png) [@R5Turbo](https://community.homey.app/u/R5Turbo)\
**Post date:** [December 4, 2021, 2:22pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-protect/42966/42 "2021-12-04T14:22:38Z")

</div>

In my case the App stop as well after a few hours/days.  
I can’t send a message directly to the developer within the Homey App as my HTTP redirect says that the page hasn’t been found. However, this is the logmessage:

 ![IMG_BE8656D7831A-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60ae3ee76b5a72cbb6227030e76d6cf13e1c370c.jpeg)

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

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