# \[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:** 5

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 27, 2022, 2:30pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/83 "2022-09-27T14:30:32Z")

</div>

Hi @Arie_J_Godschalk

Question. I have 4 airco indoor units. Each indoor unit has a tile. And when long pressed I get a sub menu with a dropdown menu. And each value in the dropdown menu contains other values. Like in the pictures. Now I want to make one ADV in which I can select a indoor unit with the accommodating settings. Is this possible?

The below pictures are from the menu of one of the units.

 ![Screenshot_20220927-162419_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a403e3beccd8ea72a6d330938940219564d8bc04.jpeg)  
 ![Screenshot_20220927-162407_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/5/35c77ea81e4c4960f94582b2bd6a877ade30b0f8.jpeg)

---

<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:** [September 27, 2022, 3:10pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/84 "2022-09-27T15:10:10Z")

</div>

Ah, I searched an just wanted to ask the same Q for a thermostat:

 ![Screenshot from 2022-09-27 17-08-27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f3609cff3c3b194d39b09273029497ff7ff408bc.png)

I’d like to be able to set the values, and also read the values when they are changed.  
**EDIT** : on / within an ADV

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [September 27, 2022, 3:26pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/85 "2022-09-27T15:26:57Z")

</div>

The shared flow to see if the sensor is still awake is a nice tool. Can the script this also be added to my flower sensors from Xiaomi?

---

<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:** [September 27, 2022, 3:33pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/86 "2022-09-27T15:33:42Z")

</div>

