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

<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, 11:15am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/104 "2021-01-28T11:15:56Z")

</div>

OMG connected! What the hell! 😃

 ![CleanShot 2021-01-28 at 12.12.50@2x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9ee2ca35626fc74150e86dc698902216503ba317.png)

Local user working fine. I reinstalled the app, and rebooted the Cloudkey. Don’t forget to make local creditals in in the UniFi user settings:

 ![CleanShot 2021-01-28 at 12.15.26@2x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b242969bef4fbf2aa7938dffad0c94b9b4512229.jpeg)

---

<div class="post-metadata">

**Author:** ![Hockeymask](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hockeymask/32/30101_2.png) [@Hockeymask](https://community.homey.app/u/Hockeymask)\
**Post date:** [January 28, 2021, 11:32am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/105 "2021-01-28T11:32:27Z")

</div>

Hi, i get StatusCodeError: 200 when i try to connect to my cloudkey v3. someone know whats the problem? 🙂

---

<div class="post-metadata">

**Author:** ![Bulletcather](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bulletcather/32/13738_2.png) [@Bulletcather](https://community.homey.app/u/Bulletcather)\
**Post date:** [January 28, 2021, 6:00pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/106 "2021-01-28T18:00:46Z")

</div>

Apps works now great with dreammachinepro.  
Only wired connection give a error

---

<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, 8:57pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/107 "2021-01-28T20:57:09Z")

</div>

Hi I’ve not did this, could you tell me how you have did this. I’ve been trying but struggling to figure it out. I have a UDM

---

<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, 9:09pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/108 "2021-01-28T21:09:23Z")

</div>

Whats the problem? We need log. Anyway i don’t have UDM, mybe it has different software.

---

<div class="post-metadata">

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

</div>

Does not work with the latest firmware and version.  
Started getting unauthorized. It keeps hammering away trying to connect… have to disable the app.

Any ideas?

---

<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:49pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/110 "2021-01-28T21:49:26Z")

</div>

\* If you just want to restart the connection, then click “Apply” again.

This is a list of possible Site ID’s: (if possible, this list is a discovered list)

