Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ubiquiti Unifi Support?

Featured Replies

Posted

I would like to put in a request for integration with Ubiquiti Unifi ecosystem.  I see there are a couple of nodes out there but they aren't supported and don't seem to do much, and do nothing with unifi access (which is what I really want sync'd).  Ubiquiti has published the api so I think it should be quite doable.  I just have no clue how to write a node server.

What were you thinking for integration?

I can't think of anything useful on the Network side.  Like maybe for Protect?

  • Author

As mentioned, Access.

 

Missed that sorry, I don't have have Access but I use webhooks to hook in Protect.

Works pretty well...

  • Author

Access would have lots of use case situations for ISY assuming the api gives you full access.  Unlocking doors, triggering events when a door is unlocked, you could have different things happen depending on who unlocks the door, or what time it is when the door is unlocked.  

Triggers like turning on lights depending on time of day etc are easily done by webhooks and the eisy. Super simple to setup and almost no latency .

I assume different Access alarms can be triggered depending who it is and those in turn can trigger different webhooks. I haven't tried that yet.

Of course an api would be better like I have for my DSC Alarm.

@mmb Would you mind directing me to a resource on how to achieve webhooks with the eisy, or giving an example?

I shared a while back as several others asked as well.

 

1 hour ago, mmb said:

I shared a while back as several others asked as well.

 

Maybe you could do a step by step write up for those who may still question where to find the information needed and where to put it in regards to the eisy/Unifi

  • Author

I don't find any webhooks in Access section.  I find this:

 

API
Getting Started
The Site Manager API was created to enable developers to monitor and manage UniFi deployments programmatically. It provides robust tools to access and control your UniFi devices’ data, allowing you to retrieve detailed information, monitor performance, and manage your infrastructure efficiently.Site Manager API Allows you to access application data from the local network. For high-level monitoring of multi-site deployments, please see our  .
AuthenticationAn API Key is a unique identifier used to authenticate API requests. These keys are crucial for ensuring secure access. Each key is tied to the UI account that created it, allowing for secure and personalized API interactions.
Obtaining an API Key
  1. Open your Site in UniFi Site Manager at unifi.ui.com.
  2. Click on Control Plane -> Admins & Users.
  3. Select your Admin.
  4. Click Create API Key.
  5. Add a name for your API Key.
  6. Copy the key and store it securely, as it will only be displayed once.
  7. Click Done to ensure the key is hashed and securely stored.
  8. Use the API Key.
Use the API KeyIncorporate the API key into the X-API-Key header. Follow the Example, replacing YOUR_API_KEY with your actual API key.
Example
 

curl -k -X GET 'https://192.168.1.1/proxy/network/integration/v1/sites' \
 -H 'X-API-KEY: YOUR_API_KEY' \
 -H 'Accept: application/json'

Nuts, that's too bad @apostolakisl

I checked the Unifi forums, a number of people were asking for an Access webhook.  But responses were make an api.

  • Author

I could probably use network resources to have some functionality.  But I wouldn't have nodes to monitor the status of things.

 

  • 2 months later...
  • Author
5 hours ago, auger66 said:

FWIW, webhooks and API update from Ubiquiti

https://www.youtube.com/watch?v=O0kFYrADutI

 

Thank you for that.  The video only showed webhooks in the protect section, I assume nothing yet in access.  I don't use ubiquiti protect, only network and access.  

 

EDIT:  AS it turns out, I do "use" protect because they have integrated the door card reader cameras into protect.  

Edited by apostolakisl

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.