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

<div class="post-metadata">

**Author:** ![Niels\_Veldman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_veldman/32/31632_2.png) [@Niels\_Veldman](https://community.homey.app/u/Niels_Veldman)\
**Post date:** [August 27, 2022, 1:35pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/165 "2022-08-27T13:35:43Z")

</div>

Thanks for this great app!

I have one question: when I create a new device, only use 3 **numeric** fields, there’s always a **Yes/No** capability. It’s name is **Yes/No** and I can’t remove it. All other Names are empty.  
What do I do wrong?

---

<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:** [August 27, 2022, 1:42pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/166 "2022-08-27T13:42:11Z")

</div>

Hit ‘Name’ and erase text, and save.

 ![Screenshot_20220827-154131_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/4/947a6b358be7b2bf1154f9fc7172a8d37628c369.jpeg)

---

<div class="post-metadata">

**Author:** ![Niels\_Veldman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_veldman/32/31632_2.png) [@Niels\_Veldman](https://community.homey.app/u/Niels_Veldman)\
**Post date:** [August 27, 2022, 2:07pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/167 "2022-08-27T14:07:00Z")

</div>

The Name at **all** Yes/No fields are empty. There is no capability with the name Yes/No.  
When I enter one or more names, then they are added. But leaving all names empty removes all Yes/No capabilities, except the one that’s always there.

---

<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:** [August 27, 2022, 2:31pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/168 "2022-08-27T14:31:36Z")

</div>

Which version of DeviceCapabilities are you running?

Because the current/latest version does not create an extra Yes/No, just the default one, which can be removed be clearing the name.  
But if you have the version from yesterday evening, you might have the one with a bug in it which created one extra indeed.

---

<div class="post-metadata">

**Author:** ![Niels\_Veldman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_veldman/32/31632_2.png) [@Niels\_Veldman](https://community.homey.app/u/Niels_Veldman)\
**Post date:** [August 27, 2022, 2:49pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/169 "2022-08-27T14:49:58Z")

</div>

1.9.74 / auto-update on with test version.

---

<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:** [August 27, 2022, 2:51pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/170 "2022-08-27T14:51:28Z")

</div>

fill the name of yes/no 1, press save, clear name and save again.  
Best do this in my.homey.app so you can have the device-sensor tab open and see the capabilitites flip away and back. (or other way around)

---

<div class="post-metadata">

**Author:** ![Niels\_Veldman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niels_veldman/32/31632_2.png) [@Niels\_Veldman](https://community.homey.app/u/Niels_Veldman)\
**Post date:** [August 27, 2022, 2:53pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/171 "2022-08-27T14:53:10Z")

</div>

I did an app restart and created another new device, looks ok now.  
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:** [August 27, 2022, 2:54pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/172 "2022-08-27T14:54:33Z")

</div>

you can still “save” the first device, so keep flows intact, by following the above given steps.  
Creating yes/no again will link the yes/no back to the lost-one.

---

<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:** [August 27, 2022, 2:57pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/173 "2022-08-27T14:57:51Z")

</div>

About how heavy HOOP is:  
The app.json of hoop is 8746 lines (mostly handwriten).

DeviceCapabilities currently in develope is allready 13415 lines 🙂

For each icon included, it has 4 capabilitites each in a few variants, so there are a loooooottt of possible capabilitites.

**Fortunately those possible capabilitites (is purly capability definitions) are not memory heavy in any way.**

---

<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:** [August 27, 2022, 2:58pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/174 "2022-08-27T14:58:34Z")

</div>

List of icons will be updated shortly:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/9154589a99d8b0476dab4d7bd5e1d9e727209e4e.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:** [August 27, 2022, 3:31pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/175 "2022-08-27T15:31:03Z")

</div>

Coming up: 10 possible Camera’s 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0c3bc22c4b990e33398280a45c39102999768cec.jpeg)

---

<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:** [August 27, 2022, 3:35pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/176 "2022-08-27T15:35:14Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Yeah, hoop is heavy, but just as heavy as DeviceCapabilities, no more or less.  
> But i needed the device elevator so the app has access.  
> Writing another app takes quite some time, so this was the only way to fix it.
> 
> HOOP itself just uses webapi, the exact same as DeviceCapability, but with increased access (athom-cli access). It works the same way as homeyscript works, except an ElevatorDevice for increased security.
> 
> And like i sayed, no devices are needed from hoop, i put the card in the main action cards.

Good to know, no criticism, maybe my imagination about the app memory usage was not right. And thx for explanation about the elevator rights cause I asked myself why hoop can handle the device naming and devicecapabilities do 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:** [August 27, 2022, 5:13pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/177 "2022-08-27T17:13:13Z")

</div>

DeviceCapabilities, and other apps that use the Athom-Api, don’t really have all rights to do everything on Homey, as it is states on the permitions section on the App site.

I though HomeyScript could do that, it has higher scopes/access then any other App.  
But apparently it also has not enough rights.

HOOP version 0.1, 2 years ago, accessed the HomeyScript App to create a script that returned the access code from HomeyScript, then executed that script to retrieve the code and then used that code as the elevation to HOOP. But as soon as i submitted it for Review, and Athom realized the hack used, and that there was no way for them to stop the security-breach, then they decided that Apps no longer could connect to HomeyScript.  
After that, HCS with an Elevator to use the Athom-Client scopes was the only way to give HOOP enough “power”.

---

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [August 27, 2022, 5:43pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/178 "2022-08-27T17:43:02Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> Ready in test: 10 times all fields!
> 
> @Le_Cactus unlimited is not possible when i use Default Device Settings, the are fixed before install.  
> But i did create a script that writes the app.json for me, so when i add something, a setting for instance, i dont need to add it 10 \* 5 \* 4 times.

> [@Arie\_J\_Godschalk](#):
>
> Yes! I found a way:  
> In the next version, not yet in test, you can set Yes/No’s as a Button and then “disable” it.  
> This way you get it as a sensor value ( i will check if i can hide it) and not as a button.  
> Also you cannot click on the button.  
> But in the Mobile App, the Device gets dark or light based on the value of the Yes/No, which you can set through FlowCards.
> 
> 🙂
> 
> No buttons, but dark when “Nee/No”.  
> And light when zet to true/yes.

Played around with this, and this was exactly what I ‘needed’, everything works now as expected! Great work!!!

With this I can replace some extra flow and make some virtual device even better. 👌

---

<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:** [August 27, 2022, 5:46pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/179 "2022-08-27T17:46:57Z")

</div>

Please note that i will change a few “small” things:

- Yes/No Show as → DropDown
- Button Show as → DropDown
- SetClass, this way you can set the class that you would like (since it sometimes makes a difference for other apps): like make it a Light device, or a mower perhaps 😉

So as long as its Test version, there might be some small changes.

---

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [August 27, 2022, 6:17pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/180 "2022-08-27T18:17:42Z")

</div>

In the version 1.9.74 you can only set the status text if you also set a number. So the number isn’t optional anymore. Tried the normal fixes (rename status field, restart the app) but is seems it’s a program glitch. Just a heads up 🙂

---

<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:** [August 27, 2022, 6:18pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/181 "2022-08-27T18:18:32Z")

</div>

Depends on where you want to see it?  
In Mobile or WebApp?

---

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [August 27, 2022, 6:24pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/182 "2022-08-27T18:24:04Z")

</div>

Both. If you also add a number they are both (the status text and number) visible on web and mobile. I know mobile doesn’t update (alrhough changing zone, or close and reopen app does reflect the new values) but without a number the status text isn’t updated, both in mobile and web. It is set to just a dash (-)

---

<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:** [August 27, 2022, 6:30pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/183 "2022-08-27T18:30:13Z")

</div>

Yeah allready thought it would be an issue: how do i know if you want to clear the number or just wanna leave it empty so it remains the same as it allready is…

Just created an extra flowcard to only set the text.  
So if you take the numbercard, it is ment to Clear the number.

---

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [August 27, 2022, 6:38pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/184 "2022-08-27T18:38:07Z")

</div>

Supurb!

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

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