node-red-contrib-unifi-ultimate 0.1.0-beta.4 → 0.1.0

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.
Files changed (30) hide show
  1. package/README.md +141 -46
  2. package/examples/unifi-access-door-control.json +205 -0
  3. package/examples/unifi-access-intercom-doorbell.json +205 -0
  4. package/examples/unifi-protect-camera-actions.json +189 -0
  5. package/examples/unifi-protect-sensor-observe.json +98 -0
  6. package/nodes/unifi-access-config.html +85 -13
  7. package/nodes/unifi-access-config.js +59 -11
  8. package/nodes/unifi-access-device.html +246 -26
  9. package/nodes/unifi-access-device.js +29 -3
  10. package/nodes/unifi-network-config.html +118 -0
  11. package/nodes/unifi-network-config.js +482 -0
  12. package/nodes/unifi-network-control-poe.html +399 -0
  13. package/nodes/unifi-network-control-poe.js +191 -0
  14. package/nodes/unifi-network-device.html +954 -0
  15. package/nodes/unifi-network-device.js +275 -0
  16. package/nodes/unifi-network-presence.html +342 -0
  17. package/nodes/unifi-network-presence.js +328 -0
  18. package/nodes/unifi-protect-config.html +89 -15
  19. package/nodes/unifi-protect-config.js +50 -10
  20. package/nodes/unifi-protect-device.html +246 -25
  21. package/nodes/unifi-protect-device.js +34 -5
  22. package/nodes/utils/unifi-access-device-registry.js +19 -0
  23. package/nodes/utils/unifi-access-utils.js +10 -0
  24. package/nodes/utils/unifi-network-device-registry.js +539 -0
  25. package/nodes/utils/unifi-network-utils.js +187 -0
  26. package/nodes/utils/unifi-protect-device-registry.js +34 -0
  27. package/nodes/utils/unifi-protect-field-metadata.js +7 -0
  28. package/nodes/utils/unifi-protect-utils.js +7 -0
  29. package/package.json +9 -4
  30. package/nodes/icons/unifi-ultimate-logo.svg.png +0 -0
package/README.md CHANGED
@@ -2,28 +2,121 @@
2
2
  <img src="nodes/icons/unifi-ultimate-logo.svg" alt="Unifi Ultimate" width="720">
3
3
  </p>
4
4
 
5
- Node-RED nodes for Ubiquiti UniFi integrations, currently covering UniFi Protect and a first UniFi Access beta.
5
+ # node-red-contrib-unifi-ultimate
6
6
 
7
- ## Included in this first version
7
+ Use UniFi Protect, UniFi Access, and UniFi Network inside Node-RED without building custom API calls.
8
8
 
9
- - `Unifi Protect Device`: generic Protect object node with discovery of device types, instances, and device-specific capabilities
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
9
+ This package lets you:
13
10
 
14
- ## Supported Access device types
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
15
+
16
+ Current release status: `0.1.0`
17
+
18
+ [View Changelog](CHANGELOG.md)
19
+
20
+ ## Before you start
21
+
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
28
+
29
+ ## Install
30
+
31
+ In Node-RED:
32
+
33
+ 1. Open `Manage palette`
34
+ 2. Select `Install`
35
+ 3. Search for `node-red-contrib-unifi-ultimate`
36
+ 4. Install the package
37
+
38
+ ## Quick start
39
+
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
45
+ 5. Deploy
46
+ 6. Connect:
47
+ Output 1 for state or action results
48
+ Output 2 for live events when you use `Receive Events`
49
+
50
+ If you want the fastest path, import one of the included example flows and replace the credentials with your own.
51
+
52
+ ## Available nodes
53
+
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
62
+
63
+ ## UniFi Protect
64
+
65
+ Supported device types:
66
+
67
+ - `Camera`
68
+ - `Sensor`
69
+ - `Light`
70
+ - `Chime`
71
+ - `Viewer`
72
+ - `Live View`
73
+ - `NVR`
74
+
75
+ Common capabilities:
76
+
77
+ - `Receive Events`
78
+ - `Read Device State`
79
+ - `Send Raw Update`
80
+
81
+ Additional capabilities available when supported by the selected device:
82
+
83
+ - `Take Snapshot`
84
+ - `List RTSPS Streams`
85
+ - `Create RTSPS Stream`
86
+ - `Delete RTSPS Stream`
87
+ - `Start Talkback Session`
88
+ - `Disable Microphone Permanently`
89
+ - `Start PTZ Patrol`
90
+ - `Stop PTZ Patrol`
91
+ - `Recall PTZ Preset`
92
+ - `Show Doorbell Message`
93
+ - `Switch Live View`
94
+ - `Update One Property`
95
+
96
+ The editor adapts to the selected device and capability. For example, it can offer:
97
+
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
104
+
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.
106
+
107
+ ## UniFi Access
108
+
109
+ Supported device types:
15
110
 
