node-red-contrib-unifi-ultimate 1.0.8 → 1.0.9
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 +17 -16
- package/nodes/unifi-access-config.html +5 -4
- package/nodes/unifi-access-device.html +5 -4
- package/nodes/unifi-network-config.html +5 -4
- package/nodes/unifi-network-control-poe.html +17 -7
- package/nodes/unifi-network-device.html +3 -3
- package/nodes/unifi-network-presence.html +5 -4
- package/nodes/unifi-protect-config.html +5 -4
- package/nodes/unifi-protect-device.html +5 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Control and monitor your **UniFi Network**, **UniFi Protect**, and **UniFi Acces
|
|
|
17
17
|
|
|
18
18
|
[View Changelog](CHANGELOG.md)
|
|
19
19
|
|
|
20
|
-
<a href="https://
|
|
20
|
+
<a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv">
|
|
21
21
|
<img src="resources/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" align="absmiddle">
|
|
22
22
|
Watch news and tutorials on YouTube
|
|
23
23
|
<br/>
|
|
@@ -50,7 +50,7 @@ In Node-RED:
|
|
|
50
50
|
7. Send any message into the node to run the action.
|
|
51
51
|
|
|
52
52
|
> **Tip:** For most actions, the incoming message is just a trigger — the node uses the device and action you configured in the editor.
|
|
53
|
-
> The only exception is **Control
|
|
53
|
+
> The only exception is **Clients Control** with a _controlled by msg.payload_ action: send `true` to enable (PoE or the port) and `false` to disable it, on every target in its list.
|
|
54
54
|
|
|
55
55
|
> **Custom port:** Each config node has an optional **Port** field. Leave it empty to use the default (`443` for Network/Protect, `12445` for Access). Set it when your controller listens on a custom port — for example a **UniFi OS server** that uses `11443`. A port written directly in the controller address (`host:port`) takes precedence over this field.
|
|
56
56
|
|
|
@@ -81,8 +81,9 @@ Things you can do:
|
|
|
81
81
|
- Read CPU usage, memory, and uptime from a switch or access point.
|
|
82
82
|
- Read the temperature of a switch (where supported).
|
|
83
83
|
- Restart a UniFi device.
|
|
84
|
-
-
|
|
85
|
-
-
|
|
84
|
+
- Control a **list of clients/ports** at once with the **Clients Control** node: pick targets by switch+port or by client (its uplink switch/port is resolved automatically) and apply one action to all of them, getting a single summary message back.
|
|
85
|
+
- Switch PoE on/off or power-cycle it, and **enable/disable the whole switch port** (the UniFi _Port State_ toggle), driven by the editor or by `msg.payload`.
|
|
86
|
+
- Let **Clients Control** automatically find which switch port a client is connected to.
|
|
86
87
|
- Restart a whole list of switches/APs at once, or power-cycle all their active PoE ports, with the **Restart** node.
|
|
87
88
|
|
|
88
89
|
<br/>
|
|
@@ -139,26 +140,26 @@ Things you can do:
|
|
|
139
140
|
|
|
140
141
|
Every node has **two outputs**:
|
|
141
142
|
|
|
142
|
-
| Output
|
|
143
|
-
|
|
|
143
|
+
| Output | When it fires |
|
|
144
|
+
| -------------- | ---------------------------------------------------------------------------- |
|
|
144
145
|
| **1 — result** | The action completed successfully. The result is available in `msg.payload`. |
|
|
145
|
-
| **2 — error**
|
|
146
|
+
| **2 — error** | Something went wrong (connection problem, timeout, unsupported action). |
|
|
146
147
|
|
|
147
148
|
When an error occurs, the node status turns red and the error message comes out of the second output. Connect it to a **debug** node to see what happened, or wire it to any notification logic in your flow.
|
|
148
149
|
|
|
149
|
-
**Repeat periodically** — for read actions, you can tick
|
|
150
|
+
**Repeat periodically** — for read actions, you can tick _Emit periodically_ in the node editor to have the node send the result automatically at a fixed interval, without needing an Inject node. The **Presence Detection** node offers a similar **Resend (s)** field: set it above `0` to re-emit the last known presence value on that cadence (even when unchanged). Resent messages carry `msg.eventName = "repeat"` so you can tell them apart from real state changes; leave it at `0` to disable.
|
|
150
151
|
|
|
151
152
|
## Example Flows
|
|
152
153
|
|
|
153
154
|
Import from `examples/`:
|
|
154
155
|
|
|
155
|
-
| Flow file
|
|
156
|
-
|
|
|
157
|
-
| [examples/unifi-protect-info.json](examples/unifi-protect-info.json)
|
|
158
|
-
| [examples/unifi-protect-sensor-observe.json](examples/unifi-protect-sensor-observe.json)
|
|
159
|
-
| [examples/unifi-protect-camera-actions.json](examples/unifi-protect-camera-actions.json)
|
|
160
|
-
| [examples/unifi-access-door-control.json](examples/unifi-access-door-control.json)
|
|
161
|
-
| [examples/unifi-access-intercom-doorbell.json](examples/unifi-access-intercom-doorbell.json) | Intercom — receive ring, trigger and cancel doorbell
|
|
156
|
+
| Flow file | What it demonstrates |
|
|
157
|
+
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
158
|
+
| [examples/unifi-protect-info.json](examples/unifi-protect-info.json) | Read the state of a Protect camera |
|
|
159
|
+
| [examples/unifi-protect-sensor-observe.json](examples/unifi-protect-sensor-observe.json) | Receive sensor events (motion, temperature, humidity, …) |
|
|
160
|
+
| [examples/unifi-protect-camera-actions.json](examples/unifi-protect-camera-actions.json) | Take snapshots, move PTZ, show doorbell messages |
|
|
161
|
+
| [examples/unifi-access-door-control.json](examples/unifi-access-door-control.json) | Door state, remote unlock, temporary lock rule |
|
|
162
|
+
| [examples/unifi-access-intercom-doorbell.json](examples/unifi-access-intercom-doorbell.json) | Intercom — receive ring, trigger and cancel doorbell |
|
|
162
163
|
|
|
163
164
|
## Notes
|
|
164
165
|
|
|
@@ -178,4 +179,4 @@ Import from `examples/`:
|
|
|
178
179
|
[license-image]: https://img.shields.io/badge/license-MIT-green.svg
|
|
179
180
|
[license-url]: https://opensource.org/licenses/MIT
|
|
180
181
|
[youtube-image]: https://img.shields.io/badge/YouTube-Subscribe-red?logo=youtube&logoColor=white
|
|
181
|
-
[youtube-url]: https://
|
|
182
|
+
[youtube-url]: https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
<script type="text/javascript">
|
|
4
5
|
RED.nodes.registerType("unifi-access-config", {
|
|
@@ -74,7 +75,7 @@
|
|
|
74
75
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-access-black.svg" alt="UniFi Access logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
75
76
|
</div>
|
|
76
77
|
<div class="form-row unifi-ultimate-hero">
|
|
77
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
78
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
78
79
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
79
80
|
<span>Youtube Tutorials</span>
|
|
80
81
|
</a>
|
|
@@ -105,7 +106,7 @@
|
|
|
105
106
|
</script>
|
|
106
107
|
|
|
107
108
|
<script type="text/html" data-help-name="unifi-access-config">
|
|
108
|
-
<p><a href="https://
|
|
109
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
109
110
|
|
|
110
111
|
<p>Shared connection for UniFi Access nodes.</p>
|
|
111
112
|
|
|
@@ -119,4 +120,4 @@
|
|
|
119
120
|
<h3>Usage</h3>
|
|
120
121
|
<p>This config node is used by UniFi Access Device nodes for API requests and live notification events.</p>
|
|
121
122
|
<p>All Access API calls and notification channels are managed by this config node. Runtime nodes subscribe through <code>addClient/removeClient</code> and receive fan-out updates.</p>
|
|
122
|
-
</script>
|
|
123
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -1079,7 +1080,7 @@
|
|
|
1079
1080
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-access-black.svg" alt="UniFi Access logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
1080
1081
|
</div>
|
|
1081
1082
|
<div class="form-row unifi-ultimate-hero">
|
|
1082
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
1083
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
1083
1084
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
1084
1085
|
<span>Youtube Tutorials</span>
|
|
1085
1086
|
</a>
|
|
@@ -1128,7 +1129,7 @@
|
|
|
1128
1129
|
</script>
|
|
1129
1130
|
|
|
1130
1131
|
<script type="text/html" data-help-name="unifi-access-device">
|
|
1131
|
-
<p><a href="https://
|
|
1132
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
1132
1133
|
|
|
1133
1134
|
<p>Use this node to execute a configured UniFi Access action or listen for live Access events.</p>
|
|
1134
1135
|
|
|
@@ -1201,4 +1202,4 @@
|
|
|
1201
1202
|
"payload": null,
|
|
1202
1203
|
"error": { "message": "Request timed out" }
|
|
1203
1204
|
}</code></pre>
|
|
1204
|
-
</script>
|
|
1205
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-network-black.svg" alt="UniFi Network logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
88
89
|
</div>
|
|
89
90
|
<div class="form-row unifi-ultimate-hero">
|
|
90
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
91
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
91
92
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
92
93
|
<span>Youtube Tutorials</span>
|
|
93
94
|
</a>
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
</script>
|
|
123
124
|
|
|
124
125
|
<script type="text/html" data-help-name="unifi-network-config">
|
|
125
|
-
<p><a href="https://
|
|
126
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
126
127
|
|
|
127
128
|
<p>Shared connection for UniFi Network nodes.</p>
|
|
128
129
|
|
|
@@ -139,4 +140,4 @@
|
|
|
139
140
|
<p>All UniFi Network requests are executed by this config node. Runtime nodes subscribe through <code>addClient/removeClient</code> and receive updates/events from here.</p>
|
|
140
141
|
<p>Event streams and observation timers are centralized here (shared scheduler per config node), so runtime nodes do not open their own websocket channels or polling timers.</p>
|
|
141
142
|
<p>The node uses the official Network integration API where available and falls back automatically to local legacy endpoints when the official <code>/v1</code> routes are not exposed (for example on older local releases). For switch port/client mapping and PoE enable/disable, legacy endpoints are also used where needed.</p>
|
|
142
|
-
</script>
|
|
143
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -1178,7 +1179,7 @@
|
|
|
1178
1179
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-network-black.svg" alt="UniFi Network logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
1179
1180
|
</div>
|
|
1180
1181
|
<div class="form-row unifi-ultimate-hero">
|
|
1181
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
1182
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
1182
1183
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
1183
1184
|
<span>Youtube Tutorials</span>
|
|
1184
1185
|
</a>
|
|
@@ -1278,6 +1279,7 @@
|
|
|
1278
1279
|
padding: 10px 12px 2px;
|
|
1279
1280
|
margin-bottom: 14px;
|
|
1280
1281
|
}
|
|
1282
|
+
|
|
1281
1283
|
.unifi-poe-picker-title {
|
|
1282
1284
|
font-size: 0.78em;
|
|
1283
1285
|
text-transform: uppercase;
|
|
@@ -1285,11 +1287,13 @@
|
|
|
1285
1287
|
opacity: 0.65;
|
|
1286
1288
|
margin-bottom: 8px;
|
|
1287
1289
|
}
|
|
1290
|
+
|
|
1288
1291
|
.unifi-poe-targets-panel {
|
|
1289
1292
|
display: inline-block;
|
|
1290
1293
|
width: 70%;
|
|
1291
1294
|
vertical-align: top;
|
|
1292
1295
|
}
|
|
1296
|
+
|
|
1293
1297
|
.unifi-poe-target-list {
|
|
1294
1298
|
max-height: 160px;
|
|
1295
1299
|
overflow-y: auto;
|
|
@@ -1298,32 +1302,38 @@
|
|
|
1298
1302
|
padding: 4px 6px;
|
|
1299
1303
|
background: var(--red-ui-form-input-background, #fff);
|
|
1300
1304
|
}
|
|
1305
|
+
|
|
1301
1306
|
#unifi-poe-target-list .unifi-poe-target-row {
|
|
1302
1307
|
display: flex;
|
|
1303
1308
|
align-items: center;
|
|
1304
1309
|
gap: 8px;
|
|
1305
1310
|
padding: 3px 2px;
|
|
1306
1311
|
}
|
|
1312
|
+
|
|
1307
1313
|
#unifi-poe-target-list .unifi-poe-target-name {
|
|
1308
1314
|
flex: 1 1 auto;
|
|
1309
1315
|
overflow: hidden;
|
|
1310
1316
|
text-overflow: ellipsis;
|
|
1311
1317
|
white-space: nowrap;
|
|
1312
1318
|
}
|
|
1319
|
+
|
|
1313
1320
|
#unifi-poe-target-list .unifi-poe-target-meta {
|
|
1314
1321
|
flex: 0 0 auto;
|
|
1315
1322
|
opacity: 0.6;
|
|
1316
1323
|
font-size: 0.85em;
|
|
1317
1324
|
}
|
|
1325
|
+
|
|
1318
1326
|
#unifi-poe-target-list .unifi-poe-target-remove {
|
|
1319
1327
|
flex: 0 0 auto;
|
|
1320
1328
|
color: var(--red-ui-text-color-error, #b30000);
|
|
1321
1329
|
text-decoration: none;
|
|
1322
1330
|
}
|
|
1331
|
+
|
|
1323
1332
|
.unifi-poe-target-empty {
|
|
1324
1333
|
opacity: 0.6;
|
|
1325
1334
|
padding: 6px 2px;
|
|
1326
1335
|
}
|
|
1336
|
+
|
|
1327
1337
|
.unifi-poe-target-footer {
|
|
1328
1338
|
display: flex;
|
|
1329
1339
|
justify-content: flex-end;
|
|
@@ -1334,9 +1344,9 @@
|
|
|
1334
1344
|
</style>
|
|
1335
1345
|
|
|
1336
1346
|
<script type="text/html" data-help-name="unifi-network-control-poe">
|
|
1337
|
-
<p><a href="https://
|
|
1347
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
1338
1348
|
|
|
1339
|
-
<p>Controls PoE on a list of UniFi switch ports. Build the list by picking a target (a switch port, or a client whose uplink switch/port is resolved automatically) and clicking <b>Add to list</b>. When triggered, the configured action runs on every target in the list and a single summary message is emitted.</p>
|
|
1349
|
+
<p>Controls PoE, or enables/disables the whole switch port, on a list of UniFi switch ports. Build the list by picking a target (a switch port, or a client whose uplink switch/port is resolved automatically) and clicking <b>Add to list</b>. When triggered, the configured action runs on every target in the list and a single summary message is emitted.</p>
|
|
1340
1350
|
|
|
1341
1351
|
<h3>Configuration</h3>
|
|
1342
1352
|
<p><b>Connection</b> selects the shared UniFi Network config node.</p>
|
|
@@ -1455,8 +1465,8 @@
|
|
|
1455
1465
|
}</code></pre>
|
|
1456
1466
|
<p>Example output (pin 2 — error):</p>
|
|
1457
1467
|
<pre><code>{
|
|
1458
|
-
"topic": "
|
|
1468
|
+
"topic": "Clients Control",
|
|
1459
1469
|
"payload": null,
|
|
1460
|
-
"error": { "message": "
|
|
1470
|
+
"error": { "message": "No client targets configured." }
|
|
1461
1471
|
}</code></pre>
|
|
1462
|
-
</script>
|
|
1472
|
+
</script>
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-network-black.svg" alt="UniFi Network logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
1210
1210
|
</div>
|
|
1211
1211
|
<div class="form-row unifi-ultimate-hero">
|
|
1212
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
1212
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
1213
1213
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
1214
1214
|
<span>Youtube Tutorials</span>
|
|
1215
1215
|
</a>
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
</script>
|
|
1259
1259
|
|
|
1260
1260
|
<script type="text/html" data-help-name="unifi-network-device">
|
|
1261
|
-
<p><a href="https://
|
|
1261
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
1262
1262
|
|
|
1263
1263
|
<p>Use this node to execute a configured UniFi Network action on a selected site, UniFi device, or client.</p>
|
|
1264
1264
|
|
|
@@ -1338,4 +1338,4 @@
|
|
|
1338
1338
|
"payload": null,
|
|
1339
1339
|
"error": { "message": "Request timed out" }
|
|
1340
1340
|
}</code></pre>
|
|
1341
|
-
</script>
|
|
1341
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -480,7 +481,7 @@
|
|
|
480
481
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-network-black.svg" alt="UniFi Network logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
481
482
|
</div>
|
|
482
483
|
<div class="form-row unifi-ultimate-hero">
|
|
483
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
484
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
484
485
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
485
486
|
<span>Youtube Tutorials</span>
|
|
486
487
|
</a>
|
|
@@ -522,7 +523,7 @@
|
|
|
522
523
|
</script>
|
|
523
524
|
|
|
524
525
|
<script type="text/html" data-help-name="unifi-network-presence">
|
|
525
|
-
<p><a href="https://
|
|
526
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
526
527
|
|
|
527
528
|
<p>Detects whether a selected UniFi Network client is currently connected.</p>
|
|
528
529
|
|
|
@@ -591,4 +592,4 @@
|
|
|
591
592
|
"payload": null,
|
|
592
593
|
"error": { "message": "Presence polling failed" }
|
|
593
594
|
}</code></pre>
|
|
594
|
-
</script>
|
|
595
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-protect-black.svg" alt="UniFi Protect logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
78
79
|
</div>
|
|
79
80
|
<div class="form-row unifi-ultimate-hero">
|
|
80
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
81
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
81
82
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
82
83
|
<span>Youtube Tutorials</span>
|
|
83
84
|
</a>
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
</script>
|
|
113
114
|
|
|
114
115
|
<script type="text/html" data-help-name="unifi-protect-config">
|
|
115
|
-
<p><a href="https://
|
|
116
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
116
117
|
|
|
117
118
|
<p>Shared connection for UniFi Protect nodes.</p>
|
|
118
119
|
|
|
@@ -127,4 +128,4 @@
|
|
|
127
128
|
<h3>Usage</h3>
|
|
128
129
|
<p>This config node is used by UniFi Protect Device nodes for API requests and live device/event updates.</p>
|
|
129
130
|
<p>All Protect API calls and websocket streams are managed by this config node. Runtime nodes subscribe through <code>addClient/removeClient</code> and receive broadcast updates.</p>
|
|
130
|
-
</script>
|
|
131
|
+
</script>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css"
|
|
1
|
+
<link rel="stylesheet" type="text/css"
|
|
2
|
+
href="resources/node-red-contrib-unifi-ultimate/editor/unifi-ultimate-editor-common.css">
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
<script type="text/javascript">
|
|
@@ -1090,7 +1091,7 @@
|
|
|
1090
1091
|
<img class="unifi-ultimate-product-logo" src="resources/node-red-contrib-unifi-ultimate/logos/unifi-protect-black.svg" alt="UniFi Protect logo" onerror="this.closest('.unifi-ultimate-product-logo-row').style.display='none';">
|
|
1091
1092
|
</div>
|
|
1092
1093
|
<div class="form-row unifi-ultimate-hero">
|
|
1093
|
-
<a class="unifi-ultimate-youtube-link" href="https://
|
|
1094
|
+
<a class="unifi-ultimate-youtube-link" href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer">
|
|
1094
1095
|
<img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18">
|
|
1095
1096
|
<span>Youtube Tutorials</span>
|
|
1096
1097
|
</a>
|
|
@@ -1139,7 +1140,7 @@
|
|
|
1139
1140
|
</script>
|
|
1140
1141
|
|
|
1141
1142
|
<script type="text/html" data-help-name="unifi-protect-device">
|
|
1142
|
-
<p><a href="https://
|
|
1143
|
+
<p><a href="https://youtube.com/playlist?list=PL9Yh1bjbLAYrWKtMlopN0swuQXbdJ8MFJ&si=4MmW1nNTCLrJtEHv" target="_blank" rel="noopener noreferrer"><img src="resources/node-red-contrib-unifi-ultimate/logos/youtube-icon.svg" alt="YouTube" width="24" height="18" style="vertical-align:text-bottom; margin-right:6px;">Youtube Tutorials</a></p>
|
|
1143
1144
|
|
|
1144
1145
|
<p>Use this node to execute a configured UniFi Protect action or listen for live Protect events.</p>
|
|
1145
1146
|
|
|
@@ -1216,4 +1217,4 @@
|
|
|
1216
1217
|
"payload": null,
|
|
1217
1218
|
"error": { "message": "Request timed out" }
|
|
1218
1219
|
}</code></pre>
|
|
1219
|
-
</script>
|
|
1220
|
+
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-unifi-ultimate",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Node-RED nodes for Ubiquiti UniFi integrations, including UniFi Protect, UniFi Access, and UniFi Network.",
|
|
5
5
|
"files": [
|
|
6
6
|
"nodes/",
|
|
@@ -63,4 +63,4 @@
|
|
|
63
63
|
"bugs": {
|
|
64
64
|
"url": "https://github.com/Supergiovane/node-red-contrib-unifi-ultimate/issues"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|