[APP][Pro] Ubiquiti UniFi Protect

I want Homey to decide if Unifi Protect shall notify me or not.

Solution from Unifi
Today I can restrict notifications based on schedule and/or GEO-Location within the Protect app.
But is not good enough. I want homey to decide with more schenarios.

Example
At nighttime when the house is locked. I want motiondetect notifications from the Protect App.
But I dont want it to notify me if it is not locked.

Solution?
Is there a way to toggle this in some smart way, API, or otherway?
A simplier solution than below would be great.


Maybe here is a solution (but its not pretty)

[Unify Protect] Motion alarmed triggered → Send webhook to [Homey] “Alarm triggered”

And at the same time: A new Alarm is started within Unifi protect. But this one is waiting for confirmation to send notification (confirmation via web hook from Homey)

IF [Homey] want me to have the notification → [Homey] send Webhook back to [Unify Protect] “yes please give us that notification”

G4 POE ubiquity doorbell app, on my Homey, I can not get the app on Homey to work, can anybody help me

Hello anyone any idea how to connect the ubiquiti protect cams into homey since the 2 factor authentication? It used to work before the 2 factor authentication but now if you want to connect then you have to use the ubiquiti app Verify. So you get the message “the credentials are invalid” and then you get the message on your iphone via the Verify app.
Is ther a workaround because you can’t disable the 2 factor authentication in Ubiquiti protect.
Looking forward to your advice

See first post in the app specific topic as linked from app store.

Please use an local account, there is no 2fa support

You can send me a DM with your error message. It can be in Dutch, no problem at al

bedoel je een local account voor homey of voor ubiquiti (met ander mail adres dan)?

If you could please keep the conversation in English as much as possible, then more people will be able to participate and help you. Please translate your post into English, otherwise it will be deleted in three days to keep the thread in just one language as stated in the forum rules Welcome to the forum!

Send me a DM, then we can chat in Dutch.

Hi There,

So resently UniFi starters a new kind of 2fa protocol, now i Have The issue That i cant Connect my camera’s to my Homey. Because of The 2fa.

Can annybody help?

Hi everyone and @ObelixNL

Allready for a longer time I see strange behaviour with the app.
First of all, i’m using a local account (all lowercase characters) without 2FA to prevent login/connection issues.

A view hours after a succesfull login (first did a ’ test connection’ before applying the configuration) the connection to my Cloudkey Gen2+ is lost, resulting in this:

Going back to the configuration and performing a ‘test connection’ results in a “credentials are invalid” response. Strange enough, if I change a character in the username within the app configuration to a capital letter and retest te connection, the credenatials are valid againg. But after a while the same story again.

For comparison, I don’t have these issues with the Ubiquiti UniFi Network app allthough i’m using the same login credentials.

Does anyone have the same issues and @ObelixNL do you have a solution for this?

@SachaH Do you have time to make a phone call and a moment to look at your configuration? After that we can post my findings here on the forum for other people with the same problem.

@Eeloc the app works with local users and not with cloud users. Local users works without 2fa. Later on I will change the code to the integration api then you must generate an token for the app.

First of all, thanks for your great Ubiquiti Unifi Protect App!

My Ubiquiti UniFi G4 Doorbell Pro has a built-in speaker, but there is no native way of playing a sound via that speaker.

However, thanks to the Ubiquiti’s new Protect API, I found a way to play a sound file, via CMD on PC:
ffmpeg -re -i "my_sound_file.opus" -c:a copy -f rtp rtp://XXX.XXX.XXX.XXX:XXXX

Unfortunately, Advanced Flow and HomeyScript don’t seem to have ability to send data via RTP.
Is this maybe a feature that can be added to Ubiquiti Unifi Protect App?
I.e. Play sound on a camera (that has a built-in speaker)?