# Zigbee: size limitations

**URL:** <https://community.homey.app/t/zigbee-size-limitations/48587>\
**Category:** Questions & Help\
**Tags:** zigbee\
**Created:** [June 19, 2021, 1:19pm UTC](https://community.homey.app/t/zigbee-size-limitations/48587 "2021-06-19T13:19:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ezdada](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ezdada/32/3843_2.png) [@Ezdada](https://community.homey.app/u/Ezdada)\
**Post date:** [June 19, 2021, 1:19pm UTC](https://community.homey.app/t/zigbee-size-limitations/48587/1 "2021-06-19T13:19:18Z")

</div>

Dear community  
After encountering different zigbee issues (even repair @factory )I have been advised by Homey to limit the number of zigbee devices in my network at 30 to 40.

Currently I have 52 zigbee devices:

- xiaomi switches (wired)
- tradfri lightbulbs and GU10 spots
- trafdri on/of socket
- xiaomi sensors (motion, humidity, contact, cube, wireless switches).

The advice I’ve been given is to use an intermediate gateways such as from ikea.

How do you suggest me to proceed?  
I want to control my lights through flows  
I want to keep on using my sensors to trigger flows

(and yes, I’ve read [Homey Zigbee - limit of 20 battery powered devices - #50 by robertklep](https://community.homey.app/t/homey-zigbee-limit-of-20-battery-powered-devices/14232/50) but this doesn’t seem to provide the anwser)

---

<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:** [June 19, 2021, 2:20pm UTC](https://community.homey.app/t/zigbee-size-limitations/48587/2 "2021-06-19T14:20:25Z")

</div>

Add a gateway to Homey (like Ikea, Connexoon, Plugwise Adam, Xiaomi or Hue). These gateway create their own ZigBee mesh. They show the connected devices to Homey _via_ the gateway.

The logic comes from Homey with the flows you make.

---

<div class="post-metadata">

**Author:** ![Ezdada](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ezdada/32/3843_2.png) [@Ezdada](https://community.homey.app/u/Ezdada)\
**Post date:** [June 19, 2021, 2:42pm UTC](https://community.homey.app/t/zigbee-size-limitations/48587/3 "2021-06-19T14:42:03Z")

</div>

@Eternity how do I do that? e.g. I have a Xiaomi gateway, but haven’t incorporated this into my homey network (given that I they aren’t plug n play)

---

<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:** [June 19, 2021, 2:47pm UTC](https://community.homey.app/t/zigbee-size-limitations/48587/4 "2021-06-19T14:47:41Z")

</div>

Not all Xiaomi gateway work. In the Homey app store you can find two Mi Apps (Mi Home and Mi Homey) . You add the gateway with the ip / token / Mac / password.

 ![Screenshot_2021-06-19-16-49-36-471_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7e8f1cd74ae6bc6957e19c6c907ea2d6013898d.jpeg)

Here you see aqara devices in Homey via the gateway

And here via the second App:

 ![Screenshot_2021-06-19-16-52-36-546_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a534ea662e3dc429986b0c05d21a55e41ec7ab21.jpeg)
