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

<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 5, 2022, 4:36pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/406 "2022-09-05T16:36:08Z")

</div>

> [@Peter\_Kawa](#):
>
> I can test again if you like.  
> I just restarted Homey and won’t add AVD’s for a while.

Did not edit anything, but it was unresponsive almost right away.  
(With unresponsive I mean ‘frozen for 10s or more’.)

Some graphs, the high loads are from starting up (twice), it seems not load related to me. (EDIT: ofcourse not, while the webapp isn’t unresponsive.)

 ![Screenshot_20220905-172907_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/ebeb8eeaf668f36166bf27fb6afec43de27eb05a.jpeg)

And like I wrote earlier, when I go straight to Apps \> DC app, I can edit the devices with quite normal response.

Oh, in advanced settings, only the long fields list freezes a few times when scrolling down, it takes long long waits before I can scroll further down again.

---

<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 5, 2022, 4:50pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/407 "2022-09-05T16:50:05Z")

</div>

Ill continue with it tomorrow.  
I think it might have nothing to do with the AVD, but with the DC watchers.  
Do you use any watcher flow cards?

---

<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 5, 2022, 7:06pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/408 "2022-09-05T19:06:31Z")

</div>

I’m sorry no, I don’t use any watcher card…  
Just a few “App x started” trigger cards.

> [@Arie\_J\_Godschalk](#):
>
> but my Mobile App is not showing real slowness like yours.

I don’t hear others about it as well…  
Maybe completely removing the app helps.  
Or a factory reset & restore a backup.  
Then all apps get freshly downloaded, and my AVD’s keep existing (not crucial).

---

<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 5, 2022, 10:34pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/409 "2022-09-05T22:34:43Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Also, with Retrieve Insights card, you can now also retrieve values from Manager, like Apps:  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed497acef35b1dd8ad9a30dcbbe4392647704941.png)

Thats really neat!  
Now we can set a limit to the max. amount of used memory used by apps.  
And even automatically disable or restart ‘hungry’ apps.

---

<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 6, 2022, 4:56am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/410 "2022-09-06T04:56:22Z")

</div>

Please dont, you’ll removing testing capability.  
Working on it today.

---

<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 6, 2022, 5:33am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/411 "2022-09-06T05:33:03Z")

</div>

Okay, today i’ll be testing, debuging and finalizing the AVD.  
I’ll report the findings in this post.

First of:  
I have 30 devices, 5 off them fully loaded with (double) capabilities.  
This has been running all night.  
I allready had a couple of watcher for apps and device-capabilities.

I had it running in non-debugmode:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/74e048f6c1c0701d7f995debda82042570d76925.png)  
It stays at a pretty level 23-24MB memory usage.  
  

EDIT 1

* * *

It does not matter how many devices you have or how many capabilities they have, you can have many hundreds of total capabilities, and performance does not go down and memory usage does not go noticable up.

However, i did find the issue @Peter_Kawa reported on:  
Complete unresponsiveness of the Homey Mobile App.

This is caused by the Set Status (text) card.  
Setting/changing the text on the Device Tile (units to a number) is to hard for the Mobile App.

I have executed the next flow.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/685fe0065f17dcc14cdd6051d00114e7db02642e.png)

This flows changes the Status Text as fast as possible (without setting it unavailable/available again, so Mobile is not even updated).  
When i run this, within about 10-20 seconds, Web is done (Chrome, FireFox, Edge, al the same time and values changes at the same time as debuging says it happends.  
However: When Web is done, Mobile is not! In the above example, when Web is at the 3th Test5, Mobile is still at the 2nd Test5.

If i run the same flow, but with the true setting of the text within a setUnavailable and then a setAvailable, you see Mobile flashing way after all Web’s are 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 6, 2022, 10:41am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/412 "2022-09-06T10:41:44Z")

</div>

@Caseda  
In a upcoming update, still before live release:

- Set boolean, number and button has an optional “execute flowcards (When) =Yes/No”.  
This will, as the names gives away, execute flowcards (set/changed) when set to Yes.
- When Set boolean, number and button has an optional mode: Set or Changed.  
When set to Changed, will only trigger the flow when the value has changed, not when it is set.

---

<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 6, 2022, 11:19am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/413 "2022-09-06T11:19:41Z")

</div>

Also, Set text and when text has set/changed.  
And better descriptions for flowcards.

---

<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 6, 2022, 11:32am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/414 "2022-09-06T11:32:44Z")

</div>

And added the last Sensor options to Numberfields:

