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.
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”
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
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!
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)?