# HomeKit not working with iOS 16.2

**URL:** <https://community.homey.app/t/homekit-not-working-with-ios-16-2/71196>\
**Category:** Apps\
**Created:** [October 25, 2022, 10:15pm UTC](https://community.homey.app/t/homekit-not-working-with-ios-16-2/71196 "2022-10-25T22:15:18Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 28, 2022, 6:25am UTC](https://community.homey.app/t/homekit-not-working-with-ios-16-2/71196/18 "2022-10-28T06:25:03Z")

</div>

I pushed a branch containing the latest version of `hap-nodejs`.

To install this, first make sure that you have the correct setup to install Homey app using the command line: [[HOW TO] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198)

Then:

- download the code for the branch: [https://github.com/swttt/com.swttt.homekit/archive/refs/heads/hap-nodejs-update.zip](https://github.com/swttt/com.swttt.homekit/archive/refs/heads/hap-nodejs-update.zip)
- unpack the ZIP file
- open a terminal window and change directory to the `com.swttt.homekit-hap-nodejs-update/` directory that was in the ZIP file
- run the following command to install app dependencies:  
`npm install`
- run the app:  
`homey app run`

Keep the terminal window open as long as the app should run. It will probably output a lot of text and hopefully not crash (if it does, please post the text of the terminal console either here or [on Github](https://github.com/swttt/com.swttt.homekit/issues/242)).

It may be required to reset the app, which you can do from the App Settings (either in the Homey app or through [the developer page](https://tools.developer.homey.app/tools/app-settings)). After you’ve reset the app, stop it (by pressing Ctrl-C) and start it again.

---

_[View the full topic](https://community.homey.app/t/homekit-not-working-with-ios-16-2/71196)._