DEBUG MESSAGES [TOGGLE](https://192-168-1-201.homey.homeylocal.com/app/com.ubnt.unifi/settings/?webview=1#)

Up to 100 messages are shown below, in reverse order (newest on top):

28/01/2021, 21:49:14 : [debug] Updating status to Disconnected

28/01/2021, 21:49:14 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:14 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:14 : [debug] Updating status to Disconnected

28/01/2021, 21:49:14 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:14 : [debug] Error while fetching client list:

28/01/2021, 21:49:14 : [debug] Updating status to Disconnected

28/01/2021, 21:49:14 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:14 : [debug] Error while fetching ap list

28/01/2021, 21:49:13 : [debug] Accesspoints received

28/01/2021, 21:49:13 : [debug] Fetching user group list

28/01/2021, 21:49:13 : [debug] Updating status to Connected

28/01/2021, 21:49:13 : [debug] Connection success!

28/01/2021, 21:49:13 : [debug] Updating status to Disconnected

28/01/2021, 21:49:13 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:13 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:13 : [debug] Updating status to Disconnected

28/01/2021, 21:49:13 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:13 : [debug] Error while fetching client list:

28/01/2021, 21:49:13 : [debug] Updating status to Disconnected

28/01/2021, 21:49:13 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:12 : [debug] Error while fetching ap list

28/01/2021, 21:49:12 : [debug] Accesspoints received

28/01/2021, 21:49:12 : [debug] Fetching user group list

28/01/2021, 21:49:12 : [debug] Updating status to Connected

28/01/2021, 21:49:12 : [debug] Connection success!

28/01/2021, 21:49:09 : [debug] Updating status to Disconnected

28/01/2021, 21:49:09 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:09 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:09 : [debug] Updating status to Disconnected

28/01/2021, 21:49:09 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:09 : [debug] Error while fetching client list:

28/01/2021, 21:49:08 : [debug] Updating status to Disconnected

28/01/2021, 21:49:08 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:08 : [debug] Error while fetching ap list

28/01/2021, 21:49:08 : [debug] Accesspoints received

28/01/2021, 21:49:08 : [debug] Fetching user group list

28/01/2021, 21:49:08 : [debug] Updating status to Connected

28/01/2021, 21:49:08 : [debug] Connection success!

28/01/2021, 21:49:08 : [debug] Updating status to Disconnected

28/01/2021, 21:49:08 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:08 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:08 : [debug] Updating status to Disconnected

28/01/2021, 21:49:08 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:08 : [debug] Error while fetching client list:

28/01/2021, 21:49:07 : [debug] Updating status to Disconnected

28/01/2021, 21:49:07 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:07 : [debug] Error while fetching ap list

28/01/2021, 21:49:07 : [debug] Accesspoints received

28/01/2021, 21:49:07 : [debug] Fetching user group list

28/01/2021, 21:49:07 : [debug] Updating status to Connected

28/01/2021, 21:49:07 : [debug] Connection success!

28/01/2021, 21:49:04 : [debug] Updating status to Disconnected

28/01/2021, 21:49:04 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:04 : [debug] Error while fetching client list:

28/01/2021, 21:49:04 : [debug] Updating status to Disconnected

28/01/2021, 21:49:04 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:04 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:03 : [debug] Updating status to Disconnected

28/01/2021, 21:49:03 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:03 : [debug] Error while fetching ap list

28/01/2021, 21:49:03 : [debug] Accesspoints received

28/01/2021, 21:49:03 : [debug] Fetching user group list

28/01/2021, 21:49:03 : [debug] Updating status to Connected

28/01/2021, 21:49:03 : [debug] Connection success!

28/01/2021, 21:49:03 : [debug] Updating status to Disconnected

28/01/2021, 21:49:03 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:03 : [debug] Error while fetching usergroup list

28/01/2021, 21:49:03 : [debug] Updating status to Disconnected

28/01/2021, 21:49:02 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:02 : [debug] Error while fetching ap list

28/01/2021, 21:49:02 : [debug] Updating status to Disconnected

28/01/2021, 21:49:02 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:49:02 : [debug] Error while fetching client list:

28/01/2021, 21:49:02 : [debug] Accesspoints received

28/01/2021, 21:49:02 : [debug] Fetching user group list

28/01/2021, 21:49:02 : [debug] Updating status to Connected

28/01/2021, 21:49:02 : [debug] Connection success!

28/01/2021, 21:48:59 : [debug] Updating status to Disconnected

28/01/2021, 21:48:59 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:59 : [debug] Error while fetching usergroup list

28/01/2021, 21:48:58 : [debug] Updating status to Disconnected

28/01/2021, 21:48:58 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:58 : [debug] Error while fetching client list:

28/01/2021, 21:48:58 : [debug] Updating status to Disconnected

28/01/2021, 21:48:58 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:58 : [debug] Error while fetching ap list

28/01/2021, 21:48:58 : [debug] Accesspoints received

28/01/2021, 21:48:58 : [debug] Fetching user group list

28/01/2021, 21:48:58 : [debug] Updating status to Connected

28/01/2021, 21:48:58 : [debug] Connection success!

28/01/2021, 21:48:58 : [debug] Updating status to Disconnected

28/01/2021, 21:48:57 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:57 : [debug] Error while fetching usergroup list

28/01/2021, 21:48:57 : [debug] Updating status to Disconnected

28/01/2021, 21:48:57 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:57 : [debug] Error while fetching client list:

28/01/2021, 21:48:57 : [debug] Updating status to Disconnected

28/01/2021, 21:48:57 : [debug] TypeError: Cannot read property ‘forEach’ of undefined

28/01/2021, 21:48:57 : [debug] Error while fetching ap list

---

<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:02pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/111 "2021-01-28T22:02:11Z")

</div>

Okey, did you reinstall the app in homey, and the UDM is up to date? With the user, can you connect and control in chrome the network? 2FA is turned off? Mybe reboot the UDM too. For me the 443 port is the good, so check the ✔ in UNIFIOS.

 ![IMG_2414](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/45a945e4d9957470b6e3323ed640c4aedcba2658.png)

---

<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, 10:34pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/112 "2021-01-28T22:34:31Z")

</div>

I have not given the UDM controller a name, I have been inserting the controller gateway here, 192.168.1.1/24

I’ll try naming the controller

---

<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, 10:47pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/113 "2021-01-28T22:47:26Z")

</div>

