{"_id":"@avantguardllc/n8n-nodes-unifi-protect","name":"@avantguardllc/n8n-nodes-unifi-protect","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@avantguardllc/n8n-nodes-unifi-protect","version":"0.1.0","description":"Manage UniFi Protect cameras, events, liveviews, sensors, lights, and viewers via the local NVR API.","keywords":["n8n-community-node-package","unifiprotect","avantguardllc"],"license":"MIT","homepage":"","author":{"name":"AvantGuard LLC"},"repository":{"type":"git","url":""},"scripts":{"build":"tsc","dev":"tsc --watch","prepublishOnly":"npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/UnifiProtectApi.credentials.js"],"nodes":["dist/nodes/UnifiProtect/UnifiProtect.node.js"]},"devDependencies":{"@types/node":"^18.0.0","n8n-workflow":"*","typescript":"~5.7"},"peerDependencies":{"n8n-workflow":"*"},"_id":"@avantguardllc/n8n-nodes-unifi-protect@0.1.0","gitHead":"f1ec20b139b78bbad4fc9d433c5566b1735b862c","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BEUXux17HNgVS2ovEYxOL1AlSZ19eqOZ5Sop662zJbcDIsCinfAHUWzHjAkhw7y2fuJu/lRnDa199J4bgD/3Cg==","shasum":"092a06de0bdbc797f50b3854f8c9d2731c5dd6f2","tarball":"https://registry.npmjs.org/@avantguardllc/n8n-nodes-unifi-protect/-/n8n-nodes-unifi-protect-0.1.0.tgz","fileCount":9,"unpackedSize":100441,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAUUauQgfew+HQRxu/CMk2Pd98oeYcyQ0ENXxYo3aBV4AiEAsHrnWHnKq+ETHqW+bLoQyV+jqQMPssOUDrMvduLlSbU="}]},"_npmUser":{"name":"avantguardllc","email":"appadmin@avantguard.it"},"directories":{},"maintainers":[{"name":"avantguardllc","email":"appadmin@avantguard.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-unifi-protect_0.1.0_1777905388417_0.3242113505683415"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-04T14:36:28.256Z","0.1.0":"2026-05-04T14:36:28.570Z","modified":"2026-05-04T14:36:28.842Z"},"maintainers":[{"name":"avantguardllc","email":"appadmin@avantguard.it"}],"description":"Manage UniFi Protect cameras, events, liveviews, sensors, lights, and viewers via the local NVR API.","keywords":["n8n-community-node-package","unifiprotect","avantguardllc"],"repository":{"type":"git","url":""},"author":{"name":"AvantGuard LLC"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://n8n.io\"><img src=\"https://raw.githubusercontent.com/n8n-io/n8n/master/assets/n8n-logo.png\" alt=\"n8n\" height=\"40\" /></a>\n  &nbsp;&nbsp;&nbsp;&nbsp;\n  <a href=\"https://avantguard.it\"><img src=\"https://i0.wp.com/avantguard.it/wp-content/uploads/2024/02/NewLogoSmalNoPicl.png?fit=398%2C71\" alt=\"AvantGuard\" height=\"40\" /></a>\n</p>\n\n# UniFi Protect n8n Node\n\n![n8n community node](https://img.shields.io/badge/n8n-community%20node-ff6d5a) ![npm](https://img.shields.io/npm/v/%40avantguardllc%2Fn8n-nodes-unifiprotect)\n\nManage UniFi Protect cameras, events, liveviews, sensors, lights, and viewers via the local NVR API.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Authentication](#authentication)\n- [Resources & Operations](#resources--operations)\n- [Compatibility](#compatibility)\n- [License](#license)\n\n## Installation\n\nFollow the [n8n community node installation guide](https://docs.n8n.io/integrations/community-nodes/installation/).\n\nOr install directly via npm:\n\n```bash\nnpm install @avantguardllc/n8n-nodes-unifiprotect\n```\n\n## Authentication\n\nThis node authenticates using an **API Key**.\n\n| Setting | Value |\n|---------|-------|\n| Type | API Key |\n| Base URL | `https://{{$credentials.host}}/proxy/protect` (editable in credentials) |\n\n> **Tip:** The Base URL can be changed in the credential settings if your instance uses a different host.\n\n## Resources & Operations\n\n**Base URL:** `https://{{$credentials.host}}/proxy/protect`\n\n### Bootstrap\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/bootstrap` | Get Bootstrap |\n\n### NVR\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/nvr` | Get NVR Info |\n\n### Cameras\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/cameras` | List Cameras |\n| 🔵 **`GET`** | `/proxy/protect/api/cameras/{cameraId}` | Get Camera by ID |\n| 🟣 **`PATCH`** | `/proxy/protect/api/cameras/{cameraId}` | Update Camera |\n| 🔵 **`GET`** | `/proxy/protect/api/cameras/{cameraId}/snapshot` | Get Camera Snapshot |\n\n### Events\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/events` | List Events |\n| 🔵 **`GET`** | `/proxy/protect/api/events/{eventId}/thumbnail` | Get Event Thumbnail |\n\n### Recordings\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/video/export` | Export Video Recording |\n\n### Liveviews\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/liveviews` | List Liveviews |\n\n### Sensors\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/sensors` | List Sensors |\n\n### Lights\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/lights` | List Lights |\n\n### Viewers\n\n| | Endpoint | Description |\n|---|----------|-------------|\n| 🔵 **`GET`** | `/proxy/protect/api/viewers` | List Viewers |\n\n## Compatibility\n\n- **n8n version:** 1.0+ (tested on 2.x)\n- **Node.js version:** 18+\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","_rev":"1-00ef8b23ce63766ccfed51756b1ce85c"}