[APP][Pro] Ubiquiti UniFi Network

I managed to get the IP address by pinging the FQDN of the adoption URL.
This works in the app.
It’s probably a dynamic address so it can change at any time. I only have to keep this up to date manually until there is a solution. (unless there is a way to do this automatically)

Ubiquiti has a version for the API ready. I don’t know how stable this is of course.
If you need anyone to help you test this, you can sign me up :wink:

could you explain me how I can find this local address from my dream router? I’m also not able to connect to my dream router from the app (I’ve already created a local user)

When you are using an Dream Machine or Cloud Gateway you can use your gateway ip address.

You can only create an local user on the local interface and not on the cloud interface of is this changed?

I tried using the gateway ip address but then I get a connection error

Best Obelix

I always get this message with your homey app.
Request failed with status code 401

The app for Unifi Protect works with my local user.

What do I need to adjust?

I’d love to hear about it.
Thank you in advance.

Use different account for Protect and Unifi… Have similar issue, turns out that I send too many requests to the unifi, and resulting in user temporary lock…

After splitting users, never occured again :slight_smile:

When I connect the app, it works fine and shows ‘connected.’ However, when I close that screen and go to ‘add devices,’ regardless of whether it’s wireless or wired, I get the error message


It’s now giving an error message in red at the bottom


It’s now giving an error message in red at the bottom

You must use separate accounts for each app/integration ( Unifi Network and Unifi Protect must an separate account for Homey integration ). You must give the user full permissions because some functionality uses the patch / update endpoints.

dear Obelix
i have separate accounts ,when i click “toepassen” it connects to your app.
But when i then want to add a client i get the 401 error.

But when i touch the Test userdata i get a error code see pictures.

When i touch the test button i get this fault code.

please help?

i also did a log.

812e13e7-e8f7-4f83-985a-a1003aca2c11

Dear millennium1980

I was experiencing the exact same issues you have.
When my Homey Pro updated to the latest version, 12.4.1, on April 3rd, both my Ubiquiti UniFi Network (v2.4.2) and Protect (v1.7.6) apps stopped working.

I ended up having to create a new user account on my Ubiquiti Dream Machine, which I then in turn used for the integration.
I use the same account for both apps, and I have assigned full access to network but only view access to protect, and both apps are working again.

I hope this will help solve your problem as well.

1 Like

Thank you Darkglow, I solved the problem by making an firewall rule between the homey and the Cloud key.
Thanks for your reply.

1 Like

Hi there - i’m trying to block / unblock a wired device via flow card. unfortunately i get the error “flow card not registered”

any ideas?
546d3775-2e34-4aed-8f66-3ee3fd5f8701

Feature/request to have a wifi client to reconnect. I seek a way to have a very old wifi3 device to reconnect. Where it is connected to UniFi AP but it doesn’t respond to ping. But when I log in to UniFi app on my mobile and force reconnect this resolves. So in a way to make this reconnect from Homey would be great.

My Cloud Key Gen 1 recently died, so I switched to a UCG Ultra. I was connecting directly to 192.168.1.10:8443, but that is not working anymore. How can I setup this app?

@ObelixNL thanks for this app! I have one question, would it also be possible to add controlling POE+ ports (enabling/disabling/restarting POE+) for POE switches in flows?

1 Like

been using this app for a good week or so and for the most part i’m loving it. so thank you so much for this app.

tried a few when cards and i suspect that its too much for the app as it crashes. thats with enable application flows ticked or unticked. not sure what it exactly does as i havent found any info on it here. i cant remember what when card it was as i was just playing around with it.

is there any info on the application flows checkbox? whether it helps to have it on or not depending on whats been configured.

what isnt working for me currently is when using a disconnected ‘when’ card and after that i use a disconnected with ‘and’ card. ive used both the name of my access point and the mac address and still equals to true even though the last access point i disconnected from doesnt match. Am i using the and card wrong for disconnected with?

on anther note for some reason when i installed the app its on version 2.4.2. the latest version is showing 2.4.5. is there something wrong? i tried to install the app again and does nothing. i suspect it should have updated as checking the release notes for versions above 2.42 there is one about autocomplete accesspoints which i’m defintely having an issue with.

Same issue. I have separate accounts which are both Super User and say connected but still get 401 error. It stopped working a few weeks back, so wondering if UniFi patch related. Any thoughts?

Reinstall resolved it