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

<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:** [June 13, 2023, 8:21pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1408 "2023-06-13T20:21:02Z")

</div>

> [@Heula](#):
>
> Is my reflecteer setting okay or was that not set correctly?

No, afaik it looked alright.  
But when i use reflect, it will show it very differently in the device-log of the real lamp.  
So i need to specificly test this on the HP2023.

Could you send me the TEF for that AVD?  
I’ll look into it when i can, but not tonight 😉

---

<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:** [June 13, 2023, 8:49pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1409 "2023-06-13T20:49:48Z")

</div>

![Screenshot_20230613-224352_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/3/9342950a70ff1fd8f444e14d3122ebd2fb78ebb4.jpeg)

For what it’s worth and FYI:  
On Pro19 I had similar motion sensor issues with the group app by Jamie, and the Tuya Cloud app.

When those apps were updated, and / or restarted, all (grouped) motion sensors reported a motion alarm by themselves.

Maybe it’s related.

@Heula now you know why I update most apps + Homey myself, not automatically 🤪

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 5:49am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1410 "2023-06-14T05:49:48Z")

</div>

I think the issue can be found in this setting in the image. I have removed that setting for now to see what happens. Can you confirm this setting is good or wrong?  
Edit: I also notice when I do a repair to any of my light avd’s and hit save all the lights in that avd turn on.

 ![2023-06-14 07_38_30-Homey 2023 Alex en Astrid](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2b82882f237b16b58494f410b97282c67b9a0471.png)

I can’t send the TEF because of this error I get when I hit reply.

 ![2023-06-14 07_47_47-APPPro Device Capabilities - Enhance the capabilities of devices - Apps - Ho](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/6/46443e38435111ea5774e79e6638f2dfd889c47b.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:** [June 14, 2023, 6:38am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1411 "2023-06-14T06:38:05Z")

</div>

> [@Heula](#):
>
> I can’t send the TEF because of this error I get when I hit reply.

Uncheck the Include Icons option during Export.  
And Uncheck the Include Flows.

I only need the AVD background/real settings.

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 7:09am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1412 "2023-06-14T07:09:13Z")

</div>

Here you are.

```auto
[tef:AVD:"H4sIAAAAAAACA51X23KiSBh+lSlq7gwrNM0pVXOhEpXEMZ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zgiaoenafj7O9hzsoHy7ey86LFL/hLO1uG8ej4zEE+K7BatHPEowszZngvv6+134/p0D3+SOrLJcnSnnXstAUbiOn+215CmmCTEWsa4hERomFJECVFH3DOya0DEdPavJPA7nJGaZkRlBSRqTF5rOODoEmAi/f+0DuGBjimH4aGkv80XVjtPMlg5fu7tkT7k3b5imLukTXsgNImiSdGJ/gMYnlrd0O0gycCiatQWdfKurZEnGGcohiuLN0u/4X/V6x76wOwYw/393NiG9zELm8/H5ffWpByBpRu4BmBo2JUkVJcnkaA4MR3QQ1ETVQ4aKCDYAUM95+PUhvRqiOKVow+bSweqgQOc3cyeUV3/gM0oGvIIHJf824QCRVVX4Qr6e2TpV2Dg4DCOfwKNcPmRyOl/HbT4YnmPGF9OT720LzebkwNvXsLvjX1K0YqkSEiRhfGD+GEhkeMAq8jwioj1pe0W+KkfO3cpnyb4EIXs5lQBn9cEf9ZWz+soZ/e1S57dl4PN3QEG9bBuhbkr5rpiKhB2Vrx9xCBShwp8/pgSJqEHVg0Bydb4xx7vipjHa78nO7wUQqXzs5o5xFhdPbob8IVfOC+hfHqFcPyDsLzyJ+fkbx2g+KWQfAp9tXBcki2B/hujhEy03mR28dyHYX2+uxFbz7IPtyv26Kefm65+twCdl1gyTo9WJ7U5RyJjMkB/wfS4eZxf2j6P+vn+Oppqu4YqSqfI3rAuQaBAdizLQJU9TZKyDEzTN3nRF6/6wCJ/hVuXR2iAQQsEXgjlg5ZKpz07fPwWgHL/6voCbo6X7U3nU4hT89/JsX5ubG3C0qX9yakha7hSrsuOpLhCJosoi1LlnhyhQdBxIXAhUWdPgeacXDoIpqXB/9C77Z+YTp3xGt33fYcqua1wYcce/fv8LJojsSaMPAAA=":/tef]

```

---

<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:** [June 14, 2023, 7:42am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1413 "2023-06-14T07:42:18Z")

</div>

Do you have any flows connected to this AVD?  
If so, please share a print-screen?

I cannot yet simulate this issue, i have create a lot of VD devices to test it, but there is nothing happening when i restart DC (tested it on the HP2023).

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 9:49am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1414 "2023-06-14T09:49:56Z")

