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)?
I have upgraded my camera park with an G6 Turret.
If I enable Face recognition on the g6 I cannot use “set recording mode” card any more. It will only work on my g6 turret camera. My older camera won’t change recording mode with the flow. If I disable Face recognition and/or licens plate recognition the flow will work on all my cameras again. As sone as I enable on of the functions it will only work on the g6 camera again. It would be nice to have the facial recognition and/or licens plate recognition turned on and still use homey to turn on an off the recording mode… does anyone have a solution?
I’m on the latest Unifi Protect. I’ve added the IP adress of the G4 Doorbell and created a new account with local acces and full rights but it still won’t connect. Has something changed in the last couple of months? I keep getting an invalid credentials error.
However, I can not get it to add to my system. It comes up all the time about “Validating UniFi Cloud Key - Please set the cloud key in settings first”.
I do not have a cloud key. I have UDM-Pro that manages my network. How do I get around this?
UPDATE: Got it working; had to go to settings, open the app, and config it there. I made a local account strictly for UI Protect.