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

<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 12, 2021, 1:25pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/45 "2021-05-12T13:25:02Z")

</div>

Hey, I would’nt expect a error from most on/off actions.  
But some apps/devices do, mostly the ones running through an api of some kind.  
And for those the Start and Wait for Error card, is very handy.

But what do you want to use it for?  
To know if a light is turned on yet?

---

<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 12, 2021, 1:44pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/46 "2021-05-12T13:44:17Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> But some apps/devices do, mostly the ones running through an api of some kind.

Ok, but no Z-Wave and Zigbee device connected directly to Homey. So I guess this is the “problem”.

> [@Arie\_J\_Godschalk](#):
>
> But what do you want to use it for?  
> To know if a light is turned on yet?

Yes, as I mentioned it in this [post](https://community.homey.app/t/device-capabilities-enhance-the-capabilities-of-devices/43287/31).  
Because Athom didn’t include the Flow card “Is on/Is not on” for the Fibaro Walli Switch.  
But I was thinking to complicate and @Edwin_D has already shown me the solution.

Now I just wanted to try it out to see if it works, even if I don’t need it.

---

<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 12, 2021, 1:56pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/47 "2021-05-12T13:56:18Z")

</div>

You indeed need to use the solution offeren by @Edwin_D , and it would validatie what you would want (kind off)

---

<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:** [July 15, 2022, 7:10pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/48 "2022-07-15T19:10:43Z")

</div>

Update (in review):  
The Watch trigger (When card) now also includes tokens with the User and Client (App) which activated/changed the capability value.

So you can listen to capabilities changed and know by whom.

---

<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:** [July 19, 2022, 7:59pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/49 "2022-07-19T19:59:21Z")

</div>

In Test: [Apparaat mogelijkheden - Test| Homey](https://homey.app/nl-nl/app/nl.qluster-it.DeviceCapabilities/Apparaat-mogelijkheden/test/)

**Now also a new actioncard, which retrieves the value from a capability from a device from [numberof] minutes ago (including the User and Client which changed the value).**

Example: Retrieve the value from LivingRoom for Temperature from 30 minutes ago.

No more need to temporarily save your values in a variable every 10 minutes, and having that not work when running a flow manually.

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 24, 2022, 8:48am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/50 "2022-07-24T08:48:52Z")

</div>

Hi Arie, I’m not able to fill in the capability of a sonos speaker in the then card:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04845c7a1691d2d8a06fe6738a6478d6a3c03361.png)

It’s on me or is this a bug?

Here are the capabilities of a sonos speaker:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/3/430703dc2fc677f3c07d1dc1399155e8782bfced.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:** [July 24, 2022, 10:21am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/51 "2022-07-24T10:21:09Z")

</div>

Hey Joka,

What capability are you not able to set?  
Firstly, i have 3 Then cards: Text, Yes/No and Percentage (numbers from 0-1 or 0-100%).  
And you can only set capabilities that are setable, speaker\_album for instance is not setable.

Currently i dont have enums yet or numbers that are not percentags.

But what are you missing, maybe i can build it in if its possible.

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 24, 2022, 10:46am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/52 "2022-07-24T10:46:09Z")

</div>

I see, speaker\_repeat is of type enum, that is the reason. Actually I thought it is possible to manipulate every kind of setable capability.

Thx for clarification.

---

<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:** [July 24, 2022, 11:13am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/53 "2022-07-24T11:13:21Z")

</div>

Not yet 😉

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 24, 2022, 11:22am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/54 "2022-07-24T11:22:22Z")

</div>

Maybe an idea for an extra then card could be a card which has no browsers included for device.capability type value, so the users are responsable for the input.

device.capability type value zone subzone

The reason why I like your app is the speed of execution. Nearly instantaneously without any delay even for more lights in a room. And a little bit faster than with advanced flows.

---

<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:** [July 24, 2022, 12:25pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/55 "2022-07-24T12:25:02Z")

</div>

I’ll look into it. Hopefully i can make some time available this week.

But the card you are describing, what are the possible values voor type and value?

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 25, 2022, 6:27am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/56 "2022-07-25T06:27:21Z")

</div>

The main mass devices i want to use the app for currently are lights, blinds and speakers.

I think enum and number are the most (or only) missing types. String is equal to text, right?

It would be also cool if the devices could be filled in an extra filed like in the other cards.

THX

---

<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:** [July 25, 2022, 7:04am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/57 "2022-07-25T07:04:25Z")

</div>

Hey @Joka , gonna make some time in about a hour.  
Do you mean one inputfield for devicetypes and a next field for capability, jist like the triggers card?

Because the triggers are per device, while the Zet Zone cards are per devicetypes.

Let me know how its the most usefull, and i’ll see what i can do.

---

<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:** [July 25, 2022, 7:05am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/58 "2022-07-25T07:05:41Z")

</div>

And if you or anyone else has tips/advice for beter text, explanations or description, let me know!

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 25, 2022, 7:16am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/59 "2022-07-25T07:16:30Z")

</div>

Exactly I ment an extra inputfield for devicetypes and a next field for capability like this. Please consider the dot if possible:

field [devicetype] **.** field [capability]]

I would suggest to rename the field value in text in the then card if this card is for text only:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63dccdee1382b9fcd44cb453ccf632d0daf1d688.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:** [July 25, 2022, 10:59am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/60 "2022-07-25T10:59:27Z")

</div>

Hey Joka,

Version 1.3.0 is in test: [Device Capabilities | Homey](https://homey.app/a/nl.qluster-it.DeviceCapabilities/test/)  
I added numbers and JSON, and i changed the capability into two fields (deviceclass and capability) for the ZetZone cards.

Also increased execution speed and search speed.  
Cards that have no deviceclass set will be handled like old, meaning, old flows should keep working.

Also, when there is an EnumValues error, you will get the possible values in the error message.

Can you test and see if you need anything else?

---

<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:** [July 25, 2022, 11:02am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/61 "2022-07-25T11:02:34Z")

</div>

JSON was not parsed correctly, fixed in TEST; 1.3.1

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [July 25, 2022, 12:12pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/62 "2022-07-25T12:12:03Z")

</div>

Hi Arie, what is the notation/key of the JSON I have to fill in?

---

<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:** [July 25, 2022, 12:21pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/63 "2022-07-25T12:21:35Z")

</div>

Hey Joka,

(Update to version 1.3.2 for very much speed improvement in flow editor, reduced memory usage (26.7Mb-\>18.8MB) and bugfixed).

Can you share a flow what you mean?  
Simply put, with the JSON you can set any value “directly”.  
For a text/string, enter “example” (including the quote’s), for booleans (yes/no) enter true or false, number: 0.25.

For speaker\_repeat for example, fill in “track” (including the double-quote’s).

---

<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:** [July 25, 2022, 12:30pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/64 "2022-07-25T12:30:58Z")

</div>

I have updated some title’s and placeholders (also for the JSON) for beter descriptions and it is in test: 1.3.4.

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

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