</div>

Two different flows.  
One that came with the avd and one that controls my sensors.

 ![2023-06-14 11_47_25-Homey 2023 Alex en Astrid](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/b/3b35fdd4ed751094a55f77cdb5a7ae8bdbdcd1d5.png)  
 ![2023-06-14 11_48_20-Homey 2023 Alex en Astrid](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/5/e58351b43209bd26c500da4c73ebd03474fe6866.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:** [June 14, 2023, 10:03am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1415 "2023-06-14T10:03:42Z")

</div>

> [@Heula](#):
>
> Two different flows.  
> One that came with the avd and one that controls my sensors.

LOL, this flow is ment for “old” AVDs without reflect/react 😉

Which template was this? This one?

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/46):
>
> Control 2 dimmable lights as one This AVD let’s you control two dimmable lights as if it were one. When the AVD button is pushed, both lights will be switched on or off. And when the Dim slider on the AVD is changed, both lights will be set to that dim value. Also, whenever a light is turned on or off, the AVD will turn it’s button on, when one of the lights is on. When both are off, the OnOff button on the AVD will be Off also. There are also two Buttons on the buttontab, which shows t…

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 10:38am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1416 "2023-06-14T10:38:27Z")

</div>

That is the template I used back than.  
Now I get why this happens, I already turned off all the reflect options in all of them and it looks like that solved it for now.

Do I have to setup all my light avd again with a new template?

---

<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:** [June 14, 2023, 11:29am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1417 "2023-06-14T11:29:56Z")

</div>

> [@Heula](#):
>
> Do I have to setup all my light avd again with a new template?

Well, i don’t have a great Template for use with reflect/react yet.  
The import module in which you can set your own devices only work for importing flows (of AVDs), i don’t have a configurationpage yet when importing an AVD with reflection to change the devices to your own during import.

Issue what you had, is that it used reflect and react, but you also had flows handeling the same logic 🙂

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 2:55pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1418 "2023-06-14T14:55:02Z")

</div>

Okay, clear. I have removed those reflect en react settings and will have look at the logic of the flows.  
Perhaps you can point me in the right direction what same logic you mean?

If I want to use the reflect and react options should I disable this flow than? Or does that make no sense?

 ![2023-06-14 11_47_25-Homey 2023 Alex en Astrid](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/b/3b35fdd4ed751094a55f77cdb5a7ae8bdbdcd1d5.png)

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 3:24pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1419 "2023-06-14T15:24:09Z")

</div>

I made a ticket at Athom about this “Homey bug” and they responded like this.

_Hi Alex,_

_Thank you for reporting this issue._

_Unfortunately, this issue concerns an app that is not developed by us, but by one of our valued community developers._  
_You can contact the developer of this app via the Homey App Store. Please contact him so he is aware of your reported issue._

_If you have any issues regarding the Homey software or mobile app, feel free to contact us again._

_I hope I have handled your support request to your satisfaction, even though I was only able to point you in the right direction this time, which is why I will close this ticket now. Please feel free to reopen this ticket by replying to this message if you need any further support._

_Thanks again for your input, we appreciate it!_

