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

**URL:** <https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863>\
**Category:** Apps\
**Tags:** app\
**Created:** [September 19, 2018, 11:56am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863 "2018-09-19T11:56:58Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [January 13, 2021, 9:50pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/83 "2021-01-13T21:50:01Z")

</div>

Thanks for the update. Didn’t investigate myself yet.

---

<div class="post-metadata">

**Author:** ![UA84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ua84/32/31840_2.png) [@UA84](https://community.homey.app/u/UA84)\
**Post date:** [January 15, 2021, 6:41am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/84 "2021-01-15T06:41:01Z")

</div>

Did you solved this?  
I think i have the same issue with the cloudkey (v1).  
Cant connect with it anymore. It was working fine a couple of days ago.

---

<div class="post-metadata">

**Author:** ![tlangelaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tlangelaar/32/10980_2.png) [@tlangelaar](https://community.homey.app/u/tlangelaar)\
**Post date:** [January 16, 2021, 6:54am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/85 "2021-01-16T06:54:40Z")

</div>

Switched to smart presence app, all devices showed red error icons and flows kept on being disabled due to too many triggers. @Pellucid, thanks until now for your app! Let us know if you’re going to support the updated API.

---

<div class="post-metadata">

**Author:** ![gy\_1977](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gy_1977/32/16573_2.png) [@gy\_1977](https://community.homey.app/u/gy_1977)\
**Post date:** [January 19, 2021, 10:39pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/86 "2021-01-19T22:39:49Z")

</div>

I have a UDM and would love to use this app but it won’t connect for me either. I’m running the latest firmware as well.

---

<div class="post-metadata">

**Author:** ![Szergely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/szergely/32/24419_2.png) [@Szergely](https://community.homey.app/u/Szergely)\
**Post date:** [January 20, 2021, 9:01am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/87 "2021-01-20T09:01:51Z")

</div>

I have a same problem, all my creditals is fine, and i can’t connect. Latest app, and latest software, changed password and roles. CloudKeyGen2+

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [January 20, 2021, 11:23am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/88 "2021-01-20T11:23:26Z")

</div>

A connection with the DreamMachine is also not possible despite the changed port 443. At the moment I did the following: The DreamMachine is recognized by the Home Assistant on port 443. I then send the relevant entities to Homey.

 ![Screenshot_20210120-122713_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2739938008ffeab6459c9e2ea0168b892304c3e.jpeg)

 ![Screenshot_20210120-123216_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bdeeab8f6e60d332ea6e2e320c2aec25e5720ca8.jpeg)

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 20, 2021, 11:54am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/89 "2021-01-20T11:54:34Z")

</div>

Mine was working flawless for a long time, not using UDM but a normal controller running on docker. It’s been running on 6.0.43 for some time too but for some reason as of today it doesn’t work anymore. I can remember I checked it last week and it worked, now it stays disconnected with a Unexpected server respons 401. 401 translates to unauthenticated.

What I did do was enable 2FA on my main account (also used by the Homey) but I created an additional account without 2FA enabled. But doesn’t help either.

Did they change something after the hack? Does anyone know?

---

<div class="post-metadata">

**Author:** ![UA84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ua84/32/31840_2.png) [@UA84](https://community.homey.app/u/UA84)\
**Post date:** [January 20, 2021, 7:46pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/90 "2021-01-20T19:46:35Z")

</div>

This worked for me:

> [@Ubiquiti Unifi en credentials](https://community.homey.app/t/ubiquiti-unifi-en-credentials/30848/36):
>
> Ik had dus mijn ww gewijzigd na de hack. Nieuwe ww in ios app gezet en de app werkte weer. Had ook meteen een nieuwe ww voor de CK aangemaakt. Ook geen probleem om in te loggen in CK met nieuwe ww. Kort samengevat: kon in [account.ui.com](http://account.ui.com) met nieuwe ww inloggen kon in de ios app (als controller) met de nieuwe ww inloggen kon CK via web benaderen met nieuwe ww kon met nieuwe ww niet inloggen in webversie van de controller. Daar zat dus het probleem. Uiteindelijk met oude ww geprobeerd in webver…

If you speak Dutch ;). 2FA is enabled and works fine now.

So basically (for the non Dutch speakers). Go to the webversion of the controller and change the password also in the controller. If cant get in the webversion of the controller, try your old password and change your password (again). Put in your credentials again in the homey app. Worked for me.

---

<div class="post-metadata">

**Author:** ![Szergely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/szergely/32/24419_2.png) [@Szergely](https://community.homey.app/u/Szergely)\
**Post date:** [January 21, 2021, 9:12am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/91 "2021-01-21T09:12:25Z")

</div>

Still not working, 2FA is disabled this is my 2nd account for Homey… but no luck ☹

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 21, 2021, 10:09am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/92 "2021-01-21T10:09:06Z")

</div>

It works again for me. What I did was disabling the 2FA and logging in with my primary account. I cannot get a 2nd account to work. Doesn’t matter if I give it super admin rights or anything, it just doesn’t authenticate.

What I would like to do is to use the 2nd account with read only rights to be used by my homey and have my super admin protected by 2FA. I have never really looked into this so can’t confirm it ever worked.

---

<div class="post-metadata">

**Author:** ![Szergely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/szergely/32/24419_2.png) [@Szergely](https://community.homey.app/u/Szergely)\
**Post date:** [January 21, 2021, 11:00am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/93 "2021-01-21T11:00:06Z")

</div>

Yeah exacly same, but i don’t want to disable 2FA, I want to use 2nd account, and not working. 😕

---

<div class="post-metadata">

**Author:** ![Henry\_van\_der\_Wielen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henry_van_der_wielen/32/24653_2.png) [@Henry\_van\_der\_Wielen](https://community.homey.app/u/Henry_van_der_Wielen)\
**Post date:** [January 23, 2021, 4:26pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/94 "2021-01-23T16:26:35Z")

</div>

I’ve got my new Unifi network up and running now and everything is working very nicely.  
But my Homey app is behaving strangely.  
I must use port 443 instead of 8443 for the app to connect at all.

But it keeps connecting and disconnecting to my Cloud Key Gen 2+ continuously.  
In the debug log I see this repeating every few seconds (_it’s copy/pasted from the log so read it from the bottom up_):

_Connection succes!_  
_Updating status to Disconnected_  
_TypeError: Cannot read property ‘forEach’ of undefined_  
_Error while fetchin client list:_  
_Updating status to Disconnected_  
_TypeError: Cannot read property ‘forEach’ of undefined_  
_Error while fetchin usergroup list_  
_Updating status to Disconnected_  
_TypeError: Cannot read property ‘forEach’ of undefined_  
_Error while fetchin client list:_  
_Updating status to Disconnected_  
_TypeError: Cannot read property ‘forEach’ of undefined_  
_Error while fetching ap list_  
_Accesspoints received_  
_Fetching user group list_  
_Updating status to Connected_  
_Connection succes!_

Does anyone have an idea why this is happening?

---

<div class="post-metadata">

**Author:** ![HanZ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hanz/32/18371_2.png) [@HanZ](https://community.homey.app/u/HanZ)\
**Post date:** [January 27, 2021, 8:25pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/95 "2021-01-27T20:25:08Z")

</div>

Same problem, any help is welcome

---

<div class="post-metadata">

**Author:** ![gy\_1977](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gy_1977/32/16573_2.png) [@gy\_1977](https://community.homey.app/u/gy_1977)\
**Post date:** [January 28, 2021, 9:01am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/96 "2021-01-28T09:01:23Z")

</div>

I see it’s been updated but the problem still persists

---

<div class="post-metadata">

**Author:** ![UA84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ua84/32/31840_2.png) [@UA84](https://community.homey.app/u/UA84)\
**Post date:** [January 28, 2021, 9:09am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/97 "2021-01-28T09:09:23Z")

</div>

Which firmware are you guys on (controller and cloudkey), mine works fine now.

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 28, 2021, 9:34am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/98 "2021-01-28T09:34:36Z")

</div>

The app just got updated, please retest

---

<div class="post-metadata">

**Author:** ![Szergely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/szergely/32/24419_2.png) [@Szergely](https://community.homey.app/u/Szergely)\
**Post date:** [January 28, 2021, 10:44am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/99 "2021-01-28T10:44:16Z")

</div>

Still not working… I reinstalled the app

> 8/01/2021, 11:43:24 : [debug] StatusCodeError: 401 - “Unauthorized”
> 
> 28/01/2021, 11:43:24 : [debug] Error while fetching client list:
> 
> 28/01/2021, 11:43:24 : [debug] Updating status to Connected
> 
> 28/01/2021, 11:43:24 : [debug] Connection success!
> 
> 28/01/2021, 11:43:24 : [debug] Updating status to Disconnected
> 
> 28/01/2021, 11:43:24 : [debug] StatusCodeError: 401 - “Unauthorized”
> 
> 28/01/2021, 11:43:24 : [debug] Error while fetching usergroup list
> 
> 28/01/2021, 11:43:24 : [debug] Updating status to Disconnected
> 
> 28/01/2021, 11:43:24 : [debug] StatusCodeError: 401 - “Unauthorized”
> 
> 28/01/2021, 11:43:24 : [debug] Error while fetching client list:
> 
> 28/01/2021, 11:43:24 : [debug] Updating status to Disconnected
> 
> 28/01/2021, 11:43:24 : [debug] StatusCodeError: 401 - “Unauthorized”
> 
> 28/01/2021, 11:43:24 : [debug] Error while fetching ap list
> 
> 28/01/2021, 11:43:23 : [debug] Updating status to Disconnected
> 
> 28/01/2021, 11:43:23 : [debug] StatusCodeError: 401 - “Unauthorized”
> 
> 28/01/2021, 11:43:23 : [debug] Error while fetching client list:
> 
> 28/01/2021, 11:43:23 : [debug] Fetching user group list
> 
> 28/01/2021, 11:43:23 : [debug] Updating status to Connected
> 
> 28/01/2021, 11:43:23 : [debug] Connection success!

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 28, 2021, 10:57am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/100 "2021-01-28T10:57:19Z")

</div>

That’s a pitty, you sure you are using the latest version (should be if you have just reinstalled the app, but the latest version is 2.0.7).

---

<div class="post-metadata">

**Author:** ![Szergely](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/szergely/32/24419_2.png) [@Szergely](https://community.homey.app/u/Szergely)\
**Post date:** [January 28, 2021, 10:59am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/101 "2021-01-28T10:59:18Z")

</div>

Yes, and the account is working perfect i’m sure! Anyway whats the different 443 or 8443 port? I use cloudkeygen2+

Actually my last idea is restart the cloudkey 😃

EDIT: cloudkey got a update, mybe this fix, finger crossed!

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [January 28, 2021, 11:05am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/102 "2021-01-28T11:05:26Z")

</div>

I’m crossing my fingers. The 8443 port is, as far as I know, the default port. I’m using a docker image and that still uses 8443. Don’t own a cloudkey gen2 so don’t know if that is different.

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

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