Now resolved, many thanks

---

<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:47pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/114 "2021-01-28T22:47:54Z")

</div>

Awesome what was the problem? 🙂

---

<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, 10:53pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/115 "2021-01-28T22:53:55Z")

</div>

I just had to change the controller host name from the default one

Now to see what flows I can make

Thanks again

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [January 29, 2021, 10:11am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/116 "2021-01-29T10:11:11Z")

</div>

Hi,  
I tried to use the Unifi app with my UDM and it worked fine, but I noted that the CPU load on my Homey was doubled so I uninstalled the Unifi app.  
Does anyone have same experience?

 ![SkärmklippUDM](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a19e77253e4bd4dc5aeea4020fa37b3986ade747.png)

---

<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 29, 2021, 1:00pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/117 "2021-01-29T13:00:10Z")

</div>

Indeed, but of course its normal, because one more app is use the processor and working.

Check mine:

 ![CleanShot 2021-01-29 at 13.56.13@2x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/f/0f14b718ee6066e0371827c440e14ed5deb29a26.png)

A bit more (0.7 to 0.8 max 1.0), but its not 70+ (are bad)! That 10%+ its not bad at all.

---

<div class="post-metadata">

**Author:** ![pennybridge](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pennybridge/32/7201_2.png) [@pennybridge](https://community.homey.app/u/pennybridge)\
**Post date:** [January 30, 2021, 10:31am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/118 "2021-01-30T10:31:24Z")

</div>

I am still having issues. I get 401 unauthorized…

Settings in the app:

- Host: 192.168.1.110
- Port: 443
- Username: (the SSL username set up for the controller)
- Password: (the SSL password set up for the controller)
- Site: Home

Some comments:

- I have 2FA enabled for my Ubiquity account. But that should not matter because I assume Homey is using the SSL username/password to authenticate?
- It stopped working after I upgraded my Cloud Key with the latest firmware and version.

---

<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 30, 2021, 11:09am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/119 "2021-01-30T11:09:28Z")

</div>

Are you sure you have to use port 443. Log in on your cloudkey to check the port.

Maybe you can also try the different usernames and password. I think i used the username and password of the cloudkey and not the controller, bur aint sure.

---

<div class="post-metadata">

**Author:** ![pennybridge](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pennybridge/32/7201_2.png) [@pennybridge](https://community.homey.app/u/pennybridge)\
**Post date:** [January 30, 2021, 11:28am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/120 "2021-01-30T11:28:46Z")

</div>

I finally resolved it!

If you want to keep 2FA (which you definitely should for obvious security reasons whenever possible!) do this:

1. Login to you Cloud key over local IP from a browser (e.g. [https://192.168.1.110](https://192.168.1.110)).
2. Go to Users
3. Select your user you want to use for fetching data to homey (e.g. the owner account).
4. Go to the tab “Profile”
5. Enable “Local account” and enter a username and password.

That’s it on the Unifi side of things. Now go to the Ubiquity Unifi Network app on homey on your phone and enter the local IP of your cloud key, provide port 443 (https) and provide the LOCAL user that you just created in step 5 above.

That did it for me! You should avoid using your Ubiquity cloud account as suggested elsewhere.

---

<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 30, 2021, 3:15pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/121 "2021-01-30T15:15:21Z")

</div>

🤷🏻‍♂️ i already wrote that: [Ubiquiti UniFi app - #104 by Szergely](https://community.homey.app/t/ubiquiti-unifi-app/1863/104)

---

<div class="post-metadata">

**Author:** ![Bulletcather](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bulletcather/32/13738_2.png) [@Bulletcather](https://community.homey.app/u/Bulletcather)\
**Post date:** [January 31, 2021, 7:44pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/122 "2021-01-31T19:44:17Z")

</div>

Wired devices are now visable.  
But there is no options for flows. This would be very handy for devices like a pc to monitor if the are on or off

---

<div class="post-metadata">

**Author:** ![William\_Gulden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/william_gulden/32/16732_2.png) [@William\_Gulden](https://community.homey.app/u/William_Gulden)\
**Post date:** [February 5, 2021, 8:45am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-app/1863/123 "2021-02-05T08:45:17Z")

</div>

Since 8 hours ago the unifi network app is stopped working, anyon else has this problem?

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

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