Hi everyone,
I built a lightweight middleware in Go, designed to run in Docker, to bridge UniFi Access with Hubitat. My goal was to provide visibility and control of UniFi door locks directly from Hubitat, including real-time status updates and the ability to lock/unlock doors using standard virtual devices.
Key Features:
- Real-time, webhook-based communication (no polling on the Hubitat side)
- Virtual Lock, Contact Sensor, and Switch support per door
- Multiple door support
- Minimal setup in Hubitat using Maker API and Virtual Devices
- Secure communication using an authorization token
This middleware listens for events from both UniFi Access and Hubitat, maps each UAC door to a set of Hubitat virtual devices, and keeps everything in sync.
GitHub Repo & Setup Guide:
https://github.com/K-MTG/unifi-access-hubitat-middleware
If you're using UniFi Access and want to integrate it with your Hubitat system, Iād love for you to give this a try! Feedback, issues, or suggestions are very welcome.