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

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [November 29, 2024, 11:51am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1856 "2024-11-29T11:51:50Z")

</div>

Hmm…I was still on the latest live version 😊

So I updated to the test version. Restarted the Device Capabilities and BLL apps as well as  
Homey itself (just to be sure). However, the issue remains.

I tried changing the BLL variables in the repair screen of the AVD, but after I save the changes, the names of those vaiables shift to another one in the list. The AVD itself keeps displaying data from the correct variables.

---

<div class="post-metadata">

**Author:** ![Kjell\_Blomberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjell_blomberg/32/68738_2.png) [@Kjell\_Blomberg](https://community.homey.app/u/Kjell_Blomberg)\
**Post date:** [November 29, 2024, 11:57am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1857 "2024-11-29T11:57:11Z")

</div>

You have to restart CD after each change to get the correct names

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [November 29, 2024, 12:34pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1858 "2024-11-29T12:34:07Z")

</div>

As indicated, I have restarted the Device Capabilities (and BLL) app several times after making changes, which did not solve the issue.

I seem to have found a solution:

- Change the incorrectly displayed BLL variable to a different/random one in the list, but **not** the correct one (that is actually being used by DC for reflection):
- Then, change the random variable to the correct one in the list;
- Save the changes.

---

<div class="post-metadata">

**Author:** ![EliteAV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eliteav/32/79498_2.png) [@EliteAV](https://community.homey.app/u/EliteAV)\
**Post date:** [December 14, 2024, 2:41pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1859 "2024-12-14T14:41:39Z")

</div>

Apologies that this is probably a newbie question, although I have spent quite a bit of time searching for answers in this forum and elsewhere.

I am using HP 2023 12.2.1 & wanted to create a virtual device that could be used to store electricity kWh consumption values from an external API using Homeyscript and display using Insights.

I started with the Virtual Device app to create a senor \ power meter device. I could set a value using a flow but when I used device.setCapabilityValue in Homeyscript I was getting a ‘Capability Not Setable’ error.

I then switched to using this Device Capabilities app, added a sensor device class and a number field to show as Energy (Sensor) but got the same error when trying to set a value.  
I experimented with a couple of different number fields and when I look at these in the Homey Developer Tools app can see that any of the built in energy/power sensors are read-only whilst a Sensor (default) can be set.

However what puzzles me is if the built in/predefined energy/power sensor capabilities are read-only, how is it then possible to set them via a flow and via the creation of custom devices?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/8104e80e0110a29aade7cfcdb0fa6c86e594a5d1.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:** [December 14, 2024, 2:56pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1860 "2024-12-14T14:56:15Z")

</div>

Setable means that you as a user can set it.  
But ofc the value is setable through the device/app itself (else it would mever have a value).  
You could use homeyscript to set the value through the API or emulate a flowcard to set the value.

---

<div class="post-metadata">

**Author:** ![EliteAV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eliteav/32/79498_2.png) [@EliteAV](https://community.homey.app/u/EliteAV)\
**Post date:** [December 14, 2024, 3:07pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1861 "2024-12-14T15:07:04Z")

</div>

Thanks for the really quick response.

As noted, I am trying to set the value via HomeyScript and it doesnt work.

I modified the sample printSensorValues script as shown below:

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

The following worked 🙂 thanks for the pointer.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/90169213f1f0462e0f862db4278270f767112a13.png)

---

<div class="post-metadata">

**Author:** ![Sprotte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sprotte/32/47854_2.png) [@Sprotte](https://community.homey.app/u/Sprotte)\
**Post date:** [January 16, 2025, 8:39am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1862 "2025-01-16T08:39:46Z")

</div>

It would be awsome if i could set the `cumulative` property also for `meter_power`, `meter_gas` and `meter_water`. Then it would be possible to create a virtual smart meter that could be used with homey energy, see [Energy | Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/energy#measuring-devices)

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [January 16, 2025, 5:26pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1863 "2025-01-16T17:26:40Z")

</div>

![1000009417](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87034d6d2c351c728c792b9422467a1bd62718af.jpeg)

 ![1000009419](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/afe89b2cc55eadfd0a6ffa6ee76f225610f21714.jpeg)

I am getting this error from today after pressing one of my buttons. Has anything changed with the app?

---

<div class="post-metadata">

**Author:** ![Rogier\_Verheugen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogier_verheugen/32/77406_2.png) [@Rogier\_Verheugen](https://community.homey.app/u/Rogier_Verheugen)\
**Post date:** [January 16, 2025, 7:09pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1864 "2025-01-16T19:09:17Z")

</div>

Hi @Tirrazo

I am in contact with developer of the app. I have the same issue. Maybe it is the app but it could also be the update of the mobile app. Keep you posted.

Rogier

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [January 17, 2025, 6:42am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1865 "2025-01-17T06:42:26Z")

</div>

Hi,

Thank you for the information.  
Awaiting response from you 😊

---

<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:** [January 17, 2025, 7:39am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1866 "2025-01-17T07:39:13Z")

</div>

Longshot: does restarting the BLL app help?  
I can’t reproduce the ‘press button’ error, but the settings screen of random devices were fully empty. BLL restart solved it.

(Homey app: Jan. 14 Android beta update 9.1.0.1653)

---

<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:** [January 17, 2025, 8:08am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1867 "2025-01-17T08:08:06Z")

</div>

> [@Tirrazo](#):
>
> Has anything changed with the app?

No, the app has not changed.

---

<div class="post-metadata">

**Author:** ![Rogier\_Verheugen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogier_verheugen/32/77406_2.png) [@Rogier\_Verheugen](https://community.homey.app/u/Rogier_Verheugen)\
**Post date:** [January 17, 2025, 8:20am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1868 "2025-01-17T08:20:43Z")

</div>

Hi @Peter_Kawa

I feel kind of stupid… what is the BLL app?

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [January 17, 2025, 8:34am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1869 "2025-01-17T08:34:27Z")

</div>

What could be the issue?

---

<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:** [January 17, 2025, 8:53am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1870 "2025-01-17T08:53:04Z")

</div>

No I wasn’t clear, I meant this app, which is a great “plugin” for advanced virtual devices (in this case):  
[https://homey.app/en-nl/app/net.i-dev.betterlogic/Better-Logic-Library/](https://homey.app/en-nl/app/net.i-dev.betterlogic/Better-Logic-Library/)

---

<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:** [January 17, 2025, 11:56am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1871 "2025-01-17T11:56:51Z")

</div>

Different app, same error (after an update fw to v12.3.0)

> [@\[APP\]\[Pro\] Virtual Devices - Virtual Devices to simulate 1 or more real devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/700):
>
> “Something went wrong while controlling [device name]. Missing parameter: value”

If Arie did not update these apps… it most prob is Homey firmware related.  
It’s probably Pro 23 only.

---

<div class="post-metadata">

**Author:** ![Petclaud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petclaud/32/79271_2.png) [@Petclaud](https://community.homey.app/u/Petclaud)\
**Post date:** [January 18, 2025, 7:56am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1872 "2025-01-18T07:56:16Z")

</div>

Love your work Arie 👏

Somehow I don’t understand the “Get flows…etc” card.  
I cannot figure out what I am doing wrong.

Working example with a text and wildcard (\*)

 ![Werkend](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1c22e5b4460ae0e8a786c01e1a2cc13bf197705f.jpeg)

Using the same example, but now using a Tag, does not work:

 ![Nothing](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/2/a28e207dc7907ae3e335cd30be7bc9f26a013b8b.jpeg)

Another example using a wildcard looking for ‘Solar’. While I do have a BLL variable named Solar Opwekking:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/880cd27857f21b807687c4aca70268083e4115dc.png)  
 ![BLL](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/0856e9f7324d4a90bd6cf47fe354a5071a85d6e8.jpeg)

Using the tag Solar Opwekking, also does not work:

 ![solar tag](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/a/aa99f34e1d379d34e2bb01249447260ecaed1453.jpeg)

Likely I misunderstand, but cannot figure out what.  
And; what does ‘plat’ yes/no do…?

I am just trying to find out what flow is using a certain variable, so if there is another / better way, I am open for suggestions 😉

---

<div class="post-metadata">

**Author:** ![Sprotte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sprotte/32/47854_2.png) [@Sprotte](https://community.homey.app/u/Sprotte)\
**Post date:** [January 18, 2025, 2:11pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1874 "2025-01-18T14:11:12Z")

</div>

> [@Sprotte](#):
>
> It would be awsome if i could set the `cumulative` property also for `meter_power`, `meter_gas` and `meter_water`. Then it would be possible to create a virtual smart meter that could be used with homey energy, see [Energy | Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/energy#measuring-devices)

@Arie_J_Godschalk Any thoughts on that?

---

<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:** [January 18, 2025, 2:29pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1875 "2025-01-18T14:29:11Z")

</div>

@Sprotte Jep, its coming.

---

<div class="post-metadata">

**Author:** ![Sprotte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sprotte/32/47854_2.png) [@Sprotte](https://community.homey.app/u/Sprotte)\
**Post date:** [January 18, 2025, 4:51pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/1876 "2025-01-18T16:51:25Z")

</div>

THX 👏

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

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