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

<div class="post-metadata">

**Author:** ![Fac3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fac3/32/4550_2.png) [@Fac3](https://community.homey.app/u/Fac3)\
**Post date:** [October 24, 2022, 8:20pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/829 "2022-10-24T20:20:58Z")

</div>

I also can use “Virtual Devices” app for adding a virtual home alarm, where the screenshots are came from but I wanted to use this app… I’m worried about Virtual Devices will not be updated for Homey Pro 2023…

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [October 25, 2022, 6:42am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/831 "2022-10-25T06:42:09Z")

</div>

I’m afraid you’re right with your worries about the Virtual Devices app, the owner stopped development on it.  
Anyway, the Homeykit app maps the **homealarm\_state** _capability_ values to the Alarm device in Homekit, so in order to do this with this app @Arie_J_Godschalk needs to create a possibility to use that _capability_ on a device with 3 possible values: **armed** , **partially\_armed** and **disarmed**

I can’t remember exactly, we developed this over 4 years ago, which of the 3 Homey modes map to which of the 4 Homekit modes, but I guess you’re used to the way it works and that should be ok for you.

> <https://github.com/daneedk/com.uc.heimdall/blob/9225b90ef3d2682fdd7609beb70830e3cfd669c0/app.json#L1689>

---

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

</div>

> [@DaneedeKruyff](#):
>
> Homekit, so in order to do this with this app @Arie_J_Godschalk needs to create a possibility to use that _capability_ on a device with 3 possible values: **armed** , **partially\_armed** and **disarmed**

Hey Danee, thanks for the explaination!

@Fac3 that means that it is not yet possible with the AVD’s from DC, because the Enums/picker (multiple-values) option is not yet possbile to be added as custom field.

It is on my todo list, and i’ll make sure that these options are added.

I will however look into rewriting the VD app to SDK3, i just PM-ed the developer.

---

<div class="post-metadata">

**Author:** ![Fac3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fac3/32/4550_2.png) [@Fac3](https://community.homey.app/u/Fac3)\
**Post date:** [October 25, 2022, 8:21pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/833 "2022-10-25T20:21:18Z")

</div>

@DaneedeKruyff ! Thanks for clarification! 😉

@Arie_J_Godschalk Wow! Big-big thanks in the name of the community for your efforts! 👏

---

<div class="post-metadata">

**Author:** ![Fac3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fac3/32/4550_2.png) [@Fac3](https://community.homey.app/u/Fac3)\
**Post date:** [October 25, 2022, 8:30pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/834 "2022-10-25T20:30:31Z")

</div>

Right, no need for all four options what HomeKit offers, especially because Homey supports only three as you described above. Probably in HomeKit both “Home” and “Night” should mean “Partially Armed” in Homey but anyway, it is not the important part. The most important is to create the way for Homey to send critical iOS notifications (while iOS in silent mode for example) via HomeKit to a smart phone if a home is under alarm.

---

<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:** [October 26, 2022, 3:56pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/835 "2022-10-26T15:56:41Z")

</div>

> [@Arjan-21](#):
>
> Also one text device instead of all texts won’t work (or all booleans).

This is resolved in a next update: The All […] will not be shown in the trigger (when) cards.

---

<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:** [October 28, 2022, 2:38pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/836 "2022-10-28T14:38:11Z")

</div>

> [@DaneedeKruyff](#):
>
> Anyway, the Homeykit app maps the **homealarm\_state** _capability_ values to the Alarm device in Homekit, so in order to do this with this app @Arie_J_Godschalk needs to create a possibility to use that _capability_ on a device with 3 possible values: **armed** , **partially\_armed** and **disarmed**

@Fac3  
Coming up: Lists as fields.  
Default options

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/c/bca068163dfecd96fdbc5ab793f787a3922f9272.png)

### Example for the Home Alarm State.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3de5e9273c4c8dfe66b5c4a7d0c5af7c9c57b0f4.png)

### You can control these through flows and react to them:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/82ced1c80c662db9b0b8604f96181abc7fb3e474.png)

N.b. Make sure to put the Create Flow Cards on true if you want these Lists/Enum Fields to be seen by other apps and services.

---

<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:** [October 28, 2022, 3:13pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/837 "2022-10-28T15:13:20Z")

</div>

It’s in test now: partially-Custom Lists/Pickers/Enums/Dropdown/Selects.  
However you want to call it 😉

If you want a custom list, just send a request with the texts and values etc.  
Then we can add it.

---

<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:** [October 28, 2022, 4:08pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/838 "2022-10-28T16:08:21Z")

</div>

Ah nice!

So a thermostat “wheel” is alr. present?  
 ![Screenshot from 2022-10-28 18-09-36](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/3/c3d3ae246573a48deb19a35aa6708d9d245e790f.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:** [October 28, 2022, 4:11pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/839 "2022-10-28T16:11:53Z")

</div>

> [@Peter\_Kawa](#):
>
> I’d like a thermostat mode ‘wheel selector’ very much 😉

I need a list with items with

- ID
- Name

I think the nicest thing is to give it from the real device i guess, if you have that:

```auto
let name = 'Test AVD';
console.log(JSON.stringify(_.find(await Homey.devices.getDevices(), d=>d.name=='name ').capabilitiesObj));

```

---

<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:** [October 28, 2022, 4:13pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/840 "2022-10-28T16:13:11Z")

</div>

> [@Peter\_Kawa](#):
>
> So a thermostat “wheel” is alr. present?

Yes, but with the default Automatic, Heat, Cool, Off options.

If you want it differently, i can add it, if you create a list, preferable with EN, NL and DE.

---

<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:** [October 28, 2022, 4:13pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/841 "2022-10-28T16:13:43Z")

</div>

> [@Le\_Cactus](#):
>
> You think implementing a slector/slider like thermostats have would be possible? Like this:

Hey @Le_Cactus , this is now possible with the test version.

---

<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:** [October 28, 2022, 4:30pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/842 "2022-10-28T16:30:09Z")

</div>

```auto
{"measure_temperature":{"value":19.63,"lastUpdated":"2022-10-28T16:30:57.674Z","type":"number","getable":true,"setable":false,"title":"Temperature","desc":"Temperature in degrees Celsius (°C)","units":"°C","decimals":2,"chartType":"spline","id":"measure_temperature","options":{}},"target_temperature":{"value":19.5,"lastUpdated":"2022-10-28T15:30:15.742Z","type":"number","getable":true,"setable":true,"title":"Target temperature","desc":null,"units":"°C","decimals":2,"min":4,"max":35,"chartType":"stepLine","id":"target_temperature","options":{}},"measure_humidity":{"value":66,"lastUpdated":"2022-10-28T15:20:13.696Z","type":"number","getable":true,"setable":false,"title":"Humidity","desc":"Humidity in percent (%)","units":"%","decimals":2,"chartType":"spline","id":"measure_humidity","options":{}},"thermostat_mode":{"value":"auto","lastUpdated":"2022-10-28T15:30:15.766Z","type":"enum","getable":true,"setable":true,"title":"Mode of this room","desc":"Smart Schedule mode of this room","units":null,"values":[{"id":"auto","title":"Follow Smart Schedule"},{"id":"manual until","title":"Until next time block"},{"id":"manual","title":"Manual"},{"id":"off until","title":"Off until next time block"},{"id":"off","title":"Off"}],"id":"thermostat_mode","options":{}},"heating_capacity":{"value":0,"lastUpdated":"2022-10-28T02:09:22.879Z","type":"number","getable":true,"setable":true,"title":"Heating capacity","desc":null,"units":"%","iconObj":{"id":"875bfc60ed412bb48e02f4945dc15697","url":"/icon/875bfc60ed412bb48e02f4945dc15697/icon.svg"},"id":"heating_capacity","options":{}},"todays_heating_capacity":{"value":1.82,"lastUpdated":"2022-10-28T02:12:47.390Z","type":"number","getable":true,"setable":true,"title":"Todays heating demand","desc":null,"units":"%","decimals":2,"iconObj":{"id":"00fb68703c9b23c25c2a46499ab23fca","url":"/icon/00fb68703c9b23c25c2a46499ab23fca/icon.svg"},"id":"todays_heating_capacity","options":{}},"alarm_battery":{"value":false,"lastUpdated":"2022-09-25T12:59:07.825Z","type":"boolean","getable":true,"setable":false,"title":"Battery alarm","desc":"True when there is a battery warning","units":null,"id":"alarm_battery","options":{}},"detect_open_window":{"value":false,"lastUpdated":"2022-10-09T19:28:28.826Z","type":"boolean","getable":true,"setable":true,"title":"Window Open","desc":null,"units":null,"iconObj":{"id":"11bcf5fad7368aca722a997489223816","url":"/icon/11bcf5fad7368aca722a997489223816/icon.svg"},"id":"detect_open_window","options":{}},"hotwater_mode":{"value":"auto","lastUpdated":"2022-10-26T18:30:20.214Z","type":"enum","getable":true,"setable":true,"title":"Hot water mode","desc":"Mode of hot Water","units":null,"values":[{"id":"auto","title":"Follow Smart Schedule"},{"id":"manual until","title":"Until next time block"},{"id":"manual","title":"Manual"},{"id":"off until","title":"Off until next time block"},{"id":"off","title":"Off"}],"id":"hotwater_mode","options":{}},"target_temperature.hotwater":{"value":55,"lastUpdated":"2022-10-28T16:30:15.107Z","type":"number","getable":true,"setable":true,"title":"Target temperature Hotwater","desc":null,"units":"°C","decimals":2,"min":30,"max":65,"chartType":"stepLine","id":"target_temperature.hotwater","options":{"title":{"en":"Target temperature Hotwater","nl":"Ingestelde temperatuur Warmwater","de":"Ziel-Temperatur Warmwasser"},"min":30,"max":65}}}

```

“wheel selector” entries (alleen voor thermostaat gedeelte):  
EN  
Follow Smart Schedule  
Until next time block  
Manual  
Off until next time block  
Off

NL  
Volg slim schema  
Tot aan volgend tijdsblok  
Handmatig  
Uit tot aan volgend tijdsblok  
Uit

DE  
Dem intelligenten Zeitplan folgen  
Bis zum nächsten Zeitblock  
Manuell  
Aus bis zum nächsten Zeitblock  
Aus

---

<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:** [October 28, 2022, 4:39pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/843 "2022-10-28T16:39:09Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> `d=>d.name=='name ').capabilitiesObj));`

It’s without the `' '` I discovered 😉

```auto
d=>d.name== name ).capabilitiesObj));

```

---

<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:** [October 28, 2022, 4:49pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/844 "2022-10-28T16:49:44Z")

</div>

Oeps, sorry m8

---

<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:** [November 1, 2022, 11:28am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/845 "2022-11-01T11:28:22Z")

</div>

> [@Peter\_Kawa](#):
>
> “wheel selector” entries (alleen voor thermostaat gedeelte):

Okay, in [test](https://homey.app/a/nl.qluster-it.DeviceCapabilities/test/) now!

## A new Custom Picker/List:

Schedule, Until, Manual, Off Until, Off  
In NL, EN, DE.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/f/cfa0d471c85262a079ad4dbc7b2b203fd7d9a750.png)

If anyone wants his own custom lists, just send them with NL, EN and DE texts, and i’ll add them: this way we will get a good default list for everyone to pick from, or you can add it.

---

<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:** [November 1, 2022, 12:28pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/846 "2022-11-01T12:28:52Z")

</div>

Muchísimas gracias!

---

<div class="post-metadata">

**Author:** ![Fac3](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fac3/32/4550_2.png) [@Fac3](https://community.homey.app/u/Fac3)\
**Post date:** [November 2, 2022, 10:14am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/847 "2022-11-02T10:14:49Z")

</div>

@Arie_J_Godschalk you are great! I’ll PM you regarding a project!

---

<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:** [November 2, 2022, 3:55pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/848 "2022-11-02T15:55:13Z")

</div>

### Device capabilities has just been updated to 2.7.23:

It includes about 80 new icons to pick from.  
All icons from apps i currently maintain, including all Virtual Devices icons.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/ae311d687e3606add929779e0b57b8d2a1e9b930.png)

And all icons from VD:

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

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [November 4, 2022, 10:11pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/849 "2022-11-04T22:11:48Z")

</div>

Hi @Arie_J_Godschalk, did something change with the card to set all devices of a class or brand at once? I have a card that sets all curtains (forest) to 100%, but that doesn’t work anymore. Also, creating a new card does not open any device classes to be selected anymore. Thanks!

 ![Scherm­afbeelding 2022-11-04 om 23.13.06](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0d68b72fada353dc0f504558f16dc34c60edb7c6.png)  
 ![Scherm­afbeelding 2022-11-04 om 23.12.42](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1cd4ff29be60d95e761e708647b3908a85626abc.png)

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

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