Unifi UA-Intercom, How to Get Motion Detection Working?

Good evening everyone :sweat_smile:

While integrating Home Assistant into my NYC apartment building, I had an idea to modernize surveillance. I picked up the UA-Intercom G2 (gate access kit) to replace the outdated buzzer with a smart doorbell.

For security, I wanted motion events to trigger Home Assistant to capture a snapshot or video, describe what it sees, and email it to me—fully independent of the UniFi Protect app. NYC tenants tend to argue often, so this setup would archive footage (with descriptions) in Gmail’s near-unlimited storage, giving me real-time alerts without needing to manually save anything. I also wanted to customise the greetings which by default is “Welcome + Tenant First Name” now it can be an actual nice welcome with the use of the screenshot and google gemini im able to get it to output this " Hello Sir, Nice Polo" as it found my polo shirt to be nice lol. I have the gemini prompt set to determine male and female (this thing does not detect made up genders :clown_face: ) to determine sir or mam too!

Everything works—except I can’t get motion detection data from the UA-Intercom. The expected entity in HA never registers motion.

How do i get motion detection automation to work?

Devices:
Ubiquiti Networks UniFi Gate Access Starter Kit

Ubiquiti Networks UniFi Cloud Key Plus Gen 2 with 1TB SSD

My Automation

(p.s also because i couldnt find online whether the Ubiquiti ua-intercom can be streamed to scrypted and homekit and play tts messages, im just stating it does for anyone else who is wondering. hoping google will pickup this post to inform those wondering. It creates a media player entity to any camera with a speaker, and add all cameras listed in unifi protect to ha. You must use the Unifi Protect Integration. Its actually quite funny the fact i can play music on the device or same some wicked things over tts to random people walking in front my home at midnight :sweat_smile:)

How did you integrate intercom?

Do you have a motion entity in HA? This means, can you see motion detected in HA outside the Autonation or is motion detection not working at all?

Why you choose unifi? Do you use their app for intercom?

thanks for the reply, i used the unifi protect intergration and i see an entity for motion detect but it does not register any change just says clear.

and the unifi intercom seemed decent and yeah i do use their app. the tenants like it :slight_smile:

Maybe an issue with the integration. May need to ask integration creator.
If the entity is not changing it is likely not properly getting state data

you could try connecting to it directly via api to see if you can get state changes. If so you can just create your own entity.

i didnt realize there was an api, thank :slight_smile: been running motion eye to detect motion all week gonna give this a try.