Package Information
Released: 5 mo ago
Downloads: 8 weeklyΒ /Β 149 monthly
Latest Version: 0.1.0
Author: AvantGuard LLC
Available Nodes
Documentation generatingβ¦
Documentation
UniFi Network n8n Node
Manage UniFi Network devices, clients, WLANs, firewall rules, and more via the local Network application API.
Table of Contents
Installation
Follow the n8n community node installation guide.
Or install directly via npm:
npm install @avantguardllc/n8n-nodes-unifinetwork
Authentication
This node authenticates using an API Key.
| Setting | Value |
|---|---|
| Type | API Key |
| Base URL | https://{{$credentials.host}}/proxy/network (editable in credentials) |
Tip: The Base URL can be changed in the credential settings if your instance uses a different host.
Resources & Operations
Base URL: https://{{$credentials.host}}/proxy/network
SiteStats
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/stat/health |
Get Site Health |
Devices
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/stat/device |
List Devices |
π΅ GET |
/v1/sites/{siteId}/devices |
List Devices (Official API v1) |
Clients
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/stat/sta |
List Active Clients |
π΅ GET |
/api/s/{site}/rest/user |
List All Known Clients |
π’ POST |
/api/s/{site}/cmd/stamgr |
Execute Client Command |
π΅ GET |
/v1/sites/{siteId}/clients |
List Connected Clients (Official API v1) |
WLANs
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/rest/wlanconf |
List WLANs |
π’ POST |
/api/s/{site}/rest/wlanconf |
Create WLAN |
π‘ PUT |
/api/s/{site}/rest/wlanconf/{id} |
Update WLAN |
π΄ DELETE |
/api/s/{site}/rest/wlanconf/{id} |
Delete WLAN |
Networks
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/rest/networkconf |
List Networks |
Firewall
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/rest/firewallrule |
List Firewall Rules |
SwitchPorts
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/rest/portconf |
List Port Profiles |
DeviceManagement
| Endpoint | Description | |
|---|---|---|
π’ POST |
/api/s/{site}/cmd/devmgr |
Execute Device Command |
EventsAlarms
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/s/{site}/stat/event |
List Events |
π΅ GET |
/api/s/{site}/stat/alarm |
List Alarms |
Sites
| Endpoint | Description | |
|---|---|---|
π΅ GET |
/api/self/sites |
List Sites |
Compatibility
- n8n version: 1.0+ (tested on 2.x)
- Node.js version: 18+