Have no idea where else to ask, to trying also here.
I am currently struggling with webhook automation trigger.
Behavior is very strange.
Use case is, custom alarm within Unifi camera to trigger automation for outdoor lights.
If I sent the POST via Postman, the automation is triggered.
If the same POST is sent via unifi, nothing - the trace in automation is empty - not called. I have no idea where the data could be lost.
The Unifi camera motion detection works fine, but detects also motion from sidewalk.
Does anyone have experience with those?
(Set to POST, only local false)I cannot use Unifi entity within this camera, as there is no support for zones (need to ignore cars and persons on the sidewalk). HA Greed, whole infrastructure is Unifi.
Never heard of that. Some kind of software? I am kind of fresh user, never saw linux, never compile anything. Unifi stuff is connect to power hit next few times and forget.Got HA installed by my friend, I am able to add Sonoff or Ikea stuff and do basic automations. So please, like with idiot
Sorry, but there are only replies with no success from everyone. I did not found not single user with heureka - its working. There are many manual and how to, but my webhook doesnt reach HA and I have no idea why. Unifi says its detected and webhook triggered. But HA is dead. When I hit webhook from Postman, it works. Like a firewall between unifi and HA connected to unifi.
I’m a bit late here, but wanted to share my experience in case it helps.
Through trial-and-error, I discovered that webhook triggers in Unifi Protect only work if they are the only action for the alarm. I was experimenting with using webhooks and had an alarm sending a notification and a webhook, and HA wouldn’t get anything even though I got the notification from Protect. When I removed the notification in the Protect alarm so the webhook was the only action, I finally got the webhook to trigger.
I didn’t find any documentation stating this requirement, so I was pretty annoyed when I finally got it working…
Did not fix it for me.
I try to set up a webhook POST from Unifi Protect to Home assistant, but Unifi is not sending anything.
I can do a success post using curl from my computer, but the same URL in unifi protect does nothing.
I also tried to send the post to my web-server and watched the logging … nothing. totaly nothing is send from unifi device. though it counts that the alarm is triggert. also the test alarm button does nothing