# \[APP\]\[Pro\] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator

**URL:** <https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198>\
**Category:** Apps\
**Tags:** app, tools, virtual-device, device-capabilities, avd\
**Created:** [August 30, 2022, 7:24pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198 "2022-08-30T19:24:40Z")\
**Posts on this page:** 20\
**Page:** 20

<div class="post-metadata">

**Author:** ![Johan\_Persson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_persson1/32/48190_2.png) [@Johan\_Persson1](https://community.homey.app/u/Johan_Persson1)\
**Post date:** [May 10, 2023, 12:53pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/387 "2023-05-10T12:53:10Z")

</div>

Yes on the first tile, was not set on the second tile. Now fixed. But no change in status when flow is triggered.

 ![image0.jpeg](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/00ad345befab723ba77f0fcbe84753dc1f8ac437.jpeg)

/Johan

---

<div class="post-metadata">

**Author:** ![Johan\_Persson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_persson1/32/48190_2.png) [@Johan\_Persson1](https://community.homey.app/u/Johan_Persson1)\
**Post date:** [May 10, 2023, 1:12pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/388 "2023-05-10T13:12:33Z")

</div>

Hi Arie!

I’ve just noticed that it seems like if the homey app looses focus, then the status on the tile is updated! 🤔 (minimized or switched to another app and then back again)

/Johan

---

<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:** [May 10, 2023, 1:48pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/389 "2023-05-10T13:48:03Z")

</div>

> [@Johan\_Persson1](#):
>
> But no change in status when flow is triggered.

Hi Johan,  
When you want the status indicator of a tile on the mobile app to be updated by a flow, you’ll have to use this card in particular:  
 ![Screenshot from 2023-05-10 15-45-52](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/7/a73591a5516b0a75c2297117068ed748400ac4fb.png)

Something like this:  
 ![Screenshot from 2023-05-10 15-46-20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/7/77c9d3ac3c72d63463263bf1600629e8a2a050ff.png)

---

<div class="post-metadata">

**Author:** ![Johan\_Persson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_persson1/32/48190_2.png) [@Johan\_Persson1](https://community.homey.app/u/Johan_Persson1)\
**Post date:** [May 10, 2023, 2:32pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/390 "2023-05-10T14:32:44Z")

</div>

Tried it, and it’s working! 😀

Thank you!

/Johan

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [May 12, 2023, 12:52pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/391 "2023-05-12T12:52:50Z")

</div>

Have a strange issue, and think it’s a bug (3368ca1f-aa8f-46bb-b86c-9640ef880a3a)

I have an AVD which shows the production of my smart meter and a couple of solar panels, as shown here:

 ![Schermafbeelding 2023-05-12 om 14.45.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/ca7c236800e248d1f4929b73d8858eb11f79f7ae.png)

The figures are ‘refections’ from BLL:

 ![Schermafbeelding 2023-05-12 om 14.46.56](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d969b191e87d9fb692d98cba672f7b79d8ccbe8d.png)

After an update of Device Capabilities (but perhaps also Better Logic Library), it happens that the values are no longer shown correctly:

Here is the record of return, as seen in BLL:

 ![IMG_20230512_143518](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8bff76440eea702d35050c110d4e30ffda1ed839.jpeg)  
and it is 4014. That is correct!

But, when checking after the update it showed:

 ![IMG_20230512_143746](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/13ca0037215708e27bd47984dd94192a6ac51640.jpeg)

I tried the ‘repair’, and checked the correct reflection, and saved it unaltered. Again wrong record:

 ![IMG_20230512_143552](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dcb8e92b4a352e2a1ef2a540cfb362dac1aee917.jpeg)

And now it seems to be ‘stable’ to the correct value again.

PS  
I had another error a week ago, which was caused by a ‘reflected’ BLL variable not been ‘seen’ correctly, although the VD was configured correctly. After replacing the variable, saving and changing it back and saving… it worked properly again.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [May 17, 2023, 10:31am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/392 "2023-05-17T10:31:35Z")

</div>

@Arie_J_Godschalk  
Idea for a feature

I am using reflection of devices a lot, but experience that it is quite tedious to have to set each device. In addition, I strife for less maintenance on the flows or AVDs as possible eg. when a device is missing (no battery or disabled), replaced, etc.

I would like to suggest to add “capability” (temperature/luminance/motion/etc) to the dropdown shown below so that each device in the same zone with a certain capability will be used to make the calculation.

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

The idea is not new: I saw it first with Vthermo who even lets one include/exclude temperatures in subzones, parent zones.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 17, 2023, 10:37am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/393 "2023-05-17T10:37:54Z")

</div>

> [@Rrrr](#):
>
> I would like to suggest to add “capability” (temperature/luminance/motion/etc) to the dropdown shown below so that each device in the same zone with a certain capability will be used to make the calculation.

So, actually you would like (in my words) to hbe able to reflect Zones and than pick a capability in that zone?  
Because than you can add multiple zones and/or multiple capabilities within those zones.  
About the same, just the other way than how you describt it 😉

Please create a ticket for it 🙂

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [May 17, 2023, 10:47am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/394 "2023-05-17T10:47:56Z")

</div>

Cool! Even better! 🙏

---

<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:** [May 17, 2023, 12:49pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/395 "2023-05-17T12:49:58Z")

</div>

Hi Arie,

Unbelievable how this app’s still growing and evolving!  
I’ve a (far) future feature idea as well (I’ll create ticket as well):  
For easy grouping of, for instance, RGBW lights, I was thinking of a kind of pre-selector menu / script, to base an new AVD on.  
Something like:

> ![Screenshot_20230517-142730_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/66b4de9d2f13a027d5331614265974511fb67f90.jpeg)

Menu / script would be like:

1. user chooses a device class (f.i. Light)
2. _if possible_: user chooses/selects (a) zone(s)
3. automatically pre-select the preferred available capabilities for lights: like OnOff + dim + hue + saturation + color temperature;  
 → user can (un)select afterwards
4. automatically pre-select all matching devices  
 → user can (un)select afterwards

- _in this example, the pre-selected devices would be: lights with OnOff + dim + hue + sat. + c.temp capabilities_

1. select the preferred calculation (min,max,mean etc.)
2. enter a time-out for devices which became unavailable

Current situation:  
When I want to create a group of, say, 3 RGBW lights, I have to create 4 numeric fields, and then select the same 3 lights 4 times;  
Then I have to select each of the 4 capabilities for each of the 3 lights 4 times

> ![Screenshot_20230517-135550_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/f/7f054c9fecd755699b776d674ca903bf5d2e161e.jpeg)  
> ![Screenshot_20230517-135617_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/281163be41237c2c862a0498046f3c9d54c56c7b.jpeg)  
> ![Screenshot_20230517-135644_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1ccc17af7015eae56e9d5433d45b977c178cbbd5.jpeg)  
> ![Screenshot_20230517-135808_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e74de56ec045b12d248ea775023127b19a587ff6.jpeg)

Thanks, curious if it’s even possible, and if you want to spend time on it 😊

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [May 19, 2023, 4:54pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/396 "2023-05-19T16:54:08Z")

</div>

A question from my side, I use the great app for showing how many food/water is remaining for our cats, and a timer that is automatically resetting when I refresh the water. But… the timer is shown in seconds. Is it possible to let it shown as a DD:HH:MM format for example?

Thanks for help!

 ![IMG_2105](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/087dd261e0b3a23428a357eaf6ca99501bdb7f89.png)  
 ![IMG_2104](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/a/5a84a15c84fad1bda004adfcd9b84dc8c07b5706.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 19, 2023, 5:27pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/397 "2023-05-19T17:27:09Z")

</div>

> [@Ranney](#):
>
> But… the timer is shown in seconds. Is it possible to let it shown as a DD:HH:MM format for example?

Yes, if you have the Better Logic Library installed, you can use a BLL expression:

```auto
time('DD:hh:mm', $value)

```

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [May 19, 2023, 6:02pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/398 "2023-05-19T18:02:45Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> time(‘DD:hh:mm’, $value)

Thanks for your help (again​:smiling\_face:)👍👍

I’ve paste it here:

 ![IMG_2108](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/697521b629a64b41a0d6eba967b194ba973f0aa7.png)

But it will not change the view of the seconds. I think that I do something wrong/stupid 🙈

When copy paste the text: “ time (‘DD:hh:mm’, value)” it will be a bigger number where every sec the latest 4 numbers will change?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 19, 2023, 6:19pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/399 "2023-05-19T18:19:47Z")

</div>

O sorry, forgot: You need to so this on a Textfield, not a numbersfield.  
And, the quotes in my code were correct but in your Quote of my text, the are wrong!

Correct:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e1467adea4543f7f04a4e9a64a382b65e966375.png)

Wrong:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9bb901dd490dbd0fcebce7c453a82486a0fd21af.png)

```auto
time('DD:hh:mm', $value)

```

And see the BLL App settings for more format codings, goto Coding and scroll all the way down for all `time` formats (which are not completly the same as `date` formats.

---

<div class="post-metadata">

**Author:** ![Ranney](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@Ranney](https://community.homey.app/u/Ranney)\
**Post date:** [May 19, 2023, 6:55pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/400 "2023-05-19T18:55:30Z")

</div>

Many thanks! You made the day again 👍👍  
It is working 👌

---

<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:** [May 19, 2023, 8:09pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/401 "2023-05-19T20:09:53Z")

</div>

Thanks Arie & Ranney,

I was fiddling with it, but my hour value is showing the total remaining hours, it should be 66 -/- (2\*24) = 18

The minutes seem correct.

I used these expressions:

```auto
time('D"d "HH:mm', $value)
time('DD.HH:mm', $value)

```

> ![Screenshot from 2023-05-19 22-04-18](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/458cf3905f2ec528051cdccad9795454b75d5e5e.png)

![Screenshot from 2023-05-19 22-03-31](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/8794a37ff246f6e9f594543e03a69493d5ee69cb.png)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 19, 2023, 8:21pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/402 "2023-05-19T20:21:26Z")

</div>

Use lowercase hh.

Check the app settings - codings for time examples @Peter_Kawa 😉

---

<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:** [May 19, 2023, 9:11pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/403 "2023-05-19T21:11:57Z")

</div>

Damn 😂 how could I miss that! And even your clear examples were right above Ranney’s post.  
Thanks Arie!

I’m probably used to use HH as it’s the 24h format and mixed things up 😬

> ![Screenshot from 2023-05-19 23-15-17](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b71f5974b70ac08edd998e30cd283e68779203f4.png)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 20, 2023, 10:11am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/404 "2023-05-20T10:11:06Z")

</div>

> [@Peter\_Kawa](#):
>
> I’m probably used to use HH as it’s the 24h format and mixed things up 😬

Yep, time format is different, no way around that, since you want different results.  
H would show all hours.  
h would show te hours remaining less then 24.  
This way you can include days into the format, just like you wanted 😉  
But you are also free to show the total hours 🙂

---

<div class="post-metadata">

**Author:** ![OlaSt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olast/32/17168_2.png) [@OlaSt](https://community.homey.app/u/OlaSt)\
**Post date:** [May 25, 2023, 7:32am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/405 "2023-05-25T07:32:14Z")

</div>

Is it possible to get an API call to change _title_ and _icon_ for a field?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 25, 2023, 7:49am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/406 "2023-05-25T07:49:23Z")

</div>

Changing the Icon is pretty heavy for Homey, and it changes the field completly on the background, that’s why i haven’t build something for that (yet).

So, currently no.

I can however perhaps make something to change the title of a field. Could you create a feature ticket for it? Thanks!

[Previous page](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198.md?page=19)

[Next page](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198.md?page=21)
