# Anyone experienced with controlling native HomeKit devices (not emulating HK Devices) via node-red

**URL:** https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246
**Category:** General
**Created:** [24 May 2025 06:43 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246 "2025-05-24T06:43:28Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mac89muc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mac89muc/32/100322_2.png) [@mac89muc](https://discourse.nodered.org/u/mac89muc)
#### Post date: [24 May 2025 06:43 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/1 "2025-05-24T06:43:28Z")

</div>

Hello,

I'm trying to control native HomeKit Devices with node-red with the [node-red-hap-controller](https://flows.nodered.org/node/@friendsincode/node-red-hap-controller).

Just to clarify my case I'm not trying to emulate HomeKit devices to bring them to the home app - for that use case I'm using [Homekit Bridged](https://node-red-contrib-homekit-bridged)

My Question is affecting the opposite case - pairing native HomeKit Devices with node-red and controlling them.  
Pairing of the Devices via HomeKit Code is done - but I've no clue how to control the devices with payloads. The GitHub site isn't delivering examples so I'm a bit lost and confused (I know it's beta).

Ive openend an issue on the GitHub site with that question, but it seems that there's no reaction concerning other open issues that are more than 2 years old.

Maybe someone has a hint or is experienced with that node or has a alternative approach to control native HomeKit devices via node-red.

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [24 May 2025 06:53 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/2 "2025-05-24T06:53:39Z")

</div>

Hi @mac89muc

I would recommend using some other API offered by those devices.  
With that said however, this node you're using, is using the below Library.

> **[GitHub - Apollon77/hap-controller-node: Node.js library to implement a HAP (HomeKit)...](https://github.com/Apollon77/hap-controller-node)**
>
> Node.js library to implement a HAP (HomeKit) controller

So look at the examples, and it may lead you to the correct payloads,

Look at the section **Get/Set Characteristics**

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [24 May 2025 08:00 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/3 "2025-05-24T08:00:37Z")

</div>

As far as i know, you cannot control 'native' homekit devices, because they are not being exposed to a public/homekit API, which is why you need something in between that allows for this control, ie. homebridge, homeassistant, a hap controller. The devices are 'created' on those proxy programs, which in turn you can control, because they are publicly exposed.

In homebridge there is a dummy switch that can be used as a 'conduit' to trigger native devices for this reason (if dummy is on then turn native device on)

I use homebridge-mqtt which is a homebridge plugin and i can create devices on the fly using mqtt.  
~~I don't think the node-red hap controller plugin is fully functional to actually 'pair' a native device, that would quite a task.~~ looks like they have implemented the pairing. checking the code a bit more.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [24 May 2025 08:17 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/4 "2025-05-24T08:17:14Z")

</div>

Disclaimer, I own zero apple kit and know almost nothing about apple devices or the ecosystem but I am fairly certain that `matter` can be used for integration.

You could try using [node-red-matter-controller (node) - Node-RED](https://flows.nodered.org/node/@sammachin/node-red-matter-controller)

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [24 May 2025 08:19 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/5 "2025-05-24T08:19:47Z")

</div>

Many homekit devices don't support matter/thread, it is getting better with newer devices, but older devices don't.

---

<div class="post-metadata">

### Author: ![mac89muc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mac89muc/32/100322_2.png) [@mac89muc](https://discourse.nodered.org/u/mac89muc)
#### Post date: [12 June 2025 08:38 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/6 "2025-06-12T08:38:35Z")

</div>

unfortunately the device which I want to control aren't matter compatible.

---

<div class="post-metadata">

### Author: ![mac89muc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mac89muc/32/100322_2.png) [@mac89muc](https://discourse.nodered.org/u/mac89muc)
#### Post date: [12 June 2025 08:45 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/7 "2025-06-12T08:45:34Z")

</div>

I moved from iobroker to node-red to control my smarthome devices. in those days with my iobroker setup the [iobroker hap controller](https://github.com/Apollon77/hap-controller-node) worked for me to control native HomeKit devices (they can only be paired to one controller) but that wasn't a problem for me because I've exposed them to HomeKit via [iobroker yahka adapter](https://github.com/jensweigele/ioBroker.yahka). Now I try to handle this via node red. @bakman2 did you find something more at the code of [node-red hap controller](https://flows.nodered.org/node/@friendsincode/node-red-hap-controller)? Unfortunately I'm not talented with coding.. 🥴

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [10 September 2025 08:45 UTC](https://discourse.nodered.org/t/anyone-experienced-with-controlling-native-homekit-devices-not-emulating-hk-devices-via-node-red/97246/8 "2025-09-10T08:45:42Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
