# How to get the dev\_eui in the payload to send to Mqtt?

**URL:** <https://www.thethingsnetwork.org/forum/t/how-to-get-the-dev-eui-in-the-payload-to-send-to-mqtt/35016>\
**Category:** End Devices (Nodes)\
**Created:** [March 3, 2020, 9:15am UTC](https://www.thethingsnetwork.org/forum/t/how-to-get-the-dev-eui-in-the-payload-to-send-to-mqtt/35016 "2020-03-03T09:15:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasF](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/thomasf/32/25844_2.png) [@ThomasF](https://www.thethingsnetwork.org/forum/u/ThomasF)\
**Post date:** [March 3, 2020, 9:15am UTC](https://www.thethingsnetwork.org/forum/t/how-to-get-the-dev-eui-in-the-payload-to-send-to-mqtt/35016/1 "2020-03-03T09:15:05Z")

</div>

Hi everyone,

I see in this post that we can have the dev\_id and app\_id in the payload [Best practices when sending GPS location data [HowTo]](https://www.thethingsnetwork.org/forum/t/best-practices-when-sending-gps-location-data-howto/1242/14) but nothing about the dev\_eui or app\_eui.

Is it not possible to have this information ?

Regards,

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [March 3, 2020, 12:58pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-get-the-dev-eui-in-the-payload-to-send-to-mqtt/35016/2 "2020-03-03T12:58:50Z")

</div>

The DevEUI [is available in `hardware_serial`](https://www.thethingsnetwork.org/docs/applications/mqtt/api.html). The AppEUI is not available, I think.

---

<div class="post-metadata">

**Author:** ![ThomasF](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/thomasf/32/25844_2.png) [@ThomasF](https://www.thethingsnetwork.org/forum/u/ThomasF)\
**Post date:** [March 3, 2020, 1:51pm UTC](https://www.thethingsnetwork.org/forum/t/how-to-get-the-dev-eui-in-the-payload-to-send-to-mqtt/35016/3 "2020-03-03T13:51:48Z")

</div>

Thank you Arjan.
