Jump to content

Ubiquiti Unifi Support?


Recommended Posts

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.

Posted

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.  

Posted

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.

Posted
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

Posted

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'

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...