# \[APP\]\[Pro\] Device Capabilities - Enhance the capabilities of devices

**URL:** <https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287>\
**Category:** Apps\
**Tags:** flow, virtual-device, homey-pro, device-capabilities, avd\
**Created:** [February 19, 2021, 8:20am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287 "2021-02-19T08:20:51Z")\
**Posts on this page:** 20\
**Page:** 66

<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, 3:14pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1327 "2023-05-25T15:14:23Z")

</div>

> [@Rrrr](#):
>
> After all the testing, I am not sure what I had Numberfields before. I think I did not select Show As and left them empty, assuming default.

That’s the default yeah, it’s okay to leave it empty.  
I just removed the Create Flowcard for the default, because i forgot that i buildin the function for that specificly: It does work with a sensor, turning it into a measure\_sensor and thus: allowing you to pick it as a status indicator.

I just need to add better description, also to not forget all the options i allready build in 🤣 🤔

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 25, 2023, 4:40pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1328 "2023-05-25T16:40:03Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Solved in testversion 2.13.7

Wow, indeed, works now for both - available & un-available ! Thank you @Arie_J_Godschalk

---

<div class="post-metadata">

**Author:** ![Michael\_Justus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_justus/32/35777_2.png) [@Michael\_Justus](https://community.homey.app/u/Michael_Justus)\
**Post date:** [May 26, 2023, 11:27am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1329 "2023-05-26T11:27:16Z")

</div>

Hello Arie,

Short feedback:  
My problem from Sunday was back.  
All AVDs are not available.  
This is apparently since 04:08 tonight when Homey was updated to version 8.1.4.

I have now installed your test version 2.13.7 and now everything works again  
Problem fixed.

You are a prophet and fix problems before they occur. 🙏 👍

---

<div class="post-metadata">

**Author:** ![Michael\_Justus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_justus/32/35777_2.png) [@Michael\_Justus](https://community.homey.app/u/Michael_Justus)\
**Post date:** [May 26, 2023, 11:55am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1330 "2023-05-26T11:55:22Z")

</div>

I had to restart Homey again and unfortunately the AVDs do not work again.

I have reset to v2.11.11, unfortunately does not help.  
And on the test version v2.13.7 now unfortunately also does not help.

Am I the only one who has problems with unavailable AVDS?

---

<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 26, 2023, 12:12pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1331 "2023-05-26T12:12:37Z")

</div>

Send me a diagnostic please?

---

<div class="post-metadata">

**Author:** ![Michael\_Justus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_justus/32/35777_2.png) [@Michael\_Justus](https://community.homey.app/u/Michael_Justus)\
**Post date:** [May 26, 2023, 12:22pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1332 "2023-05-26T12:22:04Z")

</div>

yes

91952aec-f917-47cf-b46d-a5c6f7ab48c3

---

<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 26, 2023, 12:37pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1333 "2023-05-26T12:37:58Z")

</div>

Okay, it seems some devices you use in reflection do not exist anymore.  
I have some more errorhandling so they don’t all crash and burn 😉

Install the new testversion:

> **[Device Capabilities](https://homey.app/en-us/app/nl.qluster-it.DeviceCapabilities/Device-Capabilities/test/)**
>
> Enhance the capabilities of devices

---

<div class="post-metadata">

**Author:** ![Michael\_Justus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_justus/32/35777_2.png) [@Michael\_Justus](https://community.homey.app/u/Michael_Justus)\
**Post date:** [May 26, 2023, 12:44pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1334 "2023-05-26T12:44:13Z")

</div>

strange.  
I do not use any reflection  
which devices are these?

With the new version it works again

many thanks

---

<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 26, 2023, 12:57pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1335 "2023-05-26T12:57:52Z")

</div>

> [@Michael\_Justus](#):
>
> which devices are these?

Not sure, but during loading of 3 AVD’s there are homeyAPI errors that the device cannot be found.

---

<div class="post-metadata">

**Author:** ![Ronwell](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronwell/32/46980_2.png) [@Ronwell](https://community.homey.app/u/Ronwell)\
**Post date:** [May 27, 2023, 6:26am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1336 "2023-05-27T06:26:35Z")

</div>

when opening a virtual device, you can have multiple yes/no sensors displayed one on page.  
how do you get multiple buttons on one page, so you don’t have to select the button from the drop down first.

---

<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 27, 2023, 6:38am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1337 "2023-05-27T06:38:13Z")

</div>

@Ronwell

Make it a button on the buttontab.

 ![Screenshot_20230527_083759_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/b/8bcbf555f198f31e1be53d8b46fbf3ea198a0a34.jpeg)

---

<div class="post-metadata">

**Author:** ![daniel3](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@daniel3](https://community.homey.app/u/daniel3)\
**Post date:** [May 27, 2023, 10:07pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1338 "2023-05-27T22:07:39Z")

</div>

I want to create a Advanced Virtual Device for when someone is coming over to sleep. Then some flows for turning off the lights should work differently. The device has a number field which can either be 0, 1 or 2. This works without problems. But after that I get stuck. Now I want to create a button, so you can manually increase the value. At 0 the device should be off, when you click on it, it should increase to 1 and turn on. If you click on it again it should increase to 2. When you click on it again it should go back to 0 and turn itself off again. Is this all possible in Device Capabilities or should I use flows to create this?

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [May 28, 2023, 8:11am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1339 "2023-05-28T08:11:36Z")

</div>

Via flows and logic variablen it should be easy to realize.  
This is just an example how to use the logic variable:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/1/61cf5e31a15b47dac06fb4eccac14e726d7398f6.png)

Maybe it’s also possible with Better Logic Library and without flows, but I am not familiar with that.

---

<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 28, 2023, 3:51pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1340 "2023-05-28T15:51:19Z")

</div>

Is it possible to reorder the values in a AVD? Sometimes after an edit, the order of my 4 values change (num 1, num 2, num 3 and num 4 are shuffled)

 ![IMG_20230528_174837](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/cefafc17e90a1335b9c89f09e3bdb0ce78f74c28.jpeg)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 28, 2023, 7:14pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1341 "2023-05-28T19:14:13Z")

</div>

@Arie_J_Godschalk , for Device unavailable/available, do you think it would be possible to add something like “duration” ? Eg. unavailable for last x seconds etc ? It would help to filter random/intermittent dropouts.  
And also I’m not sure if it would be possible also to add something like “active only once” - eg. in case of multiple devices.

---

<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 29, 2023, 6:40am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1342 "2023-05-29T06:40:28Z")

</div>

> [@Eternity](#):
>
> Is it possible to reorder the values in a AVD? Sometimes after an edit, the order of my 4 values change (num 1, num 2, num 3 and num 4 are shuffled)

No, not yet.  
Al you could do to fix it currently:  
Change all 4 icons or ShowAs and press save, then change it back and press save again.

You can make a feature request tho 😉

---

<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 29, 2023, 6:42am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1343 "2023-05-29T06:42:26Z")

</div>

> [@Sharkys](#):
>
> for Device unavailable/available, do you think it would be possible to add something like “duration” ? Eg. unavailable for last x seconds etc ? It would help to filter random/intermittent dropouts.

Not sure what you want?  
Do you mean when you put a device on unavailable yourself or when it happens automaticly?

> [@Sharkys](#):
>
> And also I’m not sure if it would be possible also to add something like “active only once” - eg. in case of multiple devices.

Also here, no idea what you mean?  
Sorry 😉

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [May 29, 2023, 7:00am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1344 "2023-05-29T07:00:14Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> or when it happens automaticly

Thanks Arie. Nope, just when it happens **automatically** , I’m using this DC functionality as kind of monitoring - eg. Yeeelights Wifi lights got randomly disconnected, eg. 1x per month - thanks to this I know that I need to reconnect power and all is fine (just to illustrate use case). However when I disconnect router, I got this for ALL Wifi lights from Yeelight, so it trigger condition multiple times, therefore eg. trigger also action multiple times which, in case you have it connected eg. with Chromecast app restart, will restart app multiple times in a row 😉

So for cases like that, would be great to have :

- device unavailable for xx seconds → trigger condition only after certain period of time
- multiple devices of same type unavailable - trigger only once

Happy to explain on another case, if needed 😉

---

<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 29, 2023, 7:10am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1345 "2023-05-29T07:10:07Z")

</div>

> [@Sharkys](#):
>
> - device unavailable for xx seconds → trigger condition only after certain period of time
> - multiple devices of same type unavailable - trigger only once

Ah, sorry, i was thinking of AVDs, but you are talking about the flowcards 🙂  
Well, i guess both would be possible, but since both require more buildin timer functions, i actually first wanna wait till homey-api v3 is completly fixed for the HP2019 and HP2023, and then implement it in DC, so i can get the memory usage down first.

Because DC is using a lot of memory atm. Before i buildin more timers, i really want to get the memory usage down 😉

Please create a feature ticket, so i can get to it when the time is right?!

---

<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 29, 2023, 7:24am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1346 "2023-05-29T07:24:17Z")

</div>

> [@Sharkys](#):
>
> multiple devices of same type unavailable - trigger only once

This one you could solve yourself tho, altho a little bit of work, since you would need to configure is for each device type.  
Update to the latest test version (i have added tokens for APP-id and device-type, but you don’t really need it for this).

Create this flow, i used the AVD’s as test device:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/28faab10be2c5517d22ed52ffe0aa36bf0a48150.png)

[Previous page](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287.md?page=65)

[Next page](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287.md?page=67)