16
111
  - `Door`
17
112
  - `Access Device`
18
113
 
19
- ## Supported Access capabilities
20
-
21
114
  Common capabilities:
22
115
 
23
116
  - `Receive Events`
24
117
  - `Read State`
25
118
 
26
- Door-specific capabilities:
119
+ Door capabilities:
27
120
 
28
121
  - `Unlock Door`
29
122
  - `Read Lock Rule`
@@ -31,57 +124,59 @@ Door-specific capabilities:
31
124
  - `Read Emergency Mode`
32
125
  - `Set Emergency Mode`
33
126
 
34
- Access device-specific capabilities:
127
+ Access device capabilities:
35
128
 
36
129
  - `Read Access Methods`
37
130
  - `Update Access Methods`
38
131
  - `Trigger Doorbell`
39
132
  - `Cancel Doorbell`
40
133
 
41
- ## Runtime behavior
134
+ When you use `Receive Events`, the node first fetches the current state and then keeps listening for matching UniFi Access notifications.
135
+
136
+ ## UniFi Network
137
+
138
+ Supported resource types:
139
+
140
+ - `Site`
141
+ - `UniFi Device`
142
+ - `Client`
143
+
144
+ Common capabilities:
145
+
146
+ - `Read State`
147
+ - `Read Details`
42
148
 
43
- The `Device` node supports runtime overrides via `msg`:
149
+ Additional capabilities:
44
150
 
45
- - `msg.deviceType`
46
- - `msg.deviceId`
47
- - `msg.capability`
48
- - `msg.capabilityConfig`
49
- - `msg.params`
50
- - `msg.query`
51
- - `msg.headers`
52
- - `msg.payload`
151
+ - Site: `List Site Devices`, `List Site Clients`
152
+ - UniFi Device: `Read Latest Statistics`, `Restart Device`, `Power Cycle Port`
153
+ - Client: `Authorize Guest Access`, `Revoke Guest Access`
53
154
 
54
- Some capabilities expose options discovered from Protect and configured directly in the editor. For example:
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.
55
156
 
56
- - `Receive Events` on `Sensor` lets you choose which boolean observable to monitor
57
- - `Receive Events` on `Camera` lets you choose boolean event-driven observables like ring, motion, and smart detections
58
- - `Receive Events` on `Light` lets you choose boolean observables like motion or light on/off
59
- - `Recall PTZ Preset` can offer PTZ preset choices for the selected camera
60
- - `Start PTZ Patrol` offers patrol slot selection
61
- - `Show Doorbell Message` guides predefined/custom/image doorbell messages and can load image assets from Protect
62
- - `Switch Live View` can offer available live views for the selected viewer
63
- - `Update One Property` discovers patchable properties from the selected device payload and adapts the value field to booleans, numbers, strings, or related object selections
157
+ Dedicated utility nodes:
64
158
 
65
- In these cases, the node can be triggered by any input message and will build the correct request from the selected capability options.
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
66
161
 
67
- For `Sensor + Receive Events`:
162
+ ## Outputs
68
163
 
69
- - `msg.payload` is normalized to `true` or `false`
70
- - the full original device/event context is exposed in `msg.RAW`
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
71
167
 
72
- The same boolean-output pattern also applies to supported `Camera + Receive Events` and `Light + Receive Events` observables.
168
+ ## Example flows
73
169
 
74
- Output fields:
170
+ Import one of these flows from the `examples` folder:
75
171
 
76
- - Output 1: state or main capability response
77
- - Output 2: Protect events for the selected device when capability is `Receive Events`
78
- - `msg.unifiProtect`: standardized device metadata
79
- - `msg.device`: last known object payload, when available
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
80
177
 
81
- For the first UniFi Access beta:
178
+ ## Beta notes
82
179
 
