# Impossible to add my Xiaomi gateway v3

**URL:** <https://community.homey.app/t/impossible-to-add-my-xiaomi-gateway-v3/34214>\
**Category:** Questions & Help\
**Created:** [August 31, 2020, 4:58pm UTC](https://community.homey.app/t/impossible-to-add-my-xiaomi-gateway-v3/34214 "2020-08-31T16:58:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [August 31, 2020, 7:35pm UTC](https://community.homey.app/t/impossible-to-add-my-xiaomi-gateway-v3/34214/4 "2020-08-31T19:35:43Z")

</div>

That is good news…

 ![IMG_20200831_213444](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/28d5dd58c5fc0950f9cb0474c6c41f532d0e29ef.jpeg)

> [@Mi Homey](https://community.homey.app/t/mi-homey/19816/155):
>
> I have been struggling to connect my Xiaomi Gateway to Homey. And failed… Om the Home Assistant forum I found the reason (my gateway’s MAC is mentioned…) Source: [https://www.home-assistant.io/integrations/xiaomi\_aqara](https://www.home-assistant.io/integrations/xiaomi_aqara) If your gateway’s MAC address starts with 04:CF:8C or 7C:49:EB , there is a good chance that the required port 9898 is closed on your gateway (you can check it with the Nmap utility, using the command sudo nmap -sU {gateway\_ip} -p 9898 ). To fix that issue, you need to do …

---

_[View the full topic](https://community.homey.app/t/impossible-to-add-my-xiaomi-gateway-v3/34214)._