> [@Dennis\_van\_Dinter](#):
>
> Now I want to make one ADV in which I can select a indoor unit with the accommodating settings. Is this possible?

> [@Peter\_Kawa](#):
>
> I’d like to be able to set the values, and also read the values when they are changed.

Het @Peter_Kawa and @Dennis_van_Dinter ,

I have the feeling that those are not the same questions.  
@Dennis_van_Dinter , Do you mean: You want to be able to add Pickers/Dropdowns to AVD?  
If so, i haven’t fount a solution to dynamicly add Pickers/Dropdowns.

@Peter_Kawa Do you mean you want to set the Picker/Drodown value of a non-AVD device?  
If so, the Set Capability flowcards from DC App can be used to set a picker/dropdown value of a device.

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 27, 2022, 4:42pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/87 "2022-09-27T16:42:00Z")

</div>

Well, the idea is to create a ADV and within that ADV select one of 4 indoor units and then be able to set its temperature or its heating or cooling mode. That would mean it’s should be dynamicly, I guess.

If this not possible, then is it possible to create a menu style like in the screenshot but only for 1 device. So basically only mimicking the menu style.

---

<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:** [September 27, 2022, 5:10pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/88 "2022-09-27T17:10:37Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Do you mean you want to set the Picker/Drodown value of a non-AVD device?  
> If so, the Set Capability flowcards from DC App can be used to set a picker/dropdown value of a device.

I’m working on a AVD Thermostat, which should hold a mode “wheel”, just like the tado thermostat on the screenshot.  
It should be able to work with both receiving and sending commands:

- set a mode (it’s plain text) via flowcards, something like this:  

- when the mode is changed or set on the AVD tile, it should write the new mode to a text-tag, and flowcard, to be able to control an other device, something like this:  
 ![Screenshot from 2022-09-27 19-05-43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2a0dfb31064e527c1ce2c0e533ba13a9f0e7964c.png)

---

<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:** [September 27, 2022, 5:18pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/89 "2022-09-27T17:18:22Z")

</div>

> [@HuisCHovens](#):
>
> The shared flow to see if the sensor is still awake is a nice tool. Can the script this also be added to my flower sensors from Xiaomi?

My flower sensors send temperature values, so they are reported between the temperature sensors  
However, I made a mistake in the flow, the contact sensor check was added twice 🤪  
You can replace the script in the last HomeyScript flowcard, with this code below.  
The [TEF file](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/13) is also updated, you can just import it again.

> **Code (clickme)**
>
> ```auto
> // Sensor.Temperature_Check, to check Temperature sensors connection by comparing last update times
> let array = [];
> 
> const devices = await Homey.devices.getDevices({ filter: {class: 'sensor', capabilities: 'measure_temperature'} });
> _.forEach(devices, device => {
> array.push( device.name + '\t==> ' + device.capabilitiesObj?.measure_temperature.lastUpdated?.substring(0,16) );
> });
> 
> //oldest date on top sort array = ["time_stamp device", "time_stamp device", "time_stamp device"]
> const array_sorted = array.slice().sort(function(time_stamp, device) { 
> const firsttime_stamp = time_stamp.split(" ")[0];
> const secondtime_stamp = device.split(" ")[0];
> if(firsttime_stamp < secondtime_stamp) return -1;
> if(firsttime_stamp > secondtime_stamp) return 1;
> return 0;
> });
> 
> console.log("Temperature sensors:\n" + array_sorted.join('\n') + "\n\nSensor.Temperature_Check.js");
> 
> Homey.flow.runFlowCardAction({
> uri: 'homey:manager:notifications',
> id: 'create_notification',
> args: {
> text: "Temperature sensors:\n" + array_sorted.join('\n') + "\n\nSensor.Temperature_Check.js"
> },
> });
> return array_sorted.join('\n');
> 
> ```

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [September 27, 2022, 5:41pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/90 "2022-09-27T17:41:22Z")

</div>

> [@Peter\_Kawa](#):
>
> My flower sensors send temperature values, so they are reported between the temperature sensors

Thank you this is also works for me.  
only the timestamps don’'t exacly the right time.  
I can see it is go worng on the motion sensors. i was not at home 🙃

---

<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:** [September 28, 2022, 6:31am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/92 "2022-09-28T06:31:35Z")

</div>

Okay, we are at 39, great!  
But i am going for 61 (at least, try 😉 ), because as far as i can tell, 60 likes for a post is the most ever on this forum.

**So if we can get to 61, we truly have a legit petition towarts Athom!**  
It would give it some real strength.

### So, please send this message to everyone you know on this forum, to sign/like the petition?

# For Everyone who wants a Text Status Indicator (as Device Tile) without a zero or dash in front of it, [goto this Petition](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/73) as hit the Like button!

---

<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:** [September 28, 2022, 10:52am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/93 "2022-09-28T10:52:02Z")

</div>

Shared on Dutch “Homey Gebruikers en Flows” Facebook group

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [September 28, 2022, 11:00am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/94 "2022-09-28T11:00:03Z")

</div>

Shared in the German-Forum to like your pedition !

---

<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:** [September 28, 2022, 11:10am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/95 "2022-09-28T11:10:27Z")

</div>

Allready at 47!  
Just 14 to go!

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [September 28, 2022, 5:07pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/96 "2022-09-28T17:07:45Z")

</div>

I’ve started another pedition. If you agree with me, please leave a like.  
Homey developer award for Arie !

> [@The Homey Developer Award for Arie J. Godschalk](https://community.homey.app/t/the-homey-developer-award-for-arie-j-godschalk/69573):
>
> Hi @Emile, I propose Arie J. Godschalk for the Homey Developer Award. With his app Device Capabilities, he has created an ingenious way to take Homey to a new level. I’m sure you’ve already tested the app yourself. I hope for many likes to show you that he deserves the award !+1+1+1 Greetings from Germany

---

<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:** [September 28, 2022, 5:53pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/97 "2022-09-28T17:53:42Z")

</div>

Dear @Emile,

We have been holding a petition (post [73](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/73)).  
Up until now, 60 likes to a reply was the most on the entire Homey Community Forum.  
For this petition, **123 people**  **have** allready **signed** (liked)!  
**The most reply-likes ever on this forum!**

We very much hope that this great amount (of likes) bears weight.

The petition: **We would like Empty Number capabilities, to _not_ have a dash or zero in front of it, in Web and Mobile.**

Let me explain: currently, i am allready in contact with Athom Support (request 45408) about the fact that, when a number capability has not (yet) a value, it is displayed in Web as a dash, while in Mobile it is not displayed at all at the device tile.  
And in the device tab, capabilities that are empty, the title fanishes completly.

This difference should be fixed, and we as a community have a prefered way:

- The most prefered way: Add a capabilityOption (for numbers) called preventEmptyDash or preventEmptyZero.  
When this is put to true, the dash or zero (whatever you would like to make default) wil not be shown in Web or Mobile, only the Units will be displayed.
- A less prefered way: Just remove the Dash or Zero completly when it’s number is empty, only show Units.  
This will not be “breaking current way” because there is no current way, Web and Mobile are different.  
And as a developer, knowing Homey a little bit, i cannot imagen that this would be much work.

Since the development of Advanced Virtual Devices less then 2 months ago, hundreds of people have allready created an AVD with Status Text Indicator. And many of them ask the same question: How can i remove the leading dash or zero on the device tile.

We kindly and humbly ask that you take this into consideration and the great amount of community supporters and app developers that signed the petition. This is really wanted!

Kind regards,

Arie J. Godschalk

## Current situation:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/d/cdcd016dfebe6dec5d5fd48f79d6024036460fd3.png) Web  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14d29568359e83f195647fa52a293d3ba0fba91b.png) Same moment in Mobile

## Current “solution” used:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/397ef6761a723fea81295fca9d20a1185538df60.png) Web

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

## The petition:

> [@Arie\_J\_Godschalk](#):
>
> ## This is A Petition!
> 
> # For Everyone who wants a Text Status Indicator (as Device Tile) without a zero or dash in front of it, HIT the Like button of this post/message!
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/203d5e84a941d9b2f09488e7b1c2cef689c7b589.png) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8fd94251ad83589cc12c35bad3b8d2162dfb5cb1.png)
> 
> If we get enough likes, we can include Emile or someone from Athom, to show them how much people would want this!

---

<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:** [September 28, 2022, 8:56pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/98 "2022-09-28T20:56:36Z")

</div>

Just added:  
Disable Zone Activity for Yes/No fields type Alarm (motion or contact) when Creating Flow Cards (act as real alarm).  
When You disable Zone Activity, the zone will not activate when motion or contact is triggered.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/08ff446999bbd9678341aabff9afa1136effbb3b.png)

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 30, 2022, 11:55am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/99 "2022-09-30T11:55:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e0128f1509fb0175bfb81b2339b95e65dba76878.jpeg)

Hi @Arie_J_Godschalk

I used one of your screenshots as a reference.

Is it possible to add a IF-flowcart to the 5 devices in your screenshot, so if I select one of the 5 devices from the dropdown it triggers the flow.

Or maybe I’m missing some way this already can be done.

---

<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:** [September 30, 2022, 1:41pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/100 "2022-09-30T13:41:14Z")

</div>

> [@Dennis\_van\_Dinter](#):
>
> Is it possible to add a IF-flowcart to the 5 devices in your screenshot, so if I select one of the 5 devices from the dropdown it triggers the flow.

Do you mean, is there any way i can let you trigger something in a flow, based on which of the 5 sliders you select / is active?

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 30, 2022, 2:17pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/101 "2022-09-30T14:17:43Z")

</div>

Yes, indeed. That way I could create multiple on/off buttons, which also creates that dropdown. And based on the selected button I can change what the buttons in the button section do.

So if I create 2 on/off buttons for 2 smart speakers. And then I create one volume up button and one volume down button and depending on the smart speaker selected in the on/off menu, volume goes up or down for that selected speaker. That way I can create that menu for the airconditioners I discussed with you. Making it (more) dynamic??

 ![Screenshot_20220930-161545_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/9/5969cdc72e71c6d4a37af3d0df92eddd2359ad68.jpeg)  
 ![Screenshot_20220930-161555_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1bcd77d876324165714a0d3f99d7ddee5c3f0207.jpeg)  
 ![Screenshot_20220930-161601_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e4581a8b07b521ced4b20ad25607c8dc3eaca25.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:** [September 30, 2022, 2:40pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/102 "2022-09-30T14:40:27Z")

</div>

That would be very lovely, but, unfortuntly, i cannot “read” user-interface action.  
The DC App has no idea which item from the select you have selected.  
This for clear reasons: You can have multiple phones/homey-apps, thus multiple different selections.

The best i could do for you, is a option to create a Ternary (image below)

If i am correct, i can create multiple Ternaries, which would give you a selection list in the top, just as with multiple OnOff buttons.  
For you current Volume example, this works just fine (you have a extra mute then ;), but i asume you want more then just volume up/down/mute.

And currently, that is not yet a option.  
I hope to find a solution to be able to create Pickers / selectionlist dynamic, but haven’t so far.

Currently, the best way would to place a few buttons at the top: that would be the selection, and then the volume buttons below them.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/a/5a346bb00eaa8f0c0e7286df4ca2f6b2e00d065c.png)

---

<div class="post-metadata">

**Author:** ![Dennis\_van\_Dinter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_van_dinter/32/28180_2.png) [@Dennis\_van\_Dinter](https://community.homey.app/u/Dennis_van_Dinter)\
**Post date:** [September 30, 2022, 3:18pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/103 "2022-09-30T15:18:09Z")

</div>

Ok. Anyway thank you for clearing that up. It is what it is. But still…Great, great app!

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

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