node-red-contrib-unifi-ultimate 0.1.0-beta.5 → 0.1.2
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 +179 -52
- package/nodes/icons/readme-overview.svg +96 -0
- package/nodes/icons/unifi-ultimate-logo-minimal.svg +40 -0
- package/nodes/icons/unifi-ultimate-logo-tech.svg +57 -0
- package/nodes/icons/unifi-ultimate-logo.svg +40 -29
- package/nodes/unifi-access-config.html +85 -13
- package/nodes/unifi-access-config.js +58 -10
- package/nodes/unifi-access-device.html +267 -26
- package/nodes/unifi-access-device.js +29 -3
- package/nodes/unifi-network-config.html +118 -0
- package/nodes/unifi-network-config.js +482 -0
- package/nodes/unifi-network-control-poe.html +399 -0
- package/nodes/unifi-network-control-poe.js +191 -0
- package/nodes/unifi-network-device.html +959 -0
- package/nodes/unifi-network-device.js +275 -0
- package/nodes/unifi-network-presence.html +342 -0
- package/nodes/unifi-network-presence.js +328 -0
- package/nodes/unifi-protect-config.html +89 -15
- package/nodes/unifi-protect-config.js +50 -10
- package/nodes/unifi-protect-device.html +251 -25
- package/nodes/unifi-protect-device.js +34 -5
- package/nodes/utils/unifi-access-device-registry.js +84 -5
- package/nodes/utils/unifi-access-utils.js +10 -0
- package/nodes/utils/unifi-network-device-registry.js +547 -0
- package/nodes/utils/unifi-network-utils.js +187 -0
- package/nodes/utils/unifi-protect-device-registry.js +57 -1
- package/nodes/utils/unifi-protect-field-metadata.js +12 -0
- package/nodes/utils/unifi-protect-utils.js +7 -0
- package/package.json +8 -3
- package/nodes/icons/unifi-ultimate-logo.svg.png +0 -0
package/README.md
CHANGED
|
@@ -2,36 +2,137 @@
|
|
|
2
2
|
<img src="nodes/icons/unifi-ultimate-logo.svg" alt="Unifi Ultimate" width="720">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
|
|
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
|
+
|
|
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]
|
|
17
|
+
|
|
18
|
+
# node-red-contrib-unifi-ultimate
|
|
19
|
+
|
|
20
|
+
Build UniFi automations in Node-RED without hand-writing API calls.
|
|
21
|
+
|
|
22
|
+
[View Changelog](CHANGELOG.md)
|
|
23
|
+
|
|
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
|
|
31
|
+
|
|
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)
|
|
6
43
|
|
|
7
|
-
##
|
|
44
|
+
## Install
|
|
8
45
|
|
|
9
|
-
|
|
10
|
-
- `Unifi Protect Config`: shared configuration node for controller IP, API key header, API key, and TLS behavior
|
|
11
|
-
- `Unifi Access Device`: first generic Access node focused on doors, Access devices, notification events, and safe doorbell control
|
|
12
|
-
- `Unifi Access Config`: shared configuration node for host, bearer token, and TLS behavior
|
|
46
|
+
In Node-RED:
|
|
13
47
|
|
|
14
|
-
|
|
48
|
+
1. Open `Manage palette`
|
|
49
|
+
2. Select `Install`
|
|
50
|
+
3. Search for `node-red-contrib-unifi-ultimate`
|
|
51
|
+
4. Install the package
|
|
15
52
|
|
|
16
|
-
|
|
17
|
-
- [examples/unifi-protect-sensor-observe.json](examples/unifi-protect-sensor-observe.json): Protect sensor boolean observe example
|
|
18
|
-
- [examples/unifi-protect-camera-actions.json](examples/unifi-protect-camera-actions.json): Protect snapshot, PTZ preset, and doorbell message examples
|
|
19
|
-
- [examples/unifi-access-door-control.json](examples/unifi-access-door-control.json): Access door observe, unlock, and temporary lock rule examples
|
|
20
|
-
- [examples/unifi-access-intercom-doorbell.json](examples/unifi-access-intercom-doorbell.json): Access intercom observe, trigger doorbell, and safe cancel example
|
|
53
|
+
## Quick Start
|
|
21
54
|
|
|
22
|
-
|
|
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
|
|
59
|
+
5. Deploy
|
|
60
|
+
6. Wire outputs:
|
|
61
|
+
Output 1 for state/action responses
|
|
62
|
+
Output 2 for live events (when action is `Receive Events`)
|
|
63
|
+
|
|
64
|
+
If you want the fastest path, import one of the flows from `examples/` and replace credentials.
|
|
65
|
+
|
|
66
|
+
## Available Nodes
|
|
67
|
+
|
|
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 |
|
|
78
|
+
|
|
79
|
+
## UniFi Protect
|
|
80
|
+
|
|
81
|
+
Supported device types:
|
|
82
|
+
|
|
83
|
+
- `Camera`
|
|
84
|
+
- `Sensor`
|
|
85
|
+
- `Light`
|
|
86
|
+
- `Chime`
|
|
87
|
+
- `Viewer`
|
|
88
|
+
- `Live View`
|
|
89
|
+
- `NVR`
|
|
90
|
+
|
|
91
|
+
Common capabilities:
|
|
92
|
+
|
|
93
|
+
- `Receive Events`
|
|
94
|
+
- `Read Device State`
|
|
95
|
+
- `Send Raw Update`
|
|
96
|
+
|
|
97
|
+
Additional capabilities (when supported by selected device):
|
|
98
|
+
|
|
99
|
+
- `Take Snapshot`
|
|
100
|
+
- `List RTSPS Streams`
|
|
101
|
+
- `Create RTSPS Stream`
|
|
102
|
+
- `Delete RTSPS Stream`
|
|
103
|
+
- `Start Talkback Session`
|
|
104
|
+
- `Disable Microphone Permanently`
|
|
105
|
+
- `Start PTZ Patrol`
|
|
106
|
+
- `Stop PTZ Patrol`
|
|
107
|
+
- `Recall PTZ Preset`
|
|
108
|
+
- `Show Doorbell Message`
|
|
109
|
+
- `Switch Live View`
|
|
110
|
+
- `Update One Property`
|
|
111
|
+
- `Read Application Info` (NVR)
|
|
112
|
+
|
|
113
|
+
Editor adaptation examples:
|
|
114
|
+
|
|
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
|
|
120
|
+
|
|
121
|
+
For supported observables, `msg.payload` can be normalized to `true/false`; raw context remains available in `msg.RAW`.
|
|
122
|
+
|
|
123
|
+
## UniFi Access
|
|
124
|
+
|
|
125
|
+
Supported device types:
|
|
23
126
|
|
|
24
127
|
- `Door`
|
|
25
128
|
- `Access Device`
|
|
26
129
|
|
|
27
|
-
## Supported Access capabilities
|
|
28
|
-
|
|
29
130
|
Common capabilities:
|
|
30
131
|
|
|
31
132
|
- `Receive Events`
|
|
32
133
|
- `Read State`
|
|
33
134
|
|
|
34
|
-
Door
|
|
135
|
+
Door capabilities:
|
|
35
136
|
|
|
36
137
|
- `Unlock Door`
|
|
37
138
|
- `Read Lock Rule`
|
|
@@ -39,57 +140,83 @@ Door-specific capabilities:
|
|
|
39
140
|
- `Read Emergency Mode`
|
|
40
141
|
- `Set Emergency Mode`
|
|
41
142
|
|
|
42
|
-
|
|
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
|
+
|
|
148
|
+
Access device capabilities:
|
|
43
149
|
|
|
44
150
|
- `Read Access Methods`
|
|
45
151
|
- `Update Access Methods`
|
|
46
152
|
- `Trigger Doorbell`
|
|
47
153
|
- `Cancel Doorbell`
|
|
48
154
|
|
|
49
|
-
|
|
155
|
+
When using `Receive Events`, the node fetches current state once and then listens to official Access notifications.
|
|
156
|
+
|
|
157
|
+
## UniFi Network
|
|
158
|
+
|
|
159
|
+
Supported resource types:
|
|
160
|
+
|
|
161
|
+
- `Site`
|
|
162
|
+
- `UniFi Device`
|
|
163
|
+
- `Client`
|
|
164
|
+
|
|
165
|
+
Common capabilities:
|
|
166
|
+
|
|
167
|
+
- `Read State`
|
|
168
|
+
- `Read Details`
|
|
169
|
+
|
|
170
|
+
Additional capabilities:
|
|
171
|
+
|
|
172
|
+
- Site: `Read Application Info`, `List Site Devices`, `List Site Clients`
|
|
173
|
+
- UniFi Device: `Read Latest Statistics`, `Restart Device`, `Power Cycle Port`
|
|
174
|
+
- Client: `Authorize Guest Access`, `Revoke Guest Access`
|
|
50
175
|
|
|
51
|
-
|
|
176
|
+
Notes:
|
|
52
177
|
|
|
53
|
-
-
|
|
54
|
-
- `
|
|
55
|
-
- `msg.capability`
|
|
56
|
-
- `msg.capabilityConfig`
|
|
57
|
-
- `msg.params`
|
|
58
|
-
- `msg.query`
|
|
59
|
-
- `msg.headers`
|
|
60
|
-
- `msg.payload`
|
|
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
|
|
61
180
|
|
|
62
|
-
|
|
181
|
+
Dedicated utility nodes:
|
|
63
182
|
|
|
64
|
-
- `
|
|
65
|
-
- `
|
|
66
|
-
- `Receive Events` on `Light` lets you choose boolean observables like motion or light on/off
|
|
67
|
-
- `Recall PTZ Preset` can offer PTZ preset choices for the selected camera
|
|
68
|
-
- `Start PTZ Patrol` offers patrol slot selection
|
|
69
|
-
- `Show Doorbell Message` guides predefined/custom/image doorbell messages and can load image assets from Protect
|
|
70
|
-
- `Switch Live View` can offer available live views for the selected viewer
|
|
71
|
-
- `Update One Property` discovers patchable properties from the selected device payload and adapts the value field to booleans, numbers, strings, or related object selections
|
|
183
|
+
- `Unifi Network Presence`: stable presence with disconnect hysteresis
|
|
184
|
+
- `Unifi Network Control POE`: enable, disable, or cycle PoE on one selected port
|
|
72
185
|
|
|
73
|
-
|
|
186
|
+
## Outputs
|
|
74
187
|
|
|
75
|
-
|
|
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`)
|
|
76
191
|
|
|
77
|
-
|
|
78
|
-
- the full original device/event context is exposed in `msg.RAW`
|
|
192
|
+
## Example Flows
|
|
79
193
|
|
|
80
|
-
|
|
194
|
+
Import from `examples/`:
|
|
81
195
|
|
|
82
|
-
|
|
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 |
|
|
83
203
|
|
|
84
|
-
|
|
85
|
-
- Output 2: Protect events for the selected device when capability is `Receive Events`
|
|
86
|
-
- `msg.unifiProtect`: standardized device metadata
|
|
87
|
-
- `msg.device`: last known object payload, when available
|
|
204
|
+
## Project Status
|
|
88
205
|
|
|
89
|
-
|
|
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
|
|
90
209
|
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
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,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">
|
|
3
|
-
<desc id="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="#
|
|
7
|
-
<stop offset="100%" stop-color="#
|
|
6
|
+
<stop offset="0%" stop-color="#071426"/>
|
|
7
|
+
<stop offset="100%" stop-color="#112a46"/>
|
|
8
8
|
</linearGradient>
|
|
9
|
-
<linearGradient id="
|
|
10
|
-
<stop offset="0%" stop-color="#
|
|
11
|
-
<stop offset="100%" stop-color="#
|
|
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="
|
|
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="
|
|
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(
|
|
21
|
-
<rect x="0" y="0" width="
|
|
22
|
-
<rect x="
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
<
|
|
27
|
-
|
|
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(
|
|
32
|
-
<text x="0" y="56" fill="#
|
|
33
|
-
|
|
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="
|
|
36
|
-
for
|
|
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>
|