apostolakisl Posted February 7 Posted February 7 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. Quote
mmb Posted February 8 Posted February 8 What were you thinking for integration? I can't think of anything useful on the Network side. Like maybe for Protect? Quote
mmb Posted February 8 Posted February 8 Missed that sorry, I don't have have Access but I use webhooks to hook in Protect. Works pretty well... Quote
apostolakisl Posted February 8 Author Posted February 8 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. Quote
mmb Posted February 9 Posted February 9 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. Quote
gregkinney Posted February 10 Posted February 10 @mmb Would you mind directing me to a resource on how to achieve webhooks with the eisy, or giving an example? Quote
mmb Posted February 10 Posted February 10 I shared a while back as several others asked as well. 1 Quote
lilyoyo1 Posted February 10 Posted February 10 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 Quote
apostolakisl Posted February 10 Author Posted February 10 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 Site Manager API . 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 Open your Site in UniFi Site Manager at unifi.ui.com. Click on Control Plane -> Admins & Users. Select your Admin. Click Create API Key. Add a name for your API Key. Copy the key and store it securely, as it will only be displayed once. Click Done to ensure the key is hashed and securely stored. 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' Quote
mmb Posted February 11 Posted February 11 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. Quote
apostolakisl Posted February 11 Author Posted February 11 I could probably use network resources to have some functionality. But I wouldn't have nodes to monitor the status of things. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.