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

**URL:** <https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967>\
**Category:** Apps\
**Created:** [February 14, 2021, 9:54am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967 "2021-02-14T09:54:13Z")\
**Posts on this page:** 20\
**Page:** 13

<div class="post-metadata">

**Author:** ![DGalama](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dgalama/32/10402_2.png) [@DGalama](https://community.homey.app/u/DGalama)\
**Post date:** [January 8, 2023, 3:57pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/244 "2023-01-08T15:57:01Z")

</div>

I have a similar issue. Although it seems the app is working (I can see al my network devices go online and offline, and status is updated correctly), my existing flows do not work anymore.  
To test, I made this simple flow that works if I manually run it, but does not do anything if I take a network device (i.e. my phone) offline.

 ![Screen Shot 2023-01-08 at 16.56.04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee00d3eed7922b55efdb02dfbf369f29c70e829d.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, 2023, 8:27pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/245 "2023-01-08T20:27:05Z")

</div>

In my previous post I indicated that Application Flows no longer work. They will no longer be selectable in the next version.

You can only select a flow card when you add a device.

When you call a flow card in Homey too often, the memory usage increases. In certain situations there are many disconect and connect events, so that too many flow cards are called in succession.

We can activate this again later when Homey has solved the bug, but it will take a while because we cannot make a good example for Homey.

---

<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, 2023, 8:30pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/246 "2023-01-08T20:30:45Z")

</div>

Tomorrow I will release a new test version with a few improvements.

- Connected with access point flowcard can now also be used with the name and is no longer case sensitive.
- added extra debug logging
- additional error handling
- increased rssi and signal range
- if no access point name is known, replace it with - instead of crash

---

<div class="post-metadata">

