Unifi Protect Sensors / Alarm Hub Integration

I recently purchased the new Unifi Alarm Hub Kit to replace my old decommissioned ADT panel. Overall, I'm super impressed with it. I'd like to use the door sensors connected to the panel to trigger chimes when doors are opened, but I don't see any sensors listed when I try to add them. Does anyone know if there are plans to make the alarm panel devices available in Hubitat? The camera integration is working great.

Can you enable all logging for the app and console and see if you find any clues about the devices there? I've tested with the UP-Sense, which probably contains overlapping capabilities, and it works, but I don't have any SuperLink (why... :rofl: ) devices to test with, and it's possible they report or behave differently despite this.

SuperLink devices can report things very differently in the WebSocket data... so there is likely to be some changes needed for those.

Ubiquiti is getting a bit better about consistency in some areas but their websockets data is still a pretty messy space.

Sorry to be dense here - logging on the Unifi side or Hubitat side? The sensors I want to use are the old analog switches at the doors that are tied to the panel itself - not SuperLink. That said, I'll likely put a SuperLink door sensor on the shop, so I'll eventually want that to work also.

This one. :slight_smile:

Good to know! I had no idea these existed. If or how they are exposed over the (official) API is not something I’m sure of.

@bertabcd1234 this is a new product that allows you to replace an old wired security panel such as the Vista or DSC panels:

It was another of Ubiquiti's "quiet" launch products. They keep sliding some stuff in or not showing it in their "new" categories... Or maybe they push them out too quick with other, more highlight, products... but the effect is the same.

Following up on my own thread. This is working now, and a few things I ran into contradict what's commonly repeated, so I want them written down.

The stack

UniFi Protect Alarm Hub (firmware 1.6.16) β†’ Home Assistant β†’ Hubitat.

  1. In HA, add https://github.com/hughwf/hass-unifi-protect-alarm-hub as a HACS custom repository, category Integration. Currently v0.3.0. It needs HA 2025.11 or newer and it's self-contained, so it runs alongside the official UniFi Protect integration without a library conflict.
  2. Restart HA, then add the UniFi Protect Alarm Hub integration. Host is the UniFi console IP, port 443, Verify SSL off, and a Protect API key.
  3. On the Hubitat side I used tomw's Home Assistant Device Bridge, which I already had running for other things, and imported only the door zone entities.

Result is five wired door zones showing up in Hubitat as ordinary contact sensors, updating in real time over a WebSocket.

The gotchas, which are the actual reason for this post

You do not need an arm profile, and you do not need the system armed. This is the advice I kept finding and it was wrong for my setup. My console reports armMode.status = "disabled" with no Alarm Profile configured at all, and the zones report state changes normally. I confirmed it by opening a door and watching the zone cycle with everything disarmed.

The API key is not under UniFi OS β†’ Settings β†’ Control Plane β†’ Integrations. That path has no Integrations tab on my console and the URL returns "Access Prohibited." The real location is Protect β†’ Settings β†’ Integrations, which resolves to /protect/integrations.

These zones do not exist in the legacy Protect API. /proxy/protect/api/bootstrap returns empty arrays for both sensors and hubs. They're only on the newer public integration API, which is what the API key unlocks. If the integration loads and finds nothing, look here first.

The HA Device Bridge only creates a Hubitat child device when an entity actually changes state. It subscribes to state-change events and never pulls a starting snapshot. I selected my five doors, saved, restarted, reloaded, and got nothing, because all five doors had been sitting closed the whole time. Physically opening each door once created its device immediately. Worth knowing before you go hunting for a bug that isn't there.

Zone state is three-valued on purpose. A cut, shorted or faulted loop reads unknown rather than off, so the integration won't affirm a secure door on a severed circuit. Each zone also gets a companion _fault entity. Hubitat's contact sensor has no third state, so a broken loop will likely present as a stuck closed there. If that matters to you, import the _fault entities and condition your rules on those.

Polarity is not inverted, at least not here. Door open maps to Protect alarm β†’ HA on β†’ Hubitat open. I'd seen reports of inversion and checked rather than assumed, and it read correctly on all five doors.

Worth noting

The integration is v0.3 and the author says it's still being validated against real hardware. It's been solid for me so far. The HA core PR that adds binary sensors for UniFi Protect relay inputs is still open and covers relay inputs rather than Alarm Hub zones, so this custom integration is currently the only path.

Happy to answer questions if anyone is going down the same road.