# Device indicator

**URL:** <https://community.homey.app/t/device-indicator/49339>\
**Category:** Developers\
**Created:** [July 11, 2021, 8:42pm UTC](https://community.homey.app/t/device-indicator/49339 "2021-07-11T20:42:14Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aybert](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Aybert](https://community.homey.app/u/Aybert)\
**Post date:** [July 11, 2021, 8:42pm UTC](https://community.homey.app/t/device-indicator/49339/1 "2021-07-11T20:42:14Z")

</div>

Hello  
I’ve developed a custom number capability for my device. I named it “measure\_xxx”  
how do I actually display it on the device icon? I read in the doc I _can_ do it, but I do not understand how to do it  
Thanks

---

<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:** [July 12, 2021, 1:33am UTC](https://community.homey.app/t/device-indicator/49339/2 "2021-07-12T01:33:30Z")

</div>

It seems only standard capabilities are displayed by default at the moment.  
Try [support@athom.com](mailto:support@athom.com)

See [Xiaomi mi flora sensor/ropot app - #585 by Koktail](https://community.homey.app/t/xiaomi-mi-flora-sensor-ropot-app/45/585)

 ![Screenshot_20210712-033747_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fbfe5cbfe222bf800819d6c0a75cfb5f06ea5518.jpeg)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 12, 2021, 11:12am UTC](https://community.homey.app/t/device-indicator/49339/3 "2021-07-12T11:12:30Z")

</div>

I tried that, too. But it’s only possible for default capabilities (listed on developer page).

But with the new Homey App (Android+iOS, WebApp surely too), you can select a capability for each device as user. I havn’t testet it yet, but that’s one of the announcement for the test version of Homey app.

---

<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:** [July 12, 2021, 11:32am UTC](https://community.homey.app/t/device-indicator/49339/4 "2021-07-12T11:32:01Z")

</div>

> [@RonnyW](#):
>
> you can select a capability for each device as user

Correct, but not all capabilities (yet).

> Selectable:
> 
> ![Screenshot_20210712-132842_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6b25958b6131d5e099a7e88bfa01eb489c97cf8e.jpeg)

I would like the moisture (“vochtigheid”) as default status indicator for instance. But it’s not a standard capability and isn’t shown/selectable

> Available:
> 
> ![Screenshot_20210712-133116_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9ee492b9c0aeb8a175836bc114c5f4ce49fadc82.jpeg)

_This is just an example, I know @Koktail is trying to find a solution_

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 12, 2021, 8:56pm UTC](https://community.homey.app/t/device-indicator/49339/5 "2021-07-12T20:56:36Z")

</div>

I tested the new app version.  
My result qith my own app (Grünbeck) is:

- numeric values are selectable
- enum values (text representation fur values) are not shown
- string capabilities are nut shown

I don’t know if units have impact on it.

Edit:  
Perhaps it depends on the capability attribut “getable”. If it`s not true, the WebApi perhaps can`t read the value for the tile.

---

<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:** [July 13, 2021, 2:11pm UTC](https://community.homey.app/t/device-indicator/49339/6 "2021-07-13T14:11:49Z")

</div>

Interesting, Ronny.  
But, unfortunately, though all capabilities of my example flower sensor are numeric, they’re not all selectable (and that seems to be the custom capabilities `fertility` and `moisture`).

So the ‘getable’ theory makes sense, so does the standard / custom theory (for apps installed per app store).

 ![Screenshot_20210713-160853_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b6b3c0504b02ff6553e7b2bd7039664e20342240.jpeg)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 13, 2021, 2:58pm UTC](https://community.homey.app/t/device-indicator/49339/7 "2021-07-13T14:58:16Z")

</div>

I’ve found the repository:  
I would suspect the Athom is using all “typical” capabilities named measure\*, alarm\*, meter\*.

> <https://github.com/koktaildotcom/homey-mi-flora/blob/master/drivers/flora/driver.compose.json#>

```
"capabilities": [
    "measure_temperature",
    "measure_luminance",
    "flora_measure_fertility",
    "flora_measure_moisture",
    "measure_battery"
],

```

If the custom capabilities would be named measure\_flora\_fertility for example, I would say The Homey App should display the values in the device.

I named all custom capabilities this way (measure\*) and they are displayed. This has another benefit: You get all flow events generated (like “value changed”).

---

<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:** [July 13, 2021, 3:04pm UTC](https://community.homey.app/t/device-indicator/49339/8 "2021-07-13T15:04:42Z")

</div>

Sharp! Makes sense. Also to you, Leendert @Koktail?

---

<div class="post-metadata">

**Author:** ![Koktail](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/koktail/32/51498_2.png) [@Koktail](https://community.homey.app/u/Koktail)\
**Post date:** [July 14, 2021, 6:13am UTC](https://community.homey.app/t/device-indicator/49339/9 "2021-07-14T06:13:51Z")

</div>

Looks like a logical explanation. Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![Aybert](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Aybert](https://community.homey.app/u/Aybert)\
**Post date:** [July 14, 2021, 1:27pm UTC](https://community.homey.app/t/device-indicator/49339/10 "2021-07-14T13:27:53Z")

</div>

Yes it does work today with the newer version of the app  
Maybe the doc was a bit in advance 🙂

Thank you Athom

---

<div class="post-metadata">

**Author:** ![IamNague](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/iamnague/32/39117_2.png) [@IamNague](https://community.homey.app/u/IamNague)\
**Post date:** [November 15, 2021, 5:28pm UTC](https://community.homey.app/t/device-indicator/49339/11 "2021-11-15T17:28:46Z")

</div>

Hi there,  
I’m looking for ways to define icons indicators for custom capabilities (type=enum). Do you have any example I can folllow ?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [November 17, 2021, 9:00am UTC](https://community.homey.app/t/device-indicator/49339/12 "2021-11-17T09:00:25Z")

</div>

I don’t think that enum capabilities are displayed in the indicator - like other string capabilities. The devise only offers numeric values to select as indicator. That’s a limitation by Athom I think.

---

<div class="post-metadata">

**Author:** ![IamNague](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/iamnague/32/39117_2.png) [@IamNague](https://community.homey.app/u/IamNague)\
**Post date:** [November 17, 2021, 9:48am UTC](https://community.homey.app/t/device-indicator/49339/13 "2021-11-17T09:48:37Z")

</div>

Thanks @RonnyW, actually, I was expecting to display an icon for each value like the icon battery for example.