**Author:** ![Stortkoker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stortkoker/32/18254_2.png) [@Stortkoker](https://community.homey.app/u/Stortkoker)\
**Post date:** [January 9, 2023, 9:46pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/247 "2023-01-09T21:46:32Z")

</div>

Hi Obelix,

I tested the new version and made a separate flow for it.

 ![Schermafbeelding_20230109_223906](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/5652819dc06c0340fe421629277e5888c3196694.png)

My conclusion is that connection en disconnect are functioning properly, but the roaming (zwerven) does not trigger, therefore the “and” card are also not working.  
The status form the “device” is changing accordingly, it show the right AP, but for a unknown reason it does not trigger the flow (if).

Hope this feedback helps. If you want more input, feel free to ask.

---

<div class="post-metadata">

**Author:** ![Fac3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fac3/32/4550_2.png) [@Fac3](https://community.homey.app/u/Fac3)\
**Post date:** [January 11, 2023, 4:43pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/248 "2023-01-11T16:43:30Z")

</div>

I tested the issue again and could not make it happen again.

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [January 13, 2023, 9:05pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/249 "2023-01-13T21:05:43Z")

</div>

At the risk of asking a stupid question, I have installed the UniFi Network app and the Connection Status is showing Disconnected. It the settings page there is already entered a Host, Username and Password and that it uses port 443. Something presumably needs changed, what might that be?  
Trying to pair a device just brings up “Unknown Error”

---

<div class="post-metadata">

**Author:** ![Heronimus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heronimus/32/3564_2.png) [@Heronimus](https://community.homey.app/u/Heronimus)\
**Post date:** [January 18, 2023, 3:27pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/250 "2023-01-18T15:27:49Z")

</div>

Using the Experimental version v2.3.8 now for more than a week. Sometimes it misses a disconnect of a WiFi connected device (phone). When restarting the app, the device is updated to its correct state “disconnected”.

I’m very happy with the recovery of this app till so far. Thanks for all your work!

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [January 18, 2023, 3:40pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/251 "2023-01-18T15:40:08Z")

</div>

Do you mean that the IF-card wasn’t triggered, or that the device in Homey wasn’t showing the correct state?

---

<div class="post-metadata">

**Author:** ![Heronimus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heronimus/32/3564_2.png) [@Heronimus](https://community.homey.app/u/Heronimus)\
**Post date:** [January 18, 2023, 4:07pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/252 "2023-01-18T16:07:51Z")

</div>

Do you use a valid user & password, In my case I use  
site ID= default  
pull methode & Interval = interval&websocket)  
interval=15

---

<div class="post-metadata">

**Author:** ![Heronimus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heronimus/32/3564_2.png) [@Heronimus](https://community.homey.app/u/Heronimus)\
**Post date:** [January 18, 2023, 4:09pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/253 "2023-01-18T16:09:28Z")

</div>

Both, the device shows connected while it isn’t, and the IF card is not triggered

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [January 19, 2023, 3:54pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/254 "2023-01-19T15:54:03Z")

</div>

Feature request: I was wondering if it would be possible for this app to support blocking/unblocking individual devices? For example to block wifi access for the kids on demand from a flow?

Something like:

> <https://github.com/Art-of-WiFi/UniFi-API-client/blob/master/src/Client.php#L352>

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [January 19, 2023, 4:40pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/255 "2023-01-19T16:40:23Z")

</div>

+1

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [January 20, 2023, 8:20pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/256 "2023-01-20T20:20:47Z")

</div>

No I hadn’t as wasn’t prompted to in the install process and the Getting started guide doesn’t say to. Have just created a local access only account for Homey and will try that

Unfortunately getting error [object Object]

Won’t connect

---

<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 20, 2023, 11:18pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/257 "2023-01-20T23:18:41Z")

</div>

I think incorrect credentials or can’t connect to unifi server

---

<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 20, 2023, 11:19pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/258 "2023-01-20T23:19:40Z")

</div>

Feature request can been created on GitLab, because i am in an happy flow i have add this to the next test version.

---

<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 20, 2023, 11:20pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/259 "2023-01-20T23:20:58Z")

</div>

Next week i will release an new version with setting to enable application flows again. On some devices there are no memory leaks ( i think small wifi deployments of stable wifi devices ).

---

<div class="post-metadata">

**Author:** ![Markos84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/markos84/32/9447_2.png) [@Markos84](https://community.homey.app/u/Markos84)\
**Post date:** [January 21, 2023, 2:58pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/260 "2023-01-21T14:58:38Z")

</div>

Hello, for several weeks now I have had the problem that the app (v2.3.6) no longer connects to my Cloud key Gen2 plus (v3.0.13).  
I get to see in the debug that it is StatusCodeError 401 - Unauthorised.

After some testing, the local unifi account no longer appeared to be working (I can no longer login locally with it in the Cloud key dashboard either. The user does have sufficient permissions.

When I change the user’s username within the Cloud key dashboard, for example from homey to homey2, it immediately works again. After about 10 hours, I have the same problem again that the account can no longer log in.

Anyone have any idea what this could be? The lockout seems to be specific to username. For my local homebridge which also uses a local unifi account this does not happen.

(Homey version 8.1.2)

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [January 21, 2023, 3:00pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/261 "2023-01-21T15:00:56Z")

</div>

I changed the password to remove symbols, just have letters and numbers now, same problem. Homey is connected to the UDRs 2,4GHz wifi. What might prevent the app from connecting to UniFi? I have the Homey Admin roles as UniFi OS and Network, both View only

---

<div class="post-metadata">

**Author:** ![Ollem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ollem/32/9413_2.png) [@Ollem](https://community.homey.app/u/Ollem)\
**Post date:** [January 23, 2023, 8:04pm UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/262 "2023-01-23T20:04:44Z")

</div>

v2.3.8 works pretty well for me now - Thanks! 👍

No crashes so far.  
And 5 iPhones roaming-, disconnecting- and connecting messages are fast and useful (4 APs)  
Memory usage steady up and down between 20.5MB and 21MB

---

<div class="post-metadata">

**Author:** ![JeeHaa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeehaa/32/29849_2.png) [@JeeHaa](https://community.homey.app/u/JeeHaa)\
**Post date:** [January 24, 2023, 6:30am UTC](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/263 "2023-01-24T06:30:52Z")

</div>

Just did a quick test with 2.3.9 and device block/unblock seems to work great, thanks a lot! 👌

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

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