# xbee3-24 creating an end device

**URL:** <https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108>\
**Category:** XBee - Zigbee\
**Tags:** zha, xbee3, 0, 3, zigbee\
**Created:** [June 13, 2022, 10:19am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108 "2022-06-13T10:19:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xbee\_user](https://avatars.discourse-cdn.com/v4/letter/x/d78d45/32.png) [@xbee\_user](https://forums.digi.com/u/xbee_user)\
**Post date:** [June 13, 2022, 10:19am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108/1 "2022-06-13T10:19:50Z")

</div>

Hello. I’m trying to create a zigbee end device. Xbee3 is added as coordinator on ZHA. Got also the xbee3 end device detected, but there is already configuration showing. I tried disabling the the GPIOs on XCTU but still the same. I have no micropython code yet. I just want one switch and I will add a power meter later on.

[https://community-assets.home-assistant.io/optimized/4X/8/2/3/823e2c42ced11bb990abff0767050277049ac4c2\_2\_487x500.png](https://community-assets.home-assistant.io/optimized/4X/8/2/3/823e2c42ced11bb990abff0767050277049ac4c2_2_487x500.png)

---

<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:** [June 14, 2022, 8:04am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108/2 "2022-06-14T08:04:44Z")

</div>

It depends on what your definition of an End device is. An End device in general is something that performs a function. That function can allow the device to be either as a router or as a sleeping device.

If you want it to be a sleeping device, then you would need to enable the SM command to a value other than 0.

---

<div class="post-metadata">

**Author:** ![xbee\_user](https://avatars.discourse-cdn.com/v4/letter/x/d78d45/32.png) [@xbee\_user](https://forums.digi.com/u/xbee_user)\
**Post date:** [June 15, 2022, 8:00am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108/3 "2022-06-15T08:00:30Z")

</div>

Thank you for reply. I want the device to act as a router and sensor(power, voltage current meter) with button control. Currently I got it working with router mode and button control.

I can’t disable the other GPIO’s from being exposed to Home Assistant even though I disabled them on XCTU but I figured out that I can disable the unwanted GPIO’s on home assistant side.

Now the remaining thing to do is how to send/expose power, voltage, current reading to the Home Assistant.

Is there any example I can follow that when connected to home assista, it will also recognized that the xbee has power, voltage, current meter features? Or any other similar sensors with examples.

---

<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:** [June 15, 2022, 8:10am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108/4 "2022-06-15T08:10:19Z")

</div>

The Home Assistant is not something that Digi would have information on.

---

<div class="post-metadata">

**Author:** ![xbee\_user](https://avatars.discourse-cdn.com/v4/letter/x/d78d45/32.png) [@xbee\_user](https://forums.digi.com/u/xbee_user)\
**Post date:** [June 15, 2022, 9:13am UTC](https://forums.digi.com/t/xbee3-24-creating-an-end-device/23108/5 "2022-06-15T09:13:00Z")

</div>

Yeah I understand, but I’m hoping somehow that there is a example or at least a guide for a standard zigbee device since a zigbee firmware is available for xbee3.
