node-red-contrib-unifi-ultimate 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,29 +2,44 @@
2
2
  <img src="nodes/icons/unifi-ultimate-logo.svg" alt="Unifi Ultimate" width="720">
3
3
  </p>
4
4
 
5
- # node-red-contrib-unifi-ultimate
6
-
7
- Use UniFi Protect, UniFi Access, and UniFi Network inside Node-RED without building custom API calls.
5
+ <p align="center">
6
+ <img src="nodes/icons/readme-overview.svg" alt="Overview of Node-RED UniFi Ultimate architecture" width="980">
7
+ </p>
8
8
 
9
- This package lets you:
9
+ [![NPM version][npm-version-image]][npm-url]
10
+ [![Node.js version][node-version-image]][npm-url]
11
+ [![Node-RED Flow Library][flows-image]][flows-url]
12
+ [![Docs][docs-image]][docs-url]
13
+ [![NPM downloads per month][npm-downloads-month-image]][npm-url]
14
+ [![NPM downloads total][npm-downloads-total-image]][npm-url]
15
+ [![MIT License][license-image]][license-url]
16
+ [![Youtube][youtube-image]][youtube-url]
10
17
 
11
- - monitor cameras, sensors, lights, doors, Access devices, sites, clients, and UniFi devices
12
- - react to live events inside your flows
13
- - trigger common Protect, Access, and Network actions from a single device node
14
- - start from ready-to-import example flows
18
+ # node-red-contrib-unifi-ultimate
15
19
 
16
- Current release status: `0.1.0`
20
+ Build UniFi automations in Node-RED without hand-writing API calls.
17
21
 
18
22
  [View Changelog](CHANGELOG.md)
19
23
 
20
- ## Before you start
24
+ ## At A Glance
25
+
26
+ - one package for `UniFi Protect`, `UniFi Access`, and `UniFi Network`
27
+ - device-first UX: pick item, then only compatible actions are shown
28
+ - built-in live events for Protect and Access
29
+ - utility nodes for Network presence and PoE control
30
+ - import-ready example flows included
21
31
 