_I wish you a great day and a lot of fun with Homey!_  
_Best Regards,_

_The Athom support team._

---

<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:** [June 14, 2023, 3:46pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1420 "2023-06-14T15:46:09Z")

</div>

That suckes, because a common.x on a boolean tag has nothing todo with my app.

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 14, 2023, 4:21pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1421 "2023-06-14T16:21:54Z")

</div>

I have reported back that you have told me it’s a Homey bug.  
We will see how they respond next. 😉

---

<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:** [June 15, 2023, 8:37am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1422 "2023-06-15T08:37:21Z")

</div>

# Update

The below flowcard has been bugfixed  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df4f502719b72ff59db4aa02be3ea65a438c6c5f.png)

- When you set a new/first flowcard for a device.capability, the duration would be based on the current moment. It will now check when the capability of the device was set, and if the condition is true, then the moment of triggering would be based on the moment the capability was last set.  
Meaning: If you set a flowcard for a duration for f.i. a minute, and the capability meets the condition and was last set more then one minute ago, the trigger will be activated directly after saving the flow.
- When setting the card for the first time for a new device and/or capability, it would not always validate the condition correct and thus not be set correctly and would only get active after the capability changed.
- When a flowcard would be deleted (and there was no other flowcard for that device.capability, and a new flowcard would be set for the same device.capability, the moment when the card would be triggered would be wrong.
- When the app was updated or restarted, and any of the flowcards would be updated (meaning saved or flow en-/disabled), it could be wrongly triggered or not triggered.

**Update to 2.14.0 to resolve these issues.**

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [June 15, 2023, 4:59pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1423 "2023-06-15T16:59:39Z")

</div>

Athom has answered already again.

_Hi Alex,_

_Thank you for your reply and for letting me know you’ve contacted Arie about this issue._

_The developer knows how to contact us, regarding this issue, so he and our developers will discuss the issue._

_For now this is all I can do for you, which is why I’m closing your ticket. If you need additional support, please feel free to re-open your ticket by answering this email._

_I wish you a great day and a lot of fun with Homey!_

---

<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:** [June 15, 2023, 6:42pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1424 "2023-06-15T18:42:59Z")

</div>

> [@Heula](#):
>
> lot of fun with Homey

🤣 🤣 🤣  
I wonder, irony or just a wish ?

---

<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:** [June 16, 2023, 4:47pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1425 "2023-06-16T16:47:01Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Then i have placed the next code in the Unit Expression:  
> `'Temp\n'+ $values[1] + ' Hum'`  
> The result is:
> 
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/0/c0b51f72d19f3480baad7dc2a6f4decb5938c398.png)

In case anyone was also struggeling for hours with:

#### Converting the _first_ one of the values from 0 - 1 to 0 - 100

I used this as **BLL expression** :

```auto
$values[0]*100

```

> ![Screenshot from 2023-06-16 18-37-40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/062ed7c1a1d7964475c60f0009faae54be1e4f40.png)

Result @ mobile tile:

> ![signal-2023-06-16-174439_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cc11e9b62b55231d3884f5574a1d23993b91b169.jpeg)

#### To convert the other values, I entered this as **BLL expression (Unit)**:

`'`%\nT: `'` +$values[1]\*100` + '`°C`'`  
  
Notice the temperature now is multiplied by a 100 😉

> ![Screenshot from 2023-06-16 18-40-40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb21da5e5cd87e4af0674383f2a6f5e34c40617f.png)

---

<div class="post-metadata">

**Author:** ![Jeroen\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_w/32/9803_2.png) [@Jeroen\_W](https://community.homey.app/u/Jeroen_W)\
**Post date:** [June 16, 2023, 9:22pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1426 "2023-06-16T21:22:48Z")

</div>

When the client or user tag is empty, then this information isn’t available in Homey at all?  
I want to check who changed the AC temp, to determ if it was a manual action or not.

---

<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:** [June 16, 2023, 9:28pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1427 "2023-06-16T21:28:39Z")

</div>

Indeed, that is not saved for numbers, only yes/no (buttons).

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

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