’ {“id”:“measure\_co”, “label”:“CO (Sensor)”}, '+  
’ {“id”:“measure\_co2”, “label”:“CO2 (Sensor)”}, '+  
’ {“id”:“measure\_pm25”, “label”:“PM2.5 (Sensor)”}, '+  
’ {“id”:“measure\_humidity”, “label”:“Humidity (Sensor)”}, '+  
’ {“id”:“measure\_pressure”, “label”:“Pressure (Sensor)”}, '+  
’ {“id”:“measure\_noise”, “label”:“Noise (Sensor)”}, '+  
’ {“id”:“measure\_rain”, “label”:“Rain (Sensor)”}, '+  
’ {“id”:“measure\_wind\_strength”, “label”:“Wind strength (Sensor)”}, '+  
’ {“id”:“measure\_wind\_angle”, “label”:“Wind angle (Sensor)”}, '+  
’ {“id”:"measure\_gust\_strength ", “label”:“Gust strength (Sensor)”}, '+  
’ {“id”:“measure\_gust\_angle”, “label”:“Gust angle (Sensor)”}, '+  
’ {“id”:“measure\_power”, “label”:“Power (Sensor)”}, '+  
’ {“id”:“measure\_voltage”, “label”:“Voltage (Sensor)”}, '+  
’ {“id”:“measure\_current”, “label”:“Current (Sensor)”}, '+  
’ {“id”:“measure\_luminance”, “label”:“Luminance (Sensor)”}, '+  
’ {“id”:“measure\_ultraviolet”, “label”:“Ultraviolet (Sensor)”}, '+  
’ {“id”:“measure\_water”, “label”:“Water flow (Sensor)”}, '+  
’ {“id”:“meter\_power”, “label”:“Energy (Sensor)”}, '+  
’ {“id”:“meter\_water”, “label”:“Water meter (Sensor)”}, '+  
’ {“id”:“meter\_gas”, “label”:“Gas meter (Sensor)”}, '+  
’ {“id”:"meter\_rain ", “label”:“Rain meter (Sensor)”} '+

EDIT

* * *

Meaning, you can now for instance set it to Humidity and Create Flowcards to true:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/177bc5db83ce530670446fc1a3ba5c4fd73f55b6.png)

And then you will also get the (Default Homey) Humidity has changed card:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0bce1457e448b44dff68429a382e69a83652eba.png)

Also, apps like \< group \> can “see” this device with Humidity.

Any option available to Homey should be available.

---

<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 6, 2022, 11:49am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/415 "2022-09-06T11:49:52Z")

</div>

Update to Test right now.

It might recreate so capabilities, bacause i now have the option to create separate capabilities for _each_ field. And for most, by default off, only numbers and buttons have it by default On, but it will only be put to On when you also select to have insights or a tag. And this is when it is needed, so that is fine.

Status by default has no insights or tag, and does not create an separate capabily anymore.  
Else when setting the status text, Mobile takes twice as long to finishes.  
You can turn it on tho if you like.  
When its turned off, changing an icon makes you need to reset the Status Indicator.

Meaning, you would need to do that yourself.

---

<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 6, 2022, 12:55pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/416 "2022-09-06T12:55:56Z")

</div>

All my test seems fine, translations seems done and custom\_icons are all filled by default.  
All/most of the request here have been added or resolved, as fas as i know.

I think its time to upload version 2.0 and request a review.

---

<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 6, 2022, 1:37pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/417 "2022-09-06T13:37:22Z")

</div>

Review has been requested and a list of “bugs” and other findings have been submitted as ticket to Athom.

---

<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 6, 2022, 4:50pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/418 "2022-09-06T16:50:44Z")

</div>

Water meter is broken down after the update. For the update it worked fine I do not see what is broken?  
Versie 2.0.1

[https://homey.app/f/EuoJjc](https://homey.app/f/EuoJjc)

 ![Screenshots_2022-09-06-18-49-53](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/4/14f422c92152bb976e2bc960465d8aedbbfd5963.png)

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [September 6, 2022, 5:09pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/419 "2022-09-06T17:09:33Z")

</div>

I like this way of implementation! does take some extra work, but it works 😃  
still found an issue for you though 😛  
If you set the THEN flow cards (back) to “further nothing” (verder niks) it will give me an “invalid argument” error

And it kind of looks like the tag isn’t created (text capability) without the extra capability, but that might be a migration issue too.

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [September 6, 2022, 5:10pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/420 "2022-09-06T17:10:31Z")

</div>

enable the “create tag” (Creëer tag) setting, you probably need to re-select it in your flow(s) too.

---

<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 6, 2022, 5:42pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/421 "2022-09-06T17:42:34Z")

</div>

No matter what I turn it on or off it won’t update. When I press test I get a green check in the flow

---

<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 6, 2022, 5:42pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/422 "2022-09-06T17:42:38Z")

</div>

Hey, i cannot see which TAG you are missing, what is the questionmark.  
Just make sure to put the Create Tag On for the field you wanted to use the tag from.  
If that still does not recover the questionmark-tag, put create Separate capabilities on yes for that same 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:** [September 6, 2022, 5:43pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/423 "2022-09-06T17:43:16Z")

</div>

> [@HuisCHovens](#):
>
> No matter what I turn it on or off it won’t update. When I press test I get a green check in the flow

Do you use Set Expression?  
Because it has a bug, been solved, publishing now.

---

<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 6, 2022, 5:44pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/424 "2022-09-06T17:44:37Z")

</div>

New Test version now in test:  
the Set [field] to [expression] card was bugged.  
It has now been resolved.

---

<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 6, 2022, 5:45pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/425 "2022-09-06T17:45:32Z")

</div>

Oke maybe its the expression card.  
Tag from watermeter.

 ![Screenshots_2022-09-06-19-44-08](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6b9d7ba1d9eb15f0187d263c2a7850869d296c04.png)  
 ![Screenshots_2022-09-06-19-43-39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/c/bc0214f8bb99a54653abf650bdc5566d562ddb85.png)

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

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