# Get name of the device in a flow?

**URL:** <https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389>\
**Category:** Questions & Help\
**Created:** [January 29, 2022, 5:25pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389 "2022-01-29T17:25:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![homeyhue99](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@homeyhue99](https://community.homey.app/u/homeyhue99)\
**Post date:** [January 29, 2022, 5:25pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/1 "2022-01-29T17:25:38Z")

</div>

So I have 3x IKEA Fyrtur blinds that I want to set up a flow for informing me when the batteries needs charging.

I’ve set the flow up like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f40c6fe5182e64b7eedc5a23e059173a3d20db1b.png)

Now, I could configure the push message and hardcode the name of the blind in there, but I want to be able to easily reuse the flow. I cannot seem to find any way to fetch the device name automatically from the tags. The tag icon does not have any tags for name, as I sawe existed on some youtube-tutorials… How do I do this?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [January 29, 2022, 5:33pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/2 "2022-01-29T17:33:48Z")

</div>

Tap on the Tag icon on the right (in your picture) then start typing the name…

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 29, 2022, 5:33pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/3 "2022-01-29T17:33:48Z")

</div>

This flow reports every battery with a level below 20%, and reports the device and zone name, and the reported battery level.

---

<div class="post-metadata">

**Author:** ![homeyhue99](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@homeyhue99](https://community.homey.app/u/homeyhue99)\
**Post date:** [January 29, 2022, 5:42pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/4 "2022-01-29T17:42:03Z")

</div>

That’s my problem - i cannot find any tags for device name. Just other information about devices. I want to use the name of the device that I used in the top card of the flow, so I can re-use that card.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/0/10734b9dc1ae3aa92853b35b021555d500ae4618.png)

---

<div class="post-metadata">

**Author:** ![homeyhue99](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@homeyhue99](https://community.homey.app/u/homeyhue99)\
**Post date:** [January 29, 2022, 5:42pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/5 "2022-01-29T17:42:35Z")

</div>

Thank you, I will have a look at that.

---

<div class="post-metadata">

**Author:** ![am84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/am84/32/67852_2.png) [@am84](https://community.homey.app/u/am84)\
**Post date:** [January 17, 2023, 6:24pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/6 "2023-01-17T18:24:47Z")

</div>

Hi!  
I’m having the same issue as you did.  
Did you find any solution?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 17, 2023, 9:26pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/7 "2023-01-17T21:26:52Z")

</div>

> [@am84](#):
>
> same issue as you

Who are you talking to?

---

<div class="post-metadata">

**Author:** ![am84](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/am84/32/67852_2.png) [@am84](https://community.homey.app/u/am84)\
**Post date:** [January 18, 2023, 7:16am UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/8 "2023-01-18T07:16:19Z")

</div>

Homeyhue99

---

<div class="post-metadata">

**Author:** ![Hamster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hamster/32/16580_2.png) [@Hamster](https://community.homey.app/u/Hamster)\
**Post date:** [January 18, 2023, 8:02am UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/9 "2023-01-18T08:02:35Z")

</div>

The solution is in this topic…it’s marked as solved.

---

<div class="post-metadata">

**Author:** ![rvanlaak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rvanlaak/32/108826_2.png) [@rvanlaak](https://community.homey.app/u/rvanlaak)\
**Post date:** [December 4, 2024, 8:21pm UTC](https://community.homey.app/t/get-name-of-the-device-in-a-flow/59389/10 "2024-12-04T20:21:26Z")

</div>

The name of the device of which the battery changed in the flow that Peter shared came from the “When” event related to the battery change.

There could be situations where there would not be such an event to provide a device’s name, where having the device name available dynamically could come in handy. For example, when you would want to reference another device’s name in a text message (e.g. push message), like a light bulb that should turn on when the doorbell did ring.

It would be valuable to expose all device names as variables / tags, so it can be referenced in things like notification messages. Another big perk: it will allow tracking in which flows the device name gets usaged., like how the list of flows works in a device’s flow tab.

And yes, UX wise we should find a way to not pollute the variable dropdown overlay too much. Maybe by including the device name as variable / tag at the right of the device’s name?
