node-red-contrib-homekit-bridged 2.0.0-dev.4 → 2.0.0-dev.7

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 (125) hide show
  1. package/build/lib/HAPHostNode.js +183 -141
  2. package/build/lib/HAPServiceNode.js +199 -172
  3. package/build/lib/HAPServiceNode2.js +207 -172
  4. package/build/lib/NRCHKBError.js +23 -2
  5. package/build/lib/PairingQRCode.js +62 -0
  6. package/build/lib/Storage.js +157 -92
  7. package/build/lib/api.js +654 -288
  8. package/build/lib/camera/CameraControl.js +125 -0
  9. package/build/lib/camera/CameraDelegate.js +507 -0
  10. package/build/lib/camera/MP4StreamingServer.js +159 -0
  11. package/build/lib/hap/HAPCharacteristic.js +25 -4
  12. package/build/lib/hap/HAPService.js +25 -4
  13. package/build/lib/hap/eve-app/EveCharacteristics.js +124 -81
  14. package/build/lib/hap/eve-app/EveServices.js +50 -17
  15. package/build/lib/hap/hap-nodejs.js +32 -0
  16. package/build/lib/migration/HomeKitService2Migration.js +34 -0
  17. package/build/lib/migration/NodeMigration.js +75 -0
  18. package/build/lib/types/AccessoryInformationType.js +15 -1
  19. package/build/lib/types/CameraConfigType.js +15 -1
  20. package/build/lib/types/CustomCharacteristicType.js +15 -1
  21. package/build/lib/types/HAPHostConfigType.js +15 -1
  22. package/build/lib/types/HAPHostNodeType.js +15 -1
  23. package/build/lib/types/HAPService2ConfigType.js +15 -1
  24. package/build/lib/types/HAPService2NodeType.js +15 -1
  25. package/build/lib/types/HAPServiceConfigType.js +15 -1
  26. package/build/lib/types/HAPServiceNodeType.js +15 -1
  27. package/build/lib/types/HAPStatusConfigType.js +15 -1
  28. package/build/lib/types/HAPStatusNodeType.js +15 -1
  29. package/build/lib/types/HostType.js +28 -7
  30. package/build/lib/types/NodeType.js +15 -1
  31. package/build/lib/types/PublishTimersType.js +15 -1
  32. package/build/lib/types/UniFiControllerConfigType.js +16 -0
  33. package/build/lib/types/hap-nodejs/HapAdaptiveLightingControllerMode.js +28 -7
  34. package/build/lib/types/hap-nodejs/HapCategories.js +64 -43
  35. package/build/lib/types/storage/SerializedHostType.js +15 -1
  36. package/build/lib/types/storage/StorageType.js +34 -10
  37. package/build/lib/unifi/ProtectDiscovery.js +80 -0
  38. package/build/lib/utils/AccessoryUtils.js +152 -110
  39. package/build/lib/utils/BridgeUtils.js +82 -39
  40. package/build/lib/utils/CharacteristicUtils.js +5 -49
  41. package/build/lib/utils/CharacteristicUtils2.js +5 -49
  42. package/build/lib/utils/CharacteristicUtilsBase.js +81 -0
  43. package/build/lib/utils/NodeStatusUtils.js +89 -40
  44. package/build/lib/utils/ServiceUtils.js +434 -373
  45. package/build/lib/utils/ServiceUtils2.js +514 -307
  46. package/build/lib/utils/index.js +10 -11
  47. package/build/nodes/bridge.html +184 -166
  48. package/build/nodes/bridge.js +27 -9
  49. package/build/nodes/locales/en-US/node-red-contrib-homekit-bridged.json +22 -0
  50. package/build/nodes/nrchkb.html +1601 -88
  51. package/build/nodes/nrchkb.js +66 -88
  52. package/build/nodes/plugin-instance.html +499 -0
  53. package/build/nodes/plugin-instance.js +46 -0
  54. package/build/nodes/service.html +517 -299
  55. package/build/nodes/service.js +5 -6
  56. package/build/nodes/service2.html +1683 -460
  57. package/build/nodes/service2.js +5 -8
  58. package/build/nodes/standalone.html +187 -174
  59. package/build/nodes/standalone.js +27 -9
  60. package/build/nodes/status.html +51 -18
  61. package/build/nodes/status.js +47 -40
  62. package/build/nodes/unifi-controller.html +92 -0
  63. package/build/nodes/unifi-controller.js +20 -0
  64. package/build/plugins/embedded/homebridge-camera-ffmpeg/index.js +479 -0
  65. package/build/plugins/embedded/homebridge-unifi-protect/index.js +521 -0
  66. package/build/plugins/embedded/index.js +58 -0
  67. package/build/plugins/nrchkb-homekit-plugins.js +17 -0
  68. package/build/plugins/registry/index.js +203 -0
  69. package/build/plugins/registry/types.js +16 -0
  70. package/build/scripts/migrate-homekit-service-flows.js +47 -0
  71. package/examples/demo/01 - ALL Demos single import.json +1885 -1885
  72. package/examples/demo/02 - Air Purifier.json +279 -279
  73. package/examples/demo/03 - Air Quality sensor with Battery.json +254 -254
  74. package/examples/demo/04 - Dimmable Bulb.json +172 -172
  75. package/examples/demo/05 - Color Bulb (HSV).json +195 -195
  76. package/examples/demo/06 - Fan (simple, 3 speeds).json +240 -240
  77. package/examples/demo/07 - Fan (with speed, oscillate, rotation direction).json +175 -175
  78. package/examples/demo/08 - CO2 detector.json +224 -224
  79. package/examples/demo/09 - CO (carbon monoxide) example.json +255 -255
  80. package/examples/demo/10 - Door window contact sensor.json +234 -234
  81. package/examples/demos (advanced)/01 - Television with inputs and speaker.json +541 -541
  82. package/examples/switch/01 - Plain Switch.json +178 -178
  83. package/package.json +95 -84
  84. package/build/lib/HAPHostNode.d.ts +0 -1
  85. package/build/lib/HAPServiceNode.d.ts +0 -1
  86. package/build/lib/HAPServiceNode2.d.ts +0 -1
  87. package/build/lib/NRCHKBError.d.ts +0 -3
  88. package/build/lib/Storage.d.ts +0 -30
  89. package/build/lib/api.d.ts +0 -1
  90. package/build/lib/hap/HAPCharacteristic.d.ts +0 -9
  91. package/build/lib/hap/HAPService.d.ts +0 -6
  92. package/build/lib/hap/eve-app/EveCharacteristics.d.ts +0 -20
  93. package/build/lib/hap/eve-app/EveServices.d.ts +0 -5
  94. package/build/lib/types/AccessoryInformationType.d.ts +0 -11
  95. package/build/lib/types/CameraConfigType.d.ts +0 -24
  96. package/build/lib/types/CustomCharacteristicType.d.ts +0 -6
  97. package/build/lib/types/HAPHostConfigType.d.ts +0 -22
  98. package/build/lib/types/HAPHostNodeType.d.ts +0 -14
  99. package/build/lib/types/HAPService2ConfigType.d.ts +0 -6
  100. package/build/lib/types/HAPService2NodeType.d.ts +0 -7
  101. package/build/lib/types/HAPServiceConfigType.d.ts +0 -26
  102. package/build/lib/types/HAPServiceNodeType.d.ts +0 -38
  103. package/build/lib/types/HAPStatusConfigType.d.ts +0 -5
  104. package/build/lib/types/HAPStatusNodeType.d.ts +0 -12
  105. package/build/lib/types/HostType.d.ts +0 -5
  106. package/build/lib/types/NodeType.d.ts +0 -3
  107. package/build/lib/types/PublishTimersType.d.ts +0 -4
  108. package/build/lib/types/hap-nodejs/HapAdaptiveLightingControllerMode.d.ts +0 -5
  109. package/build/lib/types/hap-nodejs/HapCategories.d.ts +0 -41
  110. package/build/lib/types/storage/SerializedHostType.d.ts +0 -5
  111. package/build/lib/types/storage/StorageType.d.ts +0 -8
  112. package/build/lib/utils/AccessoryUtils.d.ts +0 -1
  113. package/build/lib/utils/BridgeUtils.d.ts +0 -1
  114. package/build/lib/utils/CharacteristicUtils.d.ts +0 -1
  115. package/build/lib/utils/CharacteristicUtils2.d.ts +0 -1
  116. package/build/lib/utils/NodeStatusUtils.d.ts +0 -17
  117. package/build/lib/utils/ServiceUtils.d.ts +0 -1
  118. package/build/lib/utils/ServiceUtils2.d.ts +0 -1
  119. package/build/lib/utils/index.d.ts +0 -1
  120. package/build/nodes/bridge.d.ts +0 -1
  121. package/build/nodes/nrchkb.d.ts +0 -1
  122. package/build/nodes/service.d.ts +0 -1
  123. package/build/nodes/service2.d.ts +0 -1
  124. package/build/nodes/standalone.d.ts +0 -1
  125. package/build/nodes/status.d.ts +0 -1
