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

<div class="post-metadata">

**Author:** ![Sebby5](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebby5/32/122738_2.png) [@Sebby5](https://community.homey.app/u/Sebby5)\
**Post date:** [December 18, 2023, 7:58pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/528 "2023-12-18T19:58:45Z")

</div>

I did that, and at first it worked.  
Until I tried to rename and redirected a few in the same pairs.  
As I would like to have the living room to show up first.

Off course if I start over from scratch, there’s a big chance that it works.  
But I try to understand how the pairing is done, also when a field is changed.  
So the next time I know how to add/change a thermostat and keep the pairs.

---

<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:** [December 20, 2023, 6:54am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/529 "2023-12-20T06:54:20Z")

</div>

> [@Sebby5](#):
>
> But I try to understand how the pairing is done, also when a field is changed.

I will need to check that. It is indeed based on grouping 2 fields together, but when you change properties/icon/etc, they should stay grouped (target and measure).

---

<div class="post-metadata">

**Author:** ![Sebby5](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebby5/32/122738_2.png) [@Sebby5](https://community.homey.app/u/Sebby5)\
**Post date:** [December 20, 2023, 10:56am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/530 "2023-12-20T10:56:55Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> I will need to check that.

Let me know if I need to test or send anything. Happy to help reproducing some situations.

---

<div class="post-metadata">

**Author:** ![Eko\_taas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eko_taas/32/74256_2.png) [@Eko\_taas](https://community.homey.app/u/Eko_taas)\
**Post date:** [December 22, 2023, 7:33am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/531 "2023-12-22T07:33:58Z")

</div>

Amazed with great freestyle options AVD seems to give…

One advice needed for newbee: what would be better option for numberfield **showing minutes** , when needs to be adjustable by user (rarely) and value shown (i.e. very similar to “Temperature (Target)” I am using now (but mixing users). E.g. now using line in below: min limit 15min, max 300min, 15min steps) (would be happy even just without temp-mark):  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/aca3b03c1e6b4b791fee47e9c4af63191ddc61bf.png)

(these minutes are adjustable oper. limits ad part of AVD to ensure all created as one when template used to replicate)

Tried Dim etc., which are close to OK, but on those value not shown in any.

---

<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:** [December 22, 2023, 10:15pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/532 "2023-12-22T22:15:58Z")

</div>

I’d use both the target temp as ‘minutes adjuster’, and just a numeric sensor type field which shows the number of minutes?  
Or use the measured temp as minutes indicator?

---

<div class="post-metadata">

**Author:** ![Eko\_taas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eko_taas/32/74256_2.png) [@Eko\_taas](https://community.homey.app/u/Eko_taas)\
**Post date:** [December 23, 2023, 6:30am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/533 "2023-12-23T06:30:41Z")

</div>

These numbers are are practically constant minute values, when device will be tuned to correct environment.

On home screen and Trends “min” already seen:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/d/4d504a3f38d92f16c6ad460c016c99a3c10be14b.png)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/d/7d41c705e4fa548c739f5fbcef5965bd06913916.png)

So not a big issue, but would be nice to have to avoid user confusion…

---

<div class="post-metadata">

**Author:** ![Erikje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikje/32/8240_2.png) [@Erikje](https://community.homey.app/u/Erikje)\
**Post date:** [December 26, 2023, 1:10pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/534 "2023-12-26T13:10:11Z")

</div>

I’ve noticed lately that there’s a feature that doesn’t quite work anymore. See images. When I ask via google to dim a lamp, it is noted manually in the flow. But that doesn’t work anymore because it doesn’t serve the “client” anymore. Can you see what is going wrong?

V2.15.4  
Homey 2023 10.2.0  
3e0e2dd3-258a-475d-8908-172535a8cdf2

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

 ![1000014398](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/cac161253d7b011e9b924b71c22eb406d7199f9a.png)

---

<div class="post-metadata">

**Author:** ![Martin072](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin072/32/70637_2.png) [@Martin072](https://community.homey.app/u/Martin072)\
**Post date:** [December 28, 2023, 3:26pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/535 "2023-12-28T15:26:59Z")

</div>

Hi, I noticed that if I create a AVD with the motion sensor capability, it does not inlcude this in the Homey’s activity zone list. See screen shots. The activity list does not show the ‘Woonkamer’ whilst there is a (AVD) Sensor configured with motion capability. I have not exclude it from any zone’s.

Any idea?

![IMG_8823](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/2238ef9c7bdd96faf01fd2de6d480b496dd58bd9.jpeg)

![IMG_8824](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0e24875534f767615272f21d9c3db2dbc54a975c.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:** [December 29, 2023, 3:38am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/536 "2023-12-29T03:38:51Z")

</div>

Did you set the “device class” to sensor?  
Homey’s Zone activity will not recognize your AVD as sensor otherwise.

> ![Screenshot_20231229-043705_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cc3f676200e72987be708911941c4b95d0538f28.jpeg)

---

<div class="post-metadata">

**Author:** ![Martin072](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin072/32/70637_2.png) [@Martin072](https://community.homey.app/u/Martin072)\
**Post date:** [December 29, 2023, 8:27am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/537 "2023-12-29T08:27:07Z")

</div>

Check! Was set to “Other”

Thanks!

---

<div class="post-metadata">

**Author:** ![Techniman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/techniman/32/8654_2.png) [@Techniman](https://community.homey.app/u/Techniman)\
**Post date:** [January 5, 2024, 8:27pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/538 "2024-01-05T20:27:31Z")

</div>

I’m trying to do an API call for an onoff field, but I cannot find the field name, I can confirm the below does not work…

Does anyone know?

await dcApp.apiPost(‘setvalue’, {device: name, field:‘onoff1’, value: “on”});  
await dcApp.apiPost(‘setvalue’, {device: name, field:‘yesno1’, value: “on”});

---

<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:** [January 5, 2024, 8:58pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/539 "2024-01-05T20:58:34Z")

</div>

@Techniman Try button1 and as value `true` or `false`, without doubleqoutes?

---

<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 6, 2024, 7:01am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/540 "2024-01-06T07:01:51Z")

</div>

Be careful with the fancy (double) quotes. Only use the ‘straight’ ones.

This works for the 1st button of my AVD:

```auto
let dcApp = await Homey.apps.getApp({id:'nl.qluster-it.DeviceCapabilities'});
await dcApp.apiPost('setvalue', {
  device:'My AVD device', field:'button1', value:true
  });

```

The examples are present at post #1:

> [@Arie\_J\_Godschalk](#):
>
> `let dcApp = await Homey.apps.getApp({id:'nl.qluster-it.DeviceCapabilities'});`
> 
> # Added an API call to set the **value** of AVD fields:
> 
> `await dcApp.apiPost('setvalue', {device:'Day-Amount', field:'number1', value:21});`

---

<div class="post-metadata">

**Author:** ![Techniman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/techniman/32/8654_2.png) [@Techniman](https://community.homey.app/u/Techniman)\
**Post date:** [January 6, 2024, 10:43am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/541 "2024-01-06T10:43:21Z")

</div>

Thanks, i saw the examples in the 1st post but onoff was not one of them, hence the question

---

<div class="post-metadata">

**Author:** ![Techniman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/techniman/32/8654_2.png) [@Techniman](https://community.homey.app/u/Techniman)\
**Post date:** [January 6, 2024, 10:49am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/542 "2024-01-06T10:49:08Z")

</div>

Thanks @Arie_J_Godschalk but that also did not work, I did however set the type to “sensor” could that be the reason why it’s not changeable?

I’d like to set the status through HS and be able to report on it through insights

 ![Screenshot 2024-01-06 114712](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/abd358f48efe00280e373ae6d4eea42e5de6367e.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:** [January 6, 2024, 2:40pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/543 "2024-01-06T14:40:59Z")

</div>

@Techniman Sorry, this field is the `boolean1` field, not a button.

Altho you should also be able to use the Name value `Verwarmen`

---

<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:** [January 18, 2024, 12:48pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/544 "2024-01-18T12:48:48Z")

</div>

Hey @Arie_J_Godschalk

As you know I am using AVDs a lot.  
One consistent issue I face is that sometimes I need to change a field name. And somehow, somewhere under the hood the old name continues to have a life, for example when I use Insights, I see the old field name again. Are you aware? Is there a way for me to fix it without redoing the AVD?

---

<div class="post-metadata">

**Author:** ![Erikje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikje/32/8240_2.png) [@Erikje](https://community.homey.app/u/Erikje)\
**Post date:** [January 20, 2024, 7:59am UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/545 "2024-01-20T07:59:30Z")

</div>

Hi Arie,  
I was wondering, had you looked into the problem below?

> [@Erikje](#):
>
> I’ve noticed lately that there’s a feature that doesn’t quite work anymore. See images. When I ask via google to dim a lamp, it is noted manually in the flow. But that doesn’t work anymore because it doesn’t serve the “client” anymore. Can you see what is going wrong?
> 
> V2.15.4  
> Homey 2023 10.2.0  
> 3e0e2dd3-258a-475d-8908-172535a8cdf2
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/557799584c17165c89b0b5ec0a60a49f5b680378.png)
> 
> ![1000014398](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/cac161253d7b011e9b924b71c22eb406d7199f9a.png)

---

<div class="post-metadata">

**Author:** ![chrb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chrb/32/56965_2.png) [@chrb](https://community.homey.app/u/chrb)\
**Post date:** [March 8, 2024, 3:11pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/546 "2024-03-08T15:11:35Z")

</div>

Hi, i think here’s the right place for following question: iwant to calculate the following: load power minus PV Strom-Erzeugung and show it on the tile:

 ![IMG_4886](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/500941f1eba82c0ded00c2f4627fde35f58215ff.png)

Is there a chance to do so?

Brgds

---

<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:** [March 8, 2024, 3:55pm UTC](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/547 "2024-03-08T15:55:04Z")

</div>

> [@Erikje](#):
>
> I was wondering, had you looked into the problem below?

Sorry, i missed this. Just use the live version, that one doesnt have the issue.

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

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