This flow demonstrates basic interaction between Node-RED and HomeKit.
The contained Flow consists of a HomeKit Garage-Service node, two UI Switch nodes that represent the garage's closed and locked state and a UI Notification node, that displays opening/closing commands.
In this example the HomeKit node is paired with the displayed iPhone. So when the user asks to open or close her garage in the iOS Home App the new state is being propagated to the UI Notification node in Node-RED.
Siri voice control is also supported without further setup required. Just ask Siri to "open the garage".