@@ -1,237 +1,237 @@
1
1
  [
2
- {
3
- "id": "a875cc7.a4c42b",
4
- "type": "group",
5
- "z": "60b06629.a2ebd",
6
- "name": "Contact Sensor: input only sensor",
7
- "style": {
8
- "stroke": "#999999",
9
- "fill": "none",
10
- "label": true,
11
- "label-position": "nw",
12
- "color": "#a4a4a4"
2
+ {
3
+ "id": "a875cc7.a4c42b",
4
+ "type": "group",
5
+ "z": "60b06629.a2ebd",
6
+ "name": "Contact Sensor: input only sensor",
7
+ "style": {
8
+ "stroke": "#999999",
9
+ "fill": "none",
10
+ "label": true,
11
+ "label-position": "nw",
12
+ "color": "#a4a4a4"
13
+ },
14
+ "nodes": [
15
+ "a5194c26.18c628",
16
+ "2f9bc0d.42a73c",
17
+ "dfca0b2d.8b8e8",
18
+ "d74a610c.09a36",
19
+ "c15b6468.ae2eb8",
20
+ "6f7bc7fa.7f4f6",
21
+ "99b55eb3.e31bf8",
22
+ "508d9ccf.29e404"
23
+ ],
24
+ "x": 14,
25
+ "y": 1359,
26
+ "w": 752,
27
+ "h": 242,
28
+ "info": "# Contact Sensor\n\nThe contact sensor has one inject node to Open the sensor (door, window, etc). Once open, a ten second timer will run then set it back to closed.\n\nAdditional inputs are for \"No Response\", \"Tampered\", and \"Battery\". Note that this battery will not show a battery level but only a good/low battery status."
13
29
  },
14
- "nodes": [
15
- "a5194c26.18c628",
16
- "2f9bc0d.42a73c",
17
- "dfca0b2d.8b8e8",
18
- "d74a610c.09a36",
19
- "c15b6468.ae2eb8",
20
- "6f7bc7fa.7f4f6",
21
- "99b55eb3.e31bf8",
22
- "508d9ccf.29e404"
23
- ],
24
- "x": 14,
25
- "y": 1359,
26
- "w": 752,
27
- "h": 242,
28
- "info": "# Contact Sensor\n\nThe contact sensor has one inject node to Open the sensor (door, window, etc). Once open, a ten second timer will run then set it back to closed.\n\nAdditional inputs are for \"No Response\", \"Tampered\", and \"Battery\". Note that this battery will not show a battery level but only a good/low battery status."
29
- },
30
- {
31
- "id": "a5194c26.18c628",
32
- "type": "homekit-service",
33
- "z": "60b06629.a2ebd",
34
- "g": "a875cc7.a4c42b",
35
- "isParent": true,
36
- "bridge": "409001a1.3e7a78",
37
- "parentService": "",
38
- "name": "Contact Sensor",
39
- "serviceName": "ContactSensor",
40
- "topic": "",
41
- "filter": false,
42
- "manufacturer": "Full Contact",
43
- "model": "Door",
44
- "serialNo": "Sensor",
45
- "firmwareRev": "1.0.0",
46
- "hardwareRev": "1.0.0",
47
- "softwareRev": "1.0.0",
48
- "cameraConfigVideoProcessor": "ffmpeg",
49
- "cameraConfigSource": "",
50
- "cameraConfigStillImageSource": "",
51
- "cameraConfigMaxStreams": 2,
52
- "cameraConfigMaxWidth": 1280,
53
- "cameraConfigMaxHeight": 720,
54
- "cameraConfigMaxFPS": 10,
55
- "cameraConfigMaxBitrate": 300,
56
- "cameraConfigVideoCodec": "libx264",
57
- "cameraConfigAudioCodec": "libfdk_aac",
58
- "cameraConfigAudio": false,
59
- "cameraConfigPacketSize": 1316,
60
- "cameraConfigVerticalFlip": false,
61
- "cameraConfigHorizontalFlip": false,
62
- "cameraConfigMapVideo": "0:0",
63
- "cameraConfigMapAudio": "0:1",
64
- "cameraConfigVideoFilter": "scale=1280:720",
65
- "cameraConfigAdditionalCommandLine": "-tune zerolatency",
66
- "cameraConfigDebug": false,
67
- "cameraConfigSnapshotOutput": "disabled",
68
- "cameraConfigInterfaceName": "",
69
- "characteristicProperties": "{\n \"StatusTampered\":true,\n \"StatusLowBattery\":true\n}",
70
- "outputs": 2,
71
- "x": 660,
72
- "y": 1400,
73
- "wires": [[], []]
74
- },
75
- {
76
- "id": "2f9bc0d.42a73c",
77
- "type": "inject",
78
- "z": "60b06629.a2ebd",
79
- "g": "a875cc7.a4c42b",
80
- "name": "Tampered",
81
- "repeat": "",
82
- "crontab": "",
83
- "once": false,
84
- "onceDelay": 0.1,
85
- "topic": "",
86
- "payload": "{\"StatusTampered\":1}",
87
- "payloadType": "json",
88
- "x": 120,
89
- "y": 1520,
90
- "wires": [["a5194c26.18c628"]]
91
- },
92
- {
93
- "id": "dfca0b2d.8b8e8",
94
- "type": "inject",
95
- "z": "60b06629.a2ebd",
96
- "g": "a875cc7.a4c42b",
97
- "name": "Clear tampered",
98
- "repeat": "",
99
- "crontab": "",
100
- "once": false,
101
- "onceDelay": 0.1,
102
- "topic": "",
103
- "payload": "{\"StatusTampered\":0}",
104
- "payloadType": "json",
105
- "x": 140,
106
- "y": 1560,
107
- "wires": [["a5194c26.18c628"]]
108
- },
109
- {
110
- "id": "d74a610c.09a36",
111
- "type": "inject",
112
- "z": "60b06629.a2ebd",
113
- "g": "a875cc7.a4c42b",
114
- "name": "Low batt",
115
- "repeat": "",
116
- "crontab": "",
117
- "once": false,
118
- "onceDelay": 0.1,
119
- "topic": "",
120
- "payload": "{\"StatusLowBattery\":1}",
121
- "payloadType": "json",
122
- "x": 480,
123
- "y": 1520,
124
- "wires": [["a5194c26.18c628"]]
125
- },
126
- {
127
- "id": "c15b6468.ae2eb8",
128
- "type": "inject",
129
- "z": "60b06629.a2ebd",
130
- "g": "a875cc7.a4c42b",
131
- "name": "Good batt",
132
- "repeat": "",
133
- "crontab": "",
134
- "once": false,
135
- "onceDelay": 0.1,
136
- "topic": "",
137
- "payload": "{\"StatusLowBattery\":0}",
138
- "payloadType": "json",
139
- "x": 480,
140
- "y": 1560,
141
- "wires": [["a5194c26.18c628"]]
142
- },
143
- {
144
- "id": "6f7bc7fa.7f4f6",
145
- "type": "inject",
146
- "z": "60b06629.a2ebd",
147
- "g": "a875cc7.a4c42b",
148
- "name": "NO RESPONSE",
149
- "props": [
150
- {
151
- "p": "payload"
152
- },
153
- {
154
- "p": "topic",
155
- "vt": "str"
156
- }
157
- ],
158
- "repeat": "",
159
- "crontab": "",
160
- "once": false,
161
- "onceDelay": 0.1,
162
- "topic": "",
163
- "payload": "{\"ContactSensorState\":\"NO_RESPONSE\"}",
164
- "payloadType": "json",
165
- "x": 140,
166
- "y": 1460,
167
- "wires": [["a5194c26.18c628"]]
168
- },
169
- {
170
- "id": "99b55eb3.e31bf8",
171
- "type": "trigger",
172
- "z": "60b06629.a2ebd",
173
- "g": "a875cc7.a4c42b",
174
- "name": "10 Sec open",
175
- "op1": "",
176
- "op2": "{\"ContactSensorState\":0}",
177
- "op1type": "pay",
178
- "op2type": "json",
179
- "duration": "10",
180
- "extend": false,
181
- "units": "s",
182
- "reset": "",
183
- "bytopic": "all",
184
- "topic": "topic",
185
- "outputs": 1,
186
- "x": 350,
187
- "y": 1400,
188
- "wires": [["a5194c26.18c628"]]
189
- },
190
- {
191
- "id": "508d9ccf.29e404",
192
- "type": "inject",
193
- "z": "60b06629.a2ebd",
194
- "g": "a875cc7.a4c42b",
195
- "name": "Open",
196
- "props": [
197
- {
198
- "p": "payload"
199
- },
200
- {
201
- "p": "topic",
202
- "vt": "str"
203
- }
204
- ],
205
- "repeat": "",
206
- "crontab": "",
207
- "once": false,
208
- "onceDelay": "1",
209
- "topic": "",
210
- "payload": "{\"ContactSensorState\":1}",
211
- "payloadType": "json",
212
- "x": 110,
213
- "y": 1400,
214
- "wires": [["99b55eb3.e31bf8"]]
215
- },
216
- {
217
- "id": "409001a1.3e7a78",
218
- "type": "homekit-bridge",
219
- "z": "",
220
- "bridgeName": "Demo 1",
221
- "pinCode": "153-10-538",
222
- "port": "",
223
- "allowInsecureRequest": false,
224
- "manufacturer": "NRCHKB",
225
- "model": "Demo",
226
- "serialNo": "1.1.2",
227
- "customMdnsConfig": false,
228
- "mdnsMulticast": true,
229
- "mdnsInterface": "",
230
- "mdnsPort": "",
231
- "mdnsIp": "",
232
- "mdnsTtl": "",
233
- "mdnsLoopback": true,
234
- "mdnsReuseAddr": true,
235
- "allowMessagePassthrough": true
236
- }
30
+ {
31
+ "id": "a5194c26.18c628",
32
+ "type": "homekit-service",
33
+ "z": "60b06629.a2ebd",
34
+ "g": "a875cc7.a4c42b",
35
+ "isParent": true,
36
+ "bridge": "409001a1.3e7a78",
37
+ "parentService": "",
38
+ "name": "Contact Sensor",
39
+ "serviceName": "ContactSensor",
40
+ "topic": "",
41
+ "filter": false,
42
+ "manufacturer": "Full Contact",
43
+ "model": "Door",
44
+ "serialNo": "Sensor",
45
+ "firmwareRev": "1.0.0",
46
+ "hardwareRev": "1.0.0",
47
+ "softwareRev": "1.0.0",
48
+ "cameraConfigVideoProcessor": "ffmpeg",
49
+ "cameraConfigSource": "",
50
+ "cameraConfigStillImageSource": "",
51
+ "cameraConfigMaxStreams": 2,
52
+ "cameraConfigMaxWidth": 1280,
53
+ "cameraConfigMaxHeight": 720,
54
+ "cameraConfigMaxFPS": 10,
55
+ "cameraConfigMaxBitrate": 300,
56
+ "cameraConfigVideoCodec": "libx264",
57
+ "cameraConfigAudioCodec": "libfdk_aac",
58
+ "cameraConfigAudio": false,
59
+ "cameraConfigPacketSize": 1316,
60
+ "cameraConfigVerticalFlip": false,
61
+ "cameraConfigHorizontalFlip": false,
62
+ "cameraConfigMapVideo": "0:0",
63
+ "cameraConfigMapAudio": "0:1",
64
+ "cameraConfigVideoFilter": "scale=1280:720",
65
+ "cameraConfigAdditionalCommandLine": "-tune zerolatency",
66
+ "cameraConfigDebug": false,
67
+ "cameraConfigSnapshotOutput": "disabled",
68
+ "cameraConfigInterfaceName": "",
69
+ "characteristicProperties": "{\n \"StatusTampered\":true,\n \"StatusLowBattery\":true\n}",
70
+ "outputs": 2,
71
+ "x": 660,
72
+ "y": 1400,
73
+ "wires": [[], []]
74
+ },
75
+ {
76
+ "id": "2f9bc0d.42a73c",
77
+ "type": "inject",
78
+ "z": "60b06629.a2ebd",
79
+ "g": "a875cc7.a4c42b",
80
+ "name": "Tampered",
81
+ "repeat": "",
82
+ "crontab": "",
83
+ "once": false,
84
+ "onceDelay": 0.1,
85
+ "topic": "",
86
+ "payload": "{\"StatusTampered\":1}",
87
+ "payloadType": "json",
88
+ "x": 120,
89
+ "y": 1520,
90
+ "wires": [["a5194c26.18c628"]]
91
+ },
92
+ {
93
+ "id": "dfca0b2d.8b8e8",
94
+ "type": "inject",
95
+ "z": "60b06629.a2ebd",
96
+ "g": "a875cc7.a4c42b",
97
+ "name": "Clear tampered",
98
+ "repeat": "",
99
+ "crontab": "",
100
+ "once": false,
101
+ "onceDelay": 0.1,
102
+ "topic": "",
103
+ "payload": "{\"StatusTampered\":0}",
104
+ "payloadType": "json",
105
+ "x": 140,
106
+ "y": 1560,
107
+ "wires": [["a5194c26.18c628"]]
108
+ },
109
+ {
110
+ "id": "d74a610c.09a36",
111
+ "type": "inject",
112
+ "z": "60b06629.a2ebd",
113
+ "g": "a875cc7.a4c42b",
114
+ "name": "Low batt",
115
+ "repeat": "",
116
+ "crontab": "",
117
+ "once": false,
118
+ "onceDelay": 0.1,
119
+ "topic": "",
120
+ "payload": "{\"StatusLowBattery\":1}",
121
+ "payloadType": "json",
122
+ "x": 480,
123
+ "y": 1520,
124
+ "wires": [["a5194c26.18c628"]]
125
+ },
126
+ {
127
+ "id": "c15b6468.ae2eb8",
128
+ "type": "inject",
129
+ "z": "60b06629.a2ebd",
130
+ "g": "a875cc7.a4c42b",
131
+ "name": "Good batt",
132
+ "repeat": "",
133
+ "crontab": "",
134
+ "once": false,
135
+ "onceDelay": 0.1,
136
+ "topic": "",
137
+ "payload": "{\"StatusLowBattery\":0}",
138
+ "payloadType": "json",
139
+ "x": 480,
140
+ "y": 1560,
141
+ "wires": [["a5194c26.18c628"]]
142
+ },
143
+ {
144
+ "id": "6f7bc7fa.7f4f6",
145
+ "type": "inject",
146
+ "z": "60b06629.a2ebd",
147
+ "g": "a875cc7.a4c42b",
148
+ "name": "NO RESPONSE",
149
+ "props": [
150
+ {
151
+ "p": "payload"
152
+ },
153
+ {
154
+ "p": "topic",
155
+ "vt": "str"
156
+ }
157
+ ],
158
+ "repeat": "",
159
+ "crontab": "",
160
+ "once": false,
161
+ "onceDelay": 0.1,
162
+ "topic": "",
163
+ "payload": "{\"ContactSensorState\":\"NO_RESPONSE\"}",
164
+ "payloadType": "json",
165
+ "x": 140,
166
+ "y": 1460,
167
+ "wires": [["a5194c26.18c628"]]
168
+ },
169
+ {
170
+ "id": "99b55eb3.e31bf8",
171
+ "type": "trigger",
172
+ "z": "60b06629.a2ebd",
173
+ "g": "a875cc7.a4c42b",
174
+ "name": "10 Sec open",
175
+ "op1": "",
176
+ "op2": "{\"ContactSensorState\":0}",
177
+ "op1type": "pay",
178
+ "op2type": "json",
179
+ "duration": "10",
180
+ "extend": false,
181
+ "units": "s",
182
+ "reset": "",
183
+ "bytopic": "all",
184
+ "topic": "topic",
185
+ "outputs": 1,
186
+ "x": 350,
187
+ "y": 1400,
188
+ "wires": [["a5194c26.18c628"]]
189
+ },
190
+ {
191
+ "id": "508d9ccf.29e404",
192
+ "type": "inject",
193
+ "z": "60b06629.a2ebd",
194
+ "g": "a875cc7.a4c42b",
195
+ "name": "Open",
196
+ "props": [
197
+ {
198
+ "p": "payload"
199
+ },
200
+ {
201
+ "p": "topic",
202
+ "vt": "str"
203
+ }
204
+ ],
205
+ "repeat": "",
206
+ "crontab": "",
207
+ "once": false,
208
+ "onceDelay": "1",
209
+ "topic": "",
210
+ "payload": "{\"ContactSensorState\":1}",
211
+ "payloadType": "json",
212
+ "x": 110,
213
+ "y": 1400,
214
+ "wires": [["99b55eb3.e31bf8"]]
215
+ },
216
+ {
217
+ "id": "409001a1.3e7a78",
218
+ "type": "homekit-bridge",
219
+ "z": "",
220
+ "bridgeName": "Demo 1",
221
+ "pinCode": "153-10-538",
222
+ "port": "",
223
+ "allowInsecureRequest": false,
224
+ "manufacturer": "NRCHKB",
225
+ "model": "Demo",
226
+ "serialNo": "1.1.2",
227
+ "customMdnsConfig": false,
228
+ "mdnsMulticast": true,
229
+ "mdnsInterface": "",
230
+ "mdnsPort": "",
231
+ "mdnsIp": "",
232
+ "mdnsTtl": "",
233
+ "mdnsLoopback": true,
234
+ "mdnsReuseAddr": true,
235
+ "allowMessagePassthrough": true
236
+ }
237
237
  ]