# Homey kit won't be added by code

**URL:** <https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295>\
**Category:** Questions & Help\
**Created:** [May 3, 2020, 12:58pm UTC](https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295 "2020-05-03T12:58:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Purky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/purky/32/24727_2.png) [@Purky](https://community.homey.app/u/Purky)\
**Post date:** [May 3, 2020, 12:58pm UTC](https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295/1 "2020-05-03T12:58:58Z")

</div>

Hi today I started using my Homey Pro

I tried to install homeykit and link it with homekit,  
Sadly when I entered the code 200 20 200 it just keeps spinning around and nothing happens.

I restarted the homey, phone, homey app, homeykit app, reinstalled the homeykit app, used the homeykit reset button but nothing made it work so far.

---

<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:** [May 3, 2020, 1:05pm UTC](https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295/2 "2020-05-03T13:05:49Z")

</div>

Make sure Homey and your phone are on the same local network. If you use a WiFi mesh network, try and see if you can place both devices on the same mesh point.

Home(y)Kit works using multicast networking, and your network needs to allow this (which is usually the case, but using separate VLAN’s or something similar may cause issues).

---

<div class="post-metadata">

**Author:** ![Purky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/purky/32/24727_2.png) [@Purky](https://community.homey.app/u/Purky)\
**Post date:** [May 3, 2020, 1:17pm UTC](https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295/3 "2020-05-03T13:17:26Z")

</div>

Hi Robert,

Thx for the quick reaction. I do use multiple VLANS im going to have a look into it. thx for the info.

---

<div class="post-metadata">

**Author:** ![Purky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/purky/32/24727_2.png) [@Purky](https://community.homey.app/u/Purky)\
**Post date:** [May 3, 2020, 1:21pm UTC](https://community.homey.app/t/homey-kit-wont-be-added-by-code/29295/4 "2020-05-03T13:21:18Z")

</div>

I do can ping the homey from my phone so the VLAN’s are connected to each other.

I just enabled Multicast and now it works 🙂