22
- - Node-RED `3.1.1` or newer
23
- - Node.js `18` or newer
24
- - For UniFi Protect: controller IP or host, API key header, and API key
25
- - For UniFi Access: host and bearer token
26
- - For UniFi Network: controller host and API key
27
- - If your UniFi controller uses a self-signed certificate, each config node lets you adjust TLS behavior
32
+ ## Quick Navigation
33
+
34
+ - [Install](#install)
35
+ - [Quick Start](#quick-start)
36
+ - [Available Nodes](#available-nodes)
37
+ - [UniFi Protect](#unifi-protect)
38
+ - [UniFi Access](#unifi-access)
39
+ - [UniFi Network](#unifi-network)
40
+ - [Outputs](#outputs)
41
+ - [Example Flows](#example-flows)
42
+ - [Project Status](#project-status)
28
43
 
29
44
  ## Install
30
45
 
@@ -35,30 +50,31 @@ In Node-RED:
35
50
  3. Search for `node-red-contrib-unifi-ultimate`
36
51
  4. Install the package
37
52
 
38
- ## Quick start
53
+ ## Quick Start
39
54
 
40
- 1. Add the right config node for your UniFi product:
41
- `Unifi Protect Config`, `Unifi Access Config`, or `Unifi Network Config`
42
- 2. Enter your connection details and credentials
43
- 3. Add a `Device` node
44
- 4. Select the device type, the specific UniFi device, and the capability you want
55
+ 1. Add a config node: `Unifi Protect Config`, `Unifi Access Config`, or `Unifi Network Config`
56
+ 2. Enter host and credentials
57
+ 3. Add a corresponding device node
58
+ 4. Choose type, item, and action
45
59
  5. Deploy
46
- 6. Connect:
47
- Output 1 for state or action results
48
- Output 2 for live events when you use `Receive Events`
60
+ 6. Wire outputs:
61
+ Output 1 for state/action responses
62
+ Output 2 for live events (when action is `Receive Events`)
49
63
 
50
- If you want the fastest path, import one of the included example flows and replace the credentials with your own.
64
+ If you want the fastest path, import one of the flows from `examples/` and replace credentials.
51
65
 
52
- ## Available nodes
66
+ ## Available Nodes
53
67
 
54
- - `Unifi Protect Config`: stores the connection settings for UniFi Protect
55
- - `Unifi Protect Device`: select a Protect device, read its state, listen for events, or trigger actions
56
- - `Unifi Access Config`: stores the connection settings for UniFi Access
57
- - `Unifi Access Device`: select a door or Access device, read its state, listen for events, or trigger actions
58
- - `Unifi Network Config`: stores the connection settings for UniFi Network
59
- - `Unifi Network Device`: select a site, client, or UniFi device and run supported Network actions
60
- - `Unifi Network Presence`: emits `true/false` presence for a selected client with disconnect hysteresis
61
- - `Unifi Network Control POE`: controls PoE state on a selected switch port
68
+ | Node | Purpose |
69
+ |---|---|
70
+ | `Unifi Protect Config` | stores UniFi Protect connection settings |
71
+ | `Unifi Protect Device` | reads state, receives events, and executes Protect actions |
72
+ | `Unifi Access Config` | stores UniFi Access connection settings |
73
+ | `Unifi Access Device` | reads state, receives events, and executes Access actions |
74
+ | `Unifi Network Config` | stores UniFi Network connection settings |
75
+ | `Unifi Network Device` | reads state/details and executes supported Network actions |
76
+ | `Unifi Network Presence` | emits stable `true/false` presence for one client |
77
+ | `Unifi Network Control POE` | enables/disables/cycles PoE on one switch port |
62
78
 
63
79
  ## UniFi Protect
64
80
 
@@ -78,7 +94,7 @@ Common capabilities:
78
94
  - `Read Device State`
79
95
  - `Send Raw Update`
80
96
 
81
- Additional capabilities available when supported by the selected device:
97
+ Additional capabilities (when supported by selected device):
82
98
 
83
99
  - `Take Snapshot`
84
100
  - `List RTSPS Streams`
@@ -92,17 +108,17 @@ Additional capabilities available when supported by the selected device:
92
108
  - `Show Doorbell Message`
93
109
  - `Switch Live View`
94
110
  - `Update One Property`
111
+ - `Read Application Info` (NVR)
95
112
 
96
- The editor adapts to the selected device and capability. For example, it can offer:
113
+ Editor adaptation examples:
97
114
 
98
- - sensor observables such as contact, motion, alarm, water leak, tamper, or battery low
99
- - camera observables such as ring, motion, and smart detections
100
- - light observables such as motion or light on/off
101
- - PTZ preset choices for supported cameras
102
- - live view choices for supported viewers
103
- - patchable properties discovered from the selected device
115
+ - sensor observables: contact, motion, alarm, water leak, tamper, battery low, extreme values
116
+ - camera observables: ring, motion, smart detections
117
+ - PTZ preset selector only on PTZ-capable cameras
118
+ - live view selector for viewers
119
+ - patchable property discovery from selected device
104
120
 
105
- For supported boolean event observables, the main payload is normalized to `true` or `false`, while the original event details remain available in the message.
121
+ For supported observables, `msg.payload` can be normalized to `true/false`; raw context remains available in `msg.RAW`.
106
122
 
107
123
  ## UniFi Access
108
124
 
@@ -124,6 +140,11 @@ Door capabilities:
124
140
  - `Read Emergency Mode`
125
141
  - `Set Emergency Mode`
126
142
 
143
+ Temporary lock rule UX:
144
+
145
+ - selecting `Custom Duration` reveals minutes (`interval`)
146
+ - legacy unix `ended_time` fallback is still supported for compatibility
147
+
127
148
  Access device capabilities:
128
149
 
129
150
  - `Read Access Methods`
@@ -131,7 +152,7 @@ Access device capabilities:
131
152
  - `Trigger Doorbell`
132
153
  - `Cancel Doorbell`
133
154
 
134
- When you use `Receive Events`, the node first fetches the current state and then keeps listening for matching UniFi Access notifications.
155
+ When using `Receive Events`, the node fetches current state once and then listens to official Access notifications.
135
156
 
136
157
  ## UniFi Network
137
158
 
@@ -148,35 +169,54 @@ Common capabilities:
148
169
 
149
170
  Additional capabilities:
150
171
 
151
- - Site: `List Site Devices`, `List Site Clients`
172
+ - Site: `Read Application Info`, `List Site Devices`, `List Site Clients`
152
173
  - UniFi Device: `Read Latest Statistics`, `Restart Device`, `Power Cycle Port`
153
174
  - Client: `Authorize Guest Access`, `Revoke Guest Access`
154
175
 
155
- For device and client resources, the editor automatically includes the site context behind the scenes and still keeps selection simple for the end user.
176
+ Notes:
177
+
178
+ - for device/client resources, site context is handled automatically behind the scenes
179
+ - `Read Application Info` is available on `Site` and returns Network application metadata
156
180
 
157
181
  Dedicated utility nodes:
158
182
 
159
- - `Unifi Network Presence`: checks one selected client and emits `msg.payload = true` when connected, `false` when disconnected, with disconnect hysteresis to avoid flapping
160
- - `Unifi Network Control POE`: enables/disables PoE (and supports power cycle) on a selected switch port
183
+ - `Unifi Network Presence`: stable presence with disconnect hysteresis
184
+ - `Unifi Network Control POE`: enable, disable, or cycle PoE on one selected port
161
185
 
162
186
  ## Outputs
163
187
 
164
- - Output 1 returns the current state or the main action response
165
- - Output 2 returns live events when the selected capability is `Receive Events` (Protect and Access nodes)
166
- - The message also includes product-specific metadata and the last known device data when available
167
-
168
- ## Example flows
169
-
170
- Import one of these flows from the `examples` folder:
171
-
172
- - [examples/unifi-protect-info.json](examples/unifi-protect-info.json): read the state of a Protect camera
173
- - [examples/unifi-protect-sensor-observe.json](examples/unifi-protect-sensor-observe.json): observe a Protect sensor as a boolean event stream
174
- - [examples/unifi-protect-camera-actions.json](examples/unifi-protect-camera-actions.json): take snapshots, use PTZ presets, and show doorbell messages
175
- - [examples/unifi-access-door-control.json](examples/unifi-access-door-control.json): observe a door, unlock it, and manage a temporary lock rule
176
- - [examples/unifi-access-intercom-doorbell.json](examples/unifi-access-intercom-doorbell.json): observe an intercom device, trigger a doorbell, and cancel it safely
177
-
178
- ## Beta notes
179
-
180
- - UniFi Protect is the main supported surface today
181
- - UniFi Access is included in the first stable release and may still evolve quickly across upcoming releases
182
- - UniFi Network is included in the first stable release and currently focuses on read-first flows plus selected action utilities
188
+ - Output 1: current state or action response
189
+ - Output 2: live events when capability is `Receive Events` (Protect and Access)
190
+ - Metadata is attached via product-specific fields (`msg.unifiProtect`, `msg.unifiAccess`, `msg.unifiNetwork`)
191
+
192
+ ## Example Flows
193
+
194
+ Import from `examples/`:
195
+
196
+ | Flow file | What it demonstrates |
197
+ |---|---|
198
+ | [examples/unifi-protect-info.json](examples/unifi-protect-info.json) | read Protect camera state |
199
+ | [examples/unifi-protect-sensor-observe.json](examples/unifi-protect-sensor-observe.json) | boolean sensor observable stream |
200
+ | [examples/unifi-protect-camera-actions.json](examples/unifi-protect-camera-actions.json) | snapshot, PTZ presets, doorbell messages |
201
+ | [examples/unifi-access-door-control.json](examples/unifi-access-door-control.json) | door observe, unlock, temporary lock rule |
202
+ | [examples/unifi-access-intercom-doorbell.json](examples/unifi-access-intercom-doorbell.json) | intercom observe, trigger/cancel doorbell safely |
203
+
204
+ ## Project Status
205
+
206
+ - UniFi Protect is currently the most complete surface
207
+ - UniFi Access is stable but may evolve quickly in upcoming releases
208
+ - UniFi Network currently focuses on read-first flows plus selected action utilities
209
+
210
+ [npm-version-image]: https://img.shields.io/npm/v/node-red-contrib-unifi-ultimate.svg
211
+ [npm-url]: https://www.npmjs.com/package/node-red-contrib-unifi-ultimate
212
+ [node-version-image]: https://img.shields.io/node/v/node-red-contrib-unifi-ultimate.svg
213
+ [flows-image]: https://img.shields.io/badge/Node--RED-Flow%20Library-red
214
+ [flows-url]: https://flows.nodered.org/node/node-red-contrib-unifi-ultimate
215
+ [docs-image]: https://img.shields.io/badge/docs-documents-blue
216
+ [docs-url]: https://github.com/Supergiovane/node-red-contrib-unifi-ultimate#readme
217
+ [npm-downloads-month-image]: https://img.shields.io/npm/dm/node-red-contrib-unifi-ultimate.svg
218
+ [npm-downloads-total-image]: https://img.shields.io/npm/dt/node-red-contrib-unifi-ultimate.svg
219
+ [license-image]: https://img.shields.io/badge/license-MIT-green.svg
220
+ [license-url]: https://opensource.org/licenses/MIT
221
+ [youtube-image]: https://img.shields.io/badge/YouTube-Subscribe-red?logo=youtube&logoColor=white
222
+ [youtube-url]: https://www.youtube.com/@maxsupervibe
@@ -0,0 +1,96 @@
1
+ <svg width="1200" height="720" viewBox="0 0 1200 720" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title desc">
2
+ <title id="title">node-red-contrib-unifi-ultimate overview</title>
3
+ <desc id="desc">Node-RED flows using UniFi Protect, Access and Network nodes with unified outputs.</desc>
4
+ <defs>
5
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
6
+ <stop offset="0%" stop-color="#f8fafc"/>
7
+ <stop offset="100%" stop-color="#eef2ff"/>
8
+ </linearGradient>
9
+ <linearGradient id="nodered" x1="0" y1="0" x2="1" y2="1">
10
+ <stop offset="0%" stop-color="#fee2e2"/>
11
+ <stop offset="100%" stop-color="#fecaca"/>
12
+ </linearGradient>
13
+ <linearGradient id="protect" x1="0" y1="0" x2="1" y2="1">
14
+ <stop offset="0%" stop-color="#dcfce7"/>
15
+ <stop offset="100%" stop-color="#bbf7d0"/>
16
+ </linearGradient>
17
+ <linearGradient id="access" x1="0" y1="0" x2="1" y2="1">
18
+ <stop offset="0%" stop-color="#dbeafe"/>
19
+ <stop offset="100%" stop-color="#bfdbfe"/>
20
+ </linearGradient>
21
+ <linearGradient id="network" x1="0" y1="0" x2="1" y2="1">
22
+ <stop offset="0%" stop-color="#fef9c3"/>
23
+ <stop offset="100%" stop-color="#fde68a"/>
24
+ </linearGradient>
25
+ <linearGradient id="out" x1="0" y1="0" x2="1" y2="1">
26
+ <stop offset="0%" stop-color="#ede9fe"/>
27
+ <stop offset="100%" stop-color="#ddd6fe"/>
28
+ </linearGradient>
29
+ <style>
30
+ .title { font: 700 32px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; fill: #0f172a; }
31
+ .subtitle { font: 500 18px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; fill: #334155; }
32
+ .h { font: 700 22px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; fill: #0f172a; }
33
+ .b { font: 500 16px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; fill: #1e293b; }
34
+ .s { font: 500 14px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; fill: #334155; }
35
+ .card { stroke: #94a3b8; stroke-width: 1.2; rx: 16; }
36
+ .line { stroke: #475569; stroke-width: 2.4; fill: none; marker-end: url(#arrow); }
37
+ </style>
38
+ <marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
39
+ <path d="M 0 0 L 10 5 L 0 10 z" fill="#475569"/>
40
+ </marker>
41
+ </defs>
42
+
43
+ <rect x="0" y="0" width="1200" height="720" fill="url(#bg)"/>
44
+
45
+ <text x="60" y="70" class="title">UniFi Ultimate for Node-RED</text>
46
+ <text x="60" y="102" class="subtitle">One palette for Protect, Access, and Network automation flows.</text>
47
+
48
+ <rect class="card" x="60" y="160" width="310" height="360" fill="url(#nodered)"/>
49
+ <text x="90" y="205" class="h">Node-RED</text>
50
+ <text x="90" y="238" class="b">Config nodes:</text>
51
+ <text x="90" y="265" class="s">- Unifi Protect Config</text>
52
+ <text x="90" y="289" class="s">- Unifi Access Config</text>
53
+ <text x="90" y="313" class="s">- Unifi Network Config</text>
54
+ <text x="90" y="355" class="b">Device nodes:</text>
55
+ <text x="90" y="382" class="s">- Protect Device</text>
56
+ <text x="90" y="406" class="s">- Access Device</text>
57
+ <text x="90" y="430" class="s">- Network Device</text>
58
+ <text x="90" y="472" class="b">Utilities:</text>
59
+ <text x="90" y="499" class="s">- Network Presence</text>
60
+ <text x="90" y="523" class="s">- Network Control POE</text>
61
+
62
+ <rect class="card" x="455" y="130" width="300" height="150" fill="url(#protect)"/>
63
+ <text x="485" y="175" class="h">UniFi Protect</text>
64
+ <text x="485" y="205" class="s">Cameras, sensors, lights, viewers</text>
65
+ <text x="485" y="229" class="s">events, snapshots, PTZ, talkback</text>
66
+ <text x="485" y="253" class="s">NVR app info and live streams</text>
67
+
68
+ <rect class="card" x="455" y="315" width="300" height="150" fill="url(#access)"/>
69
+ <text x="485" y="360" class="h">UniFi Access</text>
70
+ <text x="485" y="390" class="s">Doors and access devices</text>
71
+ <text x="485" y="414" class="s">unlock, lock rules, emergency mode</text>
72
+ <text x="485" y="438" class="s">doorbell trigger/cancel and events</text>
73
+
74
+ <rect class="card" x="455" y="500" width="300" height="150" fill="url(#network)"/>
75
+ <text x="485" y="545" class="h">UniFi Network</text>
76
+ <text x="485" y="575" class="s">Sites, devices, clients</text>
77
+ <text x="485" y="599" class="s">state/details, restart, guest auth</text>
78
+ <text x="485" y="623" class="s">POE and presence automations</text>
79
+
80
+ <rect class="card" x="840" y="250" width="300" height="250" fill="url(#out)"/>
81
+ <text x="870" y="295" class="h">Unified outputs</text>
82
+ <text x="870" y="327" class="s">Output 1: state/action response</text>
83
+ <text x="870" y="351" class="s">Output 2: live events (where supported)</text>
84
+ <text x="870" y="395" class="s">Metadata fields:</text>
85
+ <text x="870" y="422" class="s">- msg.unifiProtect</text>
86
+ <text x="870" y="446" class="s">- msg.unifiAccess</text>
87
+ <text x="870" y="470" class="s">- msg.unifiNetwork</text>
88
+
89
+ <path class="line" d="M 370 235 C 410 235, 420 205, 455 205"/>
90
+ <path class="line" d="M 370 335 C 410 335, 420 390, 455 390"/>
91
+ <path class="line" d="M 370 465 C 410 465, 420 575, 455 575"/>
92
+
93
+ <path class="line" d="M 755 205 C 790 205, 805 290, 840 290"/>
94
+ <path class="line" d="M 755 390 C 790 390, 805 390, 840 390"/>
95
+ <path class="line" d="M 755 575 C 790 575, 805 470, 840 470"/>
96
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
+ <rect x="30" y="16" width="14" height="32" rx="2.5" fill="none" stroke="#ffffff" stroke-width="3.2"/>
3
+ <circle cx="39" cy="32" r="1.9" fill="#ffffff"/>
4
+
5
+ <path d="M15 32h14" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-width="3.2"/>
6
+ <path d="m24 26 6 6-6 6" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round"
7
+ stroke-width="3.2"/>
8
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
+ <path d="M20 25 32 17 44 25M20 25V40M44 25V40M20 40H44" fill="none" stroke="#ffffff" stroke-linecap="round"
3
+ stroke-linejoin="round" stroke-width="3.2"/>
4
+
5
+ <g fill="#ffffff">
6
+ <circle cx="32" cy="17" r="4.2"/>
7
+ <circle cx="20" cy="25" r="4.2"/>
8
+ <circle cx="44" cy="25" r="4.2"/>
9
+ <circle cx="20" cy="40" r="4.2"/>
10
+ <circle cx="44" cy="40" r="4.2"/>
11
+ </g>
12
+ </svg>
@@ -1,5 +1,5 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <rect x="8" y="12" width="48" height="40" rx="8" fill="#7DB7E8"/>
3
- <path d="M32 22c-7.732 0-14 6.268-14 14s6.268 14 14 14 14-6.268 14-14-6.268-14-14-14zm0 6a8 8 0 1 1 0 16 8 8 0 0 1 0-16z" fill="#ffffff"/>
4
- <circle cx="32" cy="36" r="3.5" fill="#0559C9"/>
2
+ <path d="M32 14 46 20v11c0 10-6.2 18.1-14 21-7.8-2.9-14-11-14-21V20z" fill="#ffffff" fill-opacity="0.96"/>
3
+ <circle cx="32" cy="32" r="7.3" fill="none" stroke="#1153ad" stroke-width="3.2"/>
4
+ <circle cx="32" cy="32" r="2.8" fill="#1153ad"/>
5
5
  </svg>
@@ -0,0 +1,40 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 280" role="img" aria-labelledby="title desc">
2
+ <title id="title">UniFi Ultimate Minimal</title>
3
+ <desc id="desc">Minimal logo variant for node-red-contrib-unifi-ultimate.</desc>
4
+ <defs>
5
+ <linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
6
+ <stop offset="0%" stop-color="#ffffff"/>
7
+ <stop offset="100%" stop-color="#f3f7ff"/>
8
+ </linearGradient>
9
+ <linearGradient id="icon" x1="0%" y1="0%" x2="100%" y2="100%">
10
+ <stop offset="0%" stop-color="#0ea5e9"/>
11
+ <stop offset="100%" stop-color="#1d4ed8"/>
12
+ </linearGradient>
13
+ <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
14
+ <feDropShadow dx="0" dy="8" stdDeviation="12" flood-color="#0f2747" flood-opacity="0.12"/>
15
+ </filter>
16
+ </defs>
17
+
18
+ <rect x="14" y="14" width="932" height="252" rx="28" fill="url(#bg)"/>
19
+
20
+ <g transform="translate(44 46)" filter="url(#shadow)">
21
+ <rect x="0" y="0" width="188" height="188" rx="36" fill="#ffffff"/>
22
+ <rect x="18" y="18" width="152" height="152" rx="30" fill="url(#icon)"/>
23
+
24
+ <g transform="translate(34 34)" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round">
25
+ <path d="M24 46v34c0 22.091 17.909 40 40 40s40-17.909 40-40V46" stroke-width="12"/>
26
+ <path d="M64 18v18" stroke-width="6"/>
27
+ <path d="M24 64h16" stroke-width="5" opacity="0.78"/>
28
+ <path d="M88 64h16" stroke-width="5" opacity="0.78"/>
29
+ </g>
30
+ </g>
31
+
32
+ <g transform="translate(286 86)">
33
+ <text x="0" y="54" fill="#0d223a" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="58" font-weight="700" letter-spacing="0.1">
34
+ UniFi Ultimate
35
+ </text>
36
+ <text x="2" y="96" fill="#3b5f84" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="24" font-weight="500">
37
+ Simple. Clean. Ready for Node-RED.
38
+ </text>
39
+ </g>
40
+ </svg>
@@ -0,0 +1,57 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 280" role="img" aria-labelledby="title desc">
2
+ <title id="title">UniFi Ultimate</title>
3
+ <desc id="desc">Tech style logo with minimal text for node-red-contrib-unifi-ultimate.</desc>
4
+ <defs>
5
+ <linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
6
+ <stop offset="0%" stop-color="#071426"/>
7
+ <stop offset="100%" stop-color="#112a46"/>
8
+ </linearGradient>
9
+ <linearGradient id="glow" x1="0%" y1="0%" x2="100%" y2="100%">
10
+ <stop offset="0%" stop-color="#22d3ee"/>
11
+ <stop offset="100%" stop-color="#60a5fa"/>
12
+ </linearGradient>
13
+ <linearGradient id="chip" x1="0%" y1="0%" x2="100%" y2="100%">
14
+ <stop offset="0%" stop-color="#0ea5e9"/>
15
+ <stop offset="100%" stop-color="#2563eb"/>
16
+ </linearGradient>
17
+ <filter id="glowSoft" x="-30%" y="-30%" width="160%" height="160%">
18
+ <feDropShadow dx="0" dy="0" stdDeviation="10" flood-color="#38bdf8" flood-opacity="0.5"/>
19
+ </filter>
20
+ <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
21
+ <feDropShadow dx="0" dy="10" stdDeviation="16" flood-color="#020617" flood-opacity="0.35"/>
22
+ </filter>
23
+ </defs>
24
+
25
+ <rect x="12" y="12" width="936" height="256" rx="34" fill="url(#bg)"/>
26
+
27
+ <g stroke="#4cc9f0" stroke-opacity="0.35" stroke-width="1.6" fill="none">
28
+ <path d="M18 64H244"/>
29
+ <path d="M18 216H230"/>
30
+ <path d="M714 64H942"/>
31
+ <path d="M730 216H942"/>
32
+ </g>
33
+
34
+ <g transform="translate(40 40)" filter="url(#shadow)">
35
+ <rect x="0" y="0" width="200" height="200" rx="42" fill="#0a1f36" stroke="#2d4f73"/>
36
+ <rect x="20" y="20" width="160" height="160" rx="32" fill="url(#chip)"/>
37
+
38
+ <g transform="translate(24 22)" filter="url(#glowSoft)">
39
+ <circle cx="80" cy="80" r="56" fill="none" stroke="url(#glow)" stroke-width="2.5" opacity="0.7"/>
40
+ <g transform="translate(16 14) scale(0.66)">
41
+ <path d="M96 0h18v18H96z" fill="#e0f2fe"/>
42
+ <path d="M76 54h20v20H76z" fill="#e0f2fe"/>
43
+ <path d="M56 71v25c0 22.091 17.909 40 40 40s40-17.909 40-40V54h-20v42c0 11.046-8.954 20-20 20s-20-8.954-20-20V71z" fill="#e0f2fe"/>
44
+ <path d="M16 54h20v42c0 33.137 26.863 60 60 60s60-26.863 60-60V54h20v42c0 20.628-4.676 35.684-12.42 48.133-3.572 5.742-7.84 11.006-12.664 15.766-14.896 14.688-34.824 24.101-54.916 26.114-3.021.303-9.044.606-12 .606-2.956 0-8.979-.303-12-.606-20.092-2.013-40.02-11.426-54.916-26.114-4.824-4.76-9.092-10.024-12.664-15.766C20.676 131.684 16 116.628 16 96z" fill="#e0f2fe" opacity="0.24"/>
45
+ </g>
46
+ </g>
47
+ </g>
48
+
49
+ <g transform="translate(286 76)">
50
+ <text x="0" y="56" fill="#eff6ff" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="58" font-weight="700" letter-spacing="0.2">
51
+ UniFi Ultimate
52
+ </text>
53
+ <text x="2" y="100" fill="#bae6fd" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="24" font-weight="500">
54
+ Simple. Clean. Ready for Node-RED.
55
+ </text>
56
+ </g>
57
+ </svg>
@@ -1,46 +1,57 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 280" role="img" aria-labelledby="title desc">
2
- <title id="title">Unifi Ultimate</title>
3
- <desc id="desc">Logo for the node-red-contrib-unifi-ultimate package for UBIQUITI UniFi.</desc>
2
+ <title id="title">UniFi Ultimate</title>
3
+ <desc id="desc">Tech style logo with minimal text for node-red-contrib-unifi-ultimate.</desc>
4
4
  <defs>
5
5
  <linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
6
- <stop offset="0%" stop-color="#f3f8fc"/>
7
- <stop offset="100%" stop-color="#eef3fb"/>
6
+ <stop offset="0%" stop-color="#071426"/>
7
+ <stop offset="100%" stop-color="#112a46"/>
8
8
  </linearGradient>
9
- <linearGradient id="brand" x1="0%" y1="0%" x2="100%" y2="100%">
10
- <stop offset="0%" stop-color="#1173ff"/>
11
- <stop offset="100%" stop-color="#0047b8"/>
9
+ <linearGradient id="glow" x1="0%" y1="0%" x2="100%" y2="100%">
10
+ <stop offset="0%" stop-color="#22d3ee"/>
11
+ <stop offset="100%" stop-color="#60a5fa"/>
12
12
  </linearGradient>
13
+ <linearGradient id="chip" x1="0%" y1="0%" x2="100%" y2="100%">
14
+ <stop offset="0%" stop-color="#0ea5e9"/>
15
+ <stop offset="100%" stop-color="#2563eb"/>
16
+ </linearGradient>
17
+ <filter id="glowSoft" x="-30%" y="-30%" width="160%" height="160%">
18
+ <feDropShadow dx="0" dy="0" stdDeviation="10" flood-color="#38bdf8" flood-opacity="0.5"/>
19
+ </filter>
13
20
  <filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
14
- <feDropShadow dx="0" dy="10" stdDeviation="14" flood-color="#18324f" flood-opacity="0.12"/>
21
+ <feDropShadow dx="0" dy="10" stdDeviation="16" flood-color="#020617" flood-opacity="0.35"/>
15
22
  </filter>
16
23
  </defs>
17
24
 
18
- <rect x="16" y="16" width="928" height="248" rx="32" fill="url(#bg)"/>
25
+ <rect x="12" y="12" width="936" height="256" rx="34" fill="url(#bg)"/>
26
+
27
+ <g stroke="#4cc9f0" stroke-opacity="0.35" stroke-width="1.6" fill="none">
28
+ <path d="M18 64H244"/>
29
+ <path d="M18 216H230"/>
30
+ <path d="M714 64H942"/>
31
+ <path d="M730 216H942"/>
32
+ </g>
19
33
 
20
- <g transform="translate(48 44)" filter="url(#shadow)">
21
- <rect x="0" y="0" width="192" height="192" rx="40" fill="#ffffff"/>
22
- <rect x="18" y="18" width="156" height="156" rx="34" fill="url(#brand)"/>
23
- <g transform="translate(33 31)">
24
- <path d="M96 0h18v18H96z" fill="#ffffff"/>
25
- <path d="M76 54h20v20H76z" fill="#ffffff"/>
26
- <path d="M56 71v25c0 22.091 17.909 40 40 40s40-17.909 40-40V54h-20v42c0 11.046-8.954 20-20 20s-20-8.954-20-20V71z" fill="#ffffff"/>
27
- <path d="M16 54h20v42c0 33.137 26.863 60 60 60s60-26.863 60-60V54h20v42c0 20.628-4.676 35.684-12.42 48.133-3.572 5.742-7.84 11.006-12.664 15.766-14.896 14.688-34.824 24.101-54.916 26.114-3.021.303-9.044.606-12 .606-2.956 0-8.979-.303-12-.606-20.092-2.013-40.02-11.426-54.916-26.114-4.824-4.76-9.092-10.024-12.664-15.766C20.676 131.684 16 116.628 16 96z" fill="#ffffff" opacity=".22"/>
34
+ <g transform="translate(40 40)" filter="url(#shadow)">
35
+ <rect x="0" y="0" width="200" height="200" rx="42" fill="#0a1f36" stroke="#2d4f73"/>
36
+ <rect x="20" y="20" width="160" height="160" rx="32" fill="url(#chip)"/>
37
+
38
+ <g transform="translate(24 22)" filter="url(#glowSoft)">
39
+ <circle cx="80" cy="80" r="56" fill="none" stroke="url(#glow)" stroke-width="2.5" opacity="0.7"/>
40
+ <g transform="translate(16 14) scale(0.66)">
41
+ <path d="M96 0h18v18H96z" fill="#e0f2fe"/>
42
+ <path d="M76 54h20v20H76z" fill="#e0f2fe"/>
43
+ <path d="M56 71v25c0 22.091 17.909 40 40 40s40-17.909 40-40V54h-20v42c0 11.046-8.954 20-20 20s-20-8.954-20-20V71z" fill="#e0f2fe"/>
44
+ <path d="M16 54h20v42c0 33.137 26.863 60 60 60s60-26.863 60-60V54h20v42c0 20.628-4.676 35.684-12.42 48.133-3.572 5.742-7.84 11.006-12.664 15.766-14.896 14.688-34.824 24.101-54.916 26.114-3.021.303-9.044.606-12 .606-2.956 0-8.979-.303-12-.606-20.092-2.013-40.02-11.426-54.916-26.114-4.824-4.76-9.092-10.024-12.664-15.766C20.676 131.684 16 116.628 16 96z" fill="#e0f2fe" opacity="0.24"/>
45
+ </g>
28
46
  </g>
29
47
  </g>
30
48
 
31
- <g transform="translate(284 72)">
32
- <text x="0" y="56" fill="#0f2238" font-family="Helvetica, Arial, sans-serif" font-size="58" font-weight="700" letter-spacing="0.5">
33
- Unifi Ultimate
49
+ <g transform="translate(286 76)">
50
+ <text x="0" y="56" fill="#eff6ff" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="58" font-weight="700" letter-spacing="0.2">
51
+ UniFi Ultimate
34
52
  </text>
35
- <text x="0" y="100" fill="#47627d" font-family="Helvetica, Arial, sans-serif" font-size="24" font-weight="500">
36
- for UBIQUITI UniFi
53
+ <text x="2" y="100" fill="#bae6fd" font-family="'Avenir Next', 'Segoe UI', Roboto, Arial, sans-serif" font-size="24" font-weight="500">
54
+ Simple. Clean. Ready for Node-RED.
37
55
  </text>
38
-
39
- <g transform="translate(0 132)">
40
- <rect x="0" y="0" width="156" height="40" rx="20" fill="#ffffff"/>
41
- <text x="25" y="26" fill="#42556b" font-family="Helvetica, Arial, sans-serif" font-size="20" font-weight="600">
42
- Beta Package
43
- </text>
44
- </g>
45
56
  </g>
46
57
  </svg>