83
- - `Receive Events` performs an initial state fetch and then listens to the official Access notifications WebSocket
84
- - Output 1 carries the current door/device state or the main response
85
- - Output 2 carries matching Access notification events
86
- - `msg.unifiAccess` contains standardized metadata for Access nodes
87
- - `Cancel Doorbell` returns `msg.payload.skipped = true` when the shared Access config node is not currently tracking any active ring
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
@@ -0,0 +1,205 @@
1
+ [
2
+ {
3
+ "id": "tab-access-door-control",
4
+ "type": "tab",
5
+ "label": "UniFi Access Door Control",
6
+ "disabled": false,
7
+ "info": ""
8
+ },
9
+ {
10
+ "id": "comment-access-door-control",
11
+ "type": "comment",
12
+ "z": "tab-access-door-control",
13
+ "name": "Setup",
14
+ "info": "Replace the Access host, API token, and door id before deploying.\nThis flow shows Observe, Unlock Door, and a temporary lock rule example.",
15
+ "x": 270,
16
+ "y": 60,
17
+ "wires": []
18
+ },
19
+ {
20
+ "id": "inject-access-door-observe",
21
+ "type": "inject",
22
+ "z": "tab-access-door-control",
23
+ "name": "Start Observe",
24
+ "props": [],
25
+ "repeat": "",
26
+ "crontab": "",
27
+ "once": false,
28
+ "onceDelay": 0.1,
29
+ "topic": "",
30
+ "x": 150,
31
+ "y": 140,
32
+ "wires": [
33
+ [
34
+ "node-access-door-observe"
35
+ ]
36
+ ]
37
+ },
38
+ {
39
+ "id": "node-access-door-observe",
40
+ "type": "unifi-access-device",
41
+ "z": "tab-access-door-control",
42
+ "name": "Observe Door",
43
+ "server": "config-access-door-control",
44
+ "deviceType": "door",
45
+ "deviceId": "replace-with-door-id",
46
+ "capability": "observe",
47
+ "capabilityConfig": "{}",
48
+ "timeout": "15000",
49
+ "x": 420,
50
+ "y": 140,
51
+ "wires": [
52
+ [
53
+ "debug-access-door-state"
54
+ ],
55
+ [
56
+ "debug-access-door-events"
57
+ ]
58
+ ]
59
+ },
60
+ {
61
+ "id": "debug-access-door-state",
62
+ "type": "debug",
63
+ "z": "tab-access-door-control",
64
+ "name": "Door State",
65
+ "active": true,
66
+ "tosidebar": true,
67
+ "console": false,
68
+ "tostatus": false,
69
+ "complete": "true",
70
+ "targetType": "full",
71
+ "x": 700,
72
+ "y": 120,
73
+ "wires": []
74
+ },
75
+ {
76
+ "id": "debug-access-door-events",
77
+ "type": "debug",
78
+ "z": "tab-access-door-control",
79
+ "name": "Door Events",
80
+ "active": true,
81
+ "tosidebar": true,
82
+ "console": false,
83
+ "tostatus": false,
84
+ "complete": "true",
85
+ "targetType": "full",
86
+ "x": 700,
87
+ "y": 160,
88
+ "wires": []
89
+ },
90
+ {
91
+ "id": "inject-access-door-unlock",
92
+ "type": "inject",
93
+ "z": "tab-access-door-control",
94
+ "name": "Unlock Door",
95
+ "props": [],
96
+ "repeat": "",
97
+ "crontab": "",
98
+ "once": false,
99
+ "onceDelay": 0.1,
100
+ "topic": "",
101
+ "x": 140,
102
+ "y": 240,
103
+ "wires": [
104
+ [
105
+ "node-access-door-unlock"
106
+ ]
107
+ ]
108
+ },
109
+ {
110
+ "id": "node-access-door-unlock",
111
+ "type": "unifi-access-device",
112
+ "z": "tab-access-door-control",
113
+ "name": "Unlock Door",
114
+ "server": "config-access-door-control",
115
+ "deviceType": "door",
116
+ "deviceId": "replace-with-door-id",
117
+ "capability": "unlockDoor",
118
+ "capabilityConfig": "{}",
119
+ "timeout": "15000",
120
+ "x": 410,
121
+ "y": 240,
122
+ "wires": [
123
+ [
124
+ "debug-access-door-unlock"
125
+ ],
126
+ []
127
+ ]
128
+ },
129
+ {
130
+ "id": "debug-access-door-unlock",
131
+ "type": "debug",
132
+ "z": "tab-access-door-control",
133
+ "name": "Unlock Response",
134
+ "active": true,
135
+ "tosidebar": true,
136
+ "console": false,
137
+ "tostatus": false,
138
+ "complete": "true",
139
+ "targetType": "full",
140
+ "x": 700,
141
+ "y": 240,
142
+ "wires": []
143
+ },
144
+ {
145
+ "id": "inject-access-door-lock-rule",
146
+ "type": "inject",
147
+ "z": "tab-access-door-control",
148
+ "name": "Set Temporary Lock Rule",
149
+ "props": [],
150
+ "repeat": "",
151
+ "crontab": "",
152
+ "once": false,
153
+ "onceDelay": 0.1,
154
+ "topic": "",
155
+ "x": 180,
156
+ "y": 320,
157
+ "wires": [
158
+ [
159
+ "node-access-door-lock-rule"
160
+ ]
161
+ ]
162
+ },
163
+ {
164
+ "id": "node-access-door-lock-rule",
165
+ "type": "unifi-access-device",
166
+ "z": "tab-access-door-control",
167
+ "name": "Keep Unlocked Until Timestamp",
168
+ "server": "config-access-door-control",
169
+ "deviceType": "door",
170
+ "deviceId": "replace-with-door-id",
171
+ "capability": "setTemporaryLockRule",
172
+ "capabilityConfig": "{\"type\":\"custom\",\"ended_time\":\"1775200000\"}",
173
+ "timeout": "15000",
174
+ "x": 460,
175
+ "y": 320,
176
+ "wires": [
177
+ [
178
+ "debug-access-door-lock-rule"
179
+ ],
180
+ []
181
+ ]
182
+ },
183
+ {
184
+ "id": "debug-access-door-lock-rule",
185
+ "type": "debug",
186
+ "z": "tab-access-door-control",
187
+ "name": "Lock Rule Response",
188
+ "active": true,
189
+ "tosidebar": true,
190
+ "console": false,
191
+ "tostatus": false,
192
+ "complete": "true",
193
+ "targetType": "full",
194
+ "x": 740,
195
+ "y": 320,
196
+ "wires": []
197
+ },
198
+ {
199
+ "id": "config-access-door-control",
200
+ "type": "unifi-access-config",
201
+ "name": "My Access",
202
+ "host": "192.168.1.20",
203
+ "rejectUnauthorized": false
204
+ }
205
+ ]
@@ -0,0 +1,205 @@
1
+ [
2
+ {
3
+ "id": "tab-access-intercom-doorbell",
4
+ "type": "tab",
5
+ "label": "UniFi Access Intercom Doorbell",
6
+ "disabled": false,
7
+ "info": ""
8
+ },
9
+ {
10
+ "id": "comment-access-intercom-doorbell",
11
+ "type": "comment",
12
+ "z": "tab-access-intercom-doorbell",
13
+ "name": "Setup",
14
+ "info": "Replace the Access host, API token, and intercom id before deploying.\nRoom Name is manual. Cancel Doorbell uses the shared safe-cancel tracking from the Access config node.",
15
+ "x": 300,
16
+ "y": 60,
17
+ "wires": []
18
+ },
19
+ {
20
+ "id": "inject-access-intercom-observe",
21
+ "type": "inject",
22
+ "z": "tab-access-intercom-doorbell",
23
+ "name": "Start Observe",
24
+ "props": [],
25
+ "repeat": "",
26
+ "crontab": "",
27
+ "once": false,
28
+ "onceDelay": 0.1,
29
+ "topic": "",
30
+ "x": 150,
31
+ "y": 140,
32
+ "wires": [
33
+ [
34
+ "node-access-intercom-observe"
35
+ ]
36
+ ]
37
+ },
38
+ {
39
+ "id": "node-access-intercom-observe",
40
+ "type": "unifi-access-device",
41
+ "z": "tab-access-intercom-doorbell",
42
+ "name": "Observe Intercom",
43
+ "server": "config-access-intercom-doorbell",
44
+ "deviceType": "device",
45
+ "deviceId": "replace-with-intercom-id",
46
+ "capability": "observe",
47
+ "capabilityConfig": "{}",
48
+ "timeout": "15000",
49
+ "x": 430,
50
+ "y": 140,
51
+ "wires": [
52
+ [
53
+ "debug-access-intercom-state"
54
+ ],
55
+ [
56
+ "debug-access-intercom-events"
57
+ ]
58
+ ]
59
+ },
60
+ {
61
+ "id": "debug-access-intercom-state",
62
+ "type": "debug",
63
+ "z": "tab-access-intercom-doorbell",
64
+ "name": "Intercom State",
65
+ "active": true,
66
+ "tosidebar": true,
67
+ "console": false,
68
+ "tostatus": false,
69
+ "complete": "true",
70
+ "targetType": "full",
71
+ "x": 720,
72
+ "y": 120,
73
+ "wires": []
74
+ },
75
+ {
76
+ "id": "debug-access-intercom-events",
77
+ "type": "debug",
78
+ "z": "tab-access-intercom-doorbell",
79
+ "name": "Intercom Events",
80
+ "active": true,
81
+ "tosidebar": true,
82
+ "console": false,
83
+ "tostatus": false,
84
+ "complete": "true",
85
+ "targetType": "full",
86
+ "x": 720,
87
+ "y": 160,
88
+ "wires": []
89
+ },
90
+ {
91
+ "id": "inject-access-trigger-doorbell",
92
+ "type": "inject",
93
+ "z": "tab-access-intercom-doorbell",
94
+ "name": "Trigger Doorbell",
95
+ "props": [],
96
+ "repeat": "",
97
+ "crontab": "",
98
+ "once": false,
99
+ "onceDelay": 0.1,
100
+ "topic": "",
101
+ "x": 150,
102
+ "y": 240,
103
+ "wires": [
104
+ [
105
+ "node-access-trigger-doorbell"
106
+ ]
107
+ ]
108
+ },
109
+ {
110
+ "id": "node-access-trigger-doorbell",
111
+ "type": "unifi-access-device",
112
+ "z": "tab-access-intercom-doorbell",
113
+ "name": "Trigger Doorbell",
114
+ "server": "config-access-intercom-doorbell",
115
+ "deviceType": "device",
116
+ "deviceId": "replace-with-intercom-id",
117
+ "capability": "triggerDoorbell",
118
+ "capabilityConfig": "{\"room_name\":\"\"}",
119
+ "timeout": "15000",
120
+ "x": 430,
121
+ "y": 240,
122
+ "wires": [
123
+ [
124
+ "debug-access-trigger-doorbell"
125
+ ],
126
+ []
127
+ ]
128
+ },
129
+ {
130
+ "id": "debug-access-trigger-doorbell",
131
+ "type": "debug",
132
+ "z": "tab-access-intercom-doorbell",
133
+ "name": "Trigger Response",
134
+ "active": true,
135
+ "tosidebar": true,
136
+ "console": false,
137
+ "tostatus": false,
138
+ "complete": "true",
139
+ "targetType": "full",
140
+ "x": 720,
141
+ "y": 240,
142
+ "wires": []
143
+ },
144
+ {
145
+ "id": "inject-access-cancel-doorbell",
146
+ "type": "inject",
147
+ "z": "tab-access-intercom-doorbell",
148
+ "name": "Cancel Doorbell",
149
+ "props": [],
150
+ "repeat": "",
151
+ "crontab": "",
152
+ "once": false,
153
+ "onceDelay": 0.1,
154
+ "topic": "",
155
+ "x": 150,
156
+ "y": 320,
157
+ "wires": [
158
+ [
159
+ "node-access-cancel-doorbell"
160
+ ]
161
+ ]
162
+ },
163
+ {
164
+ "id": "node-access-cancel-doorbell",
165
+ "type": "unifi-access-device",
166
+ "z": "tab-access-intercom-doorbell",
167
+ "name": "Cancel Doorbell",
168
+ "server": "config-access-intercom-doorbell",
169
+ "deviceType": "device",
170
+ "deviceId": "replace-with-intercom-id",
171
+ "capability": "cancelDoorbell",
172
+ "capabilityConfig": "{\"room_name\":\"\"}",
173
+ "timeout": "15000",
174
+ "x": 430,
175
+ "y": 320,
176
+ "wires": [
177
+ [
178
+ "debug-access-cancel-doorbell"
179
+ ],
180
+ []
181
+ ]
182
+ },
183
+ {
184
+ "id": "debug-access-cancel-doorbell",
185
+ "type": "debug",
186
+ "z": "tab-access-intercom-doorbell",
187
+ "name": "Cancel Response",
188
+ "active": true,
189
+ "tosidebar": true,
190
+ "console": false,
191
+ "tostatus": false,
192
+ "complete": "true",
193
+ "targetType": "full",
194
+ "x": 720,
195
+ "y": 320,
196
+ "wires": []
197
+ },
198
+ {
199
+ "id": "config-access-intercom-doorbell",
200
+ "type": "unifi-access-config",
201
+ "name": "My Access",
202
+ "host": "192.168.1.20",
203
+ "rejectUnauthorized": false
204
+ }
205
+ ]