# Unify Protect Activity to NodeRed

**URL:** <https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909>\
**Category:** Hardware\
**Created:** [10 March 2025 16:50 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909 "2025-03-10T16:50:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebnerjoh](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Post date:** [10 March 2025 16:50 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/1 "2025-03-10T16:50:47Z")

</div>

Hi, I have a Unifi Cloud Gateway MAX with an Unifi G5 Bullet Camera.

Within Unifi I can get notifications if a human is recogniced.

My idea is now to turn on a light in the carport, when a human is detected (and not just based on motion).

Is this somehow possible?

Best Regards,  
Johannes

---

<div class="post-metadata">

**Author:** ![ebnerjoh](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Post date:** [10 March 2025 17:01 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/2 "2025-03-10T17:01:20Z")

</div>

I might have found the solution.

Unifi Protect supports Webhooks.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 March 2025 20:26 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/3 "2025-03-10T20:26:16Z")

</div>

Web hooks certainly the easiest approach. Otherwise, you would need to probably dig into the SNMP data which is very comprehensive typically with the Unifi stuff (which is professional grade equipment after all).

---

<div class="post-metadata">

**Author:** ![mikefila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikefila/32/95223_2.png) [@mikefila](https://discourse.nodered.org/u/mikefila)\
**Post date:** [11 March 2025 00:18 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/4 "2025-03-11T00:18:41Z")

</div>

> [@TotallyInformation](#):
>
> which is professional grade equipment after all

You would think but the udm pro and pro se [does not ship with SNMP.](https://www.martinrowan.co.uk/2020/11/enabling-snmp-on-ubiquiti-udm-pro/) I think this is true for all their controllers. Take a look at [unpoller](https://unpoller.com/docs/poller/introduction), that maybe of some use.

---

<div class="post-metadata">

**Author:** ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Post date:** [11 March 2025 01:05 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/5 "2025-03-11T01:05:05Z")

</div>

I'm using the [Unifi Node](https://flows.nodered.org/node/node-red-contrib-unifi) which is giving you all the events and alerts.

I just started using this node but it gives you tonnes of information .. a bit overwhelming 😉

---

<div class="post-metadata">

**Author:** ![ebnerjoh](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Post date:** [11 March 2025 08:39 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/6 "2025-03-11T08:39:03Z")

</div>

But from the documentation I can see only the network part, not the protect part, isnt it?

---

<div class="post-metadata">

**Author:** ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Post date:** [11 March 2025 09:29 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/7 "2025-03-11T09:29:46Z")

</div>

As said, I just started with that node as well but as per my understanding it is for the entire Unifi ecosystem, but could be wrong. I have not gone that much into details but it looks like [the API](https://github.com/hjdhjd/unifi-protect) is available

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 May 2025 09:30 UTC](https://discourse.nodered.org/t/unify-protect-activity-to-nodered/95909/8 "2025-05-10T09:30:25Z")

</div>

Closed on 10 May 2025 09:30 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
