# How to configure the coordinator of Digi Xbee3 Zigbee3.0 for connecting ZHA(Home automation) compliant lighting devices

**URL:** <https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264>\
**Category:** XBee - Zigbee\
**Tags:** xbee3\
**Created:** [October 26, 2022, 9:24am UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264 "2022-10-26T09:24:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahsan69](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@ahsan69](https://forums.digi.com/u/ahsan69)\
**Post date:** [October 26, 2022, 9:24am UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/1 "2022-10-26T09:24:37Z")

</div>

I have a Digi Xbee3USB (‘Product family’: XB3-24, ‘Function Set’: Digi Xbee3 Zigbee 3.0, Firmware: 1010 (newest)). I want to discover/control Zigbee Endpoint device (for example IKEA Tradfri LED E14 470lm/IKEA Tradfri Plug) using this USB module as Coordinator. I have set the Digi USB module (AP: 1, CE: 1). But Endpoint devices cannot be connected when the reset button is pressed in end device. Also XCTU Network scan cannot find any device. I need to know the MAC address (64 bit address) of the end device. Also tried the Python code to get remote devices. But without success.

Please let me know the Coordinator setup and the process of finding/connecting to Zigbee end devices.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 26, 2022, 1:36pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/2 "2022-10-26T13:36:59Z")

</div>

Set ZS to 2 and AO to E. That should allow you to see the request packets. You may also need to set the KY, NK, EO and EE commands.

---

<div class="post-metadata">

**Author:** ![ahsan69](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@ahsan69](https://forums.digi.com/u/ahsan69)\
**Post date:** [October 27, 2022, 8:21am UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/3 "2022-10-27T08:21:13Z")

</div>

Thanks a lot. I tried to setup the Xbee3USB module in Home Assistant with ZHA ([https://www.home-assistant.io/integrations/zha/](https://www.home-assistant.io/integrations/zha/)) as Coordinator. It works fine there and can discover/connect all the devices (in pairing mode). Now when I use the module in XCTU, I see that some settings changed matching your suggestion. Scanning for remote devices and AT commands in XCTU works fine with the Endpoint devices I have.

---

<div class="post-metadata">

**Author:** ![developerFCSA](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@developerFCSA](https://forums.digi.com/u/developerFCSA)\
**Post date:** [September 6, 2023, 1:39pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/4 "2023-09-06T13:39:07Z")

</div>

I am facing the same issue. The coordiantor is Xbee3 and I have set the above paramaters. I am attempting to add a motion sensor and a sonoff temp humidity sensor, both Zigbee 3.0. The Scanning is not showing any remote Zigbee module.  
I have set  
ZS to 2  
AO to E  
EE to 1  
EO and KY. But nothing is showing up. Need help.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 7, 2023, 3:11pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/5 "2023-09-07T15:11:00Z")

</div>

DeveloperFCSA, have either of the devices Associated to your Coordinator?

Did you get any ZDO API frames out of the UART asking for the device to be allowed to Join?

---

<div class="post-metadata">

**Author:** ![developerFCSA](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@developerFCSA](https://forums.digi.com/u/developerFCSA)\
**Post date:** [September 7, 2023, 6:10pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/6 "2023-09-07T18:10:27Z")

</div>

None of the devices are joining the coordinator or the Console logs are not showing any zdo frames. In fact the only frames I can see are the broadcast frame sent by the coordinator and then 3 modem frames that get received. One is channel error 8A, next is Coordinator started and last is node join started. So these 4 frames keep repeating every scan cycle.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [September 7, 2023, 6:25pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/7 "2023-09-07T18:25:19Z")

</div>

Then I would suggest making sure that NJ is FF and issue a network reset (ATNR1), Then look at the ZDO messages.

---

<div class="post-metadata">

**Author:** ![developerFCSA](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@developerFCSA](https://forums.digi.com/u/developerFCSA)\
**Post date:** [September 8, 2023, 3:12am UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/8 "2023-09-08T03:12:25Z")

</div>

> [@developerFCSA](#):
>
> have set  
> ZS to 2  
> AO to E  
> EE to 1  
> EO and KY.

Are these setting above and rest of them to be default ok for lets say a sonoff sensor to join?

The NJ setting I have tried with FF as well as FE. Same result.

Now only question is of EO and KY setting. EO to 2 and KY the default Zigbee Alliance Key is the right setting or Sonofff and Tuya and other OEMs set their own keys?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [January 31, 2024, 12:14pm UTC](https://forums.digi.com/t/how-to-configure-the-coordinator-of-digi-xbee3-zigbee3-0-for-connecting-zha-home-automation-compliant-lighting-devices/23264/9 "2024-01-31T12:14:59Z")

</div>

Yes, the rest of the settings can be at defaults.

Yes, the EO 0f 2 is correct. As for the KY, that is dependent on the other carriers on if they are following the specification or not. If they are following the specification, then the standard KY value. Otherwise you would need to check with them.
