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

<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:** [December 8, 2022, 3:01pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/973 "2022-12-08T15:01:21Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> As trigger, you need the custom AVD triggercard “when xxx is set/changed/pushed”.  
> That one will not be triggered by the NothingElse card.

_Crap, I didn’t know that either._

When I tested my example flow, no timeline msgs appeared.  
But the cause was another “fine” feature of Homey: rate limited😑

---

<div class="post-metadata">

**Author:** ![Roger\_Gorissen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roger_gorissen/32/9534_2.png) [@Roger\_Gorissen](https://community.homey.app/u/Roger_Gorissen)\
**Post date:** [December 8, 2022, 3:14pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/974 "2022-12-08T15:14:29Z")

</div>

Flow when activated:

[https://homey.app/f/0O8iOj](https://homey.app/f/0O8iOj)

Flow when de-activated:

[https://homey.app/f/GwuiOj](https://homey.app/f/GwuiOj)

I think I used the right trigger, the one from DeviceCapabilities.

The flow that is started by pushing the button is this one. This is the same flow that starts in the morning to turn on the X-mas lights at 06:30. That’s why I put in the set status at the end of it:

[https://homey.app/f/uVcjOj](https://homey.app/f/uVcjOj)

---

<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 8, 2022, 3:51pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/975 "2022-12-08T15:51:57Z")

</div>

> [@Roger\_Gorissen](#):
>
> I think I used the right trigger, the one from DeviceCapabilities.

No, sorry, both (de)activating flows use the default Homey Flow cards, that are created because of the Create Flow Cards option.  
The device also has a few custom flowcard triggers, al starting with “When” (in AF, in normal flows they all end in set/pushed, and are located as first six flowcards, above al other).

You need that one for the button.

You will only need one (de)activate flow with the correct When card. Then check the value-tag from that flowcard for true or false (logic 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:** [December 8, 2022, 3:55pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/976 "2022-12-08T15:55:07Z")

</div>

Knop ingedrukt = button pushed.

 ![Screenshot_20221208_165423_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/09a19fe9eee04bf8fe601f23d43cd10baae191c9.jpeg)  
 ![Screenshot_20221208_165436_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/046bd84f05589239edf32642e8e6479d5b4763c8.jpeg)

---

<div class="post-metadata">

**Author:** ![Roger\_Gorissen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roger_gorissen/32/9534_2.png) [@Roger\_Gorissen](https://community.homey.app/u/Roger_Gorissen)\
**Post date:** [December 8, 2022, 5:53pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/977 "2022-12-08T17:53:12Z")

</div>

Thanks! Didn’t know that, wasn’t aware of it. Now I see and understand what you mean. I created a new button to test, without creating flowcards. Then you can see the difference.

Back to my problem. IT’S BEEN SOLVED 😀.

Thanks! That was just my beginning with this beautiful app. Now I have to find my way in its enormous possibilities.

---

<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 8, 2022, 5:59pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/978 "2022-12-08T17:59:05Z")

</div>

Yeah, i know these different flowcards can be a bit complicated.

But the option Create Flow Cards: it makes the field, like a OnOff, the real deal.  
This is needed sometimes, f.i. for Google Home.

But it also creates default Homey flowcards.  
Those can be “nice to have” sometimes, but are not controlled by an app developer: whenever and however a field (capability) value **changes** , default flowcards will be triggered.

---

<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:** [December 10, 2022, 8:56pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/979 "2022-12-10T20:56:08Z")

</div>

Hi,

I am struggling with restarting the app after importing a new icon, .svg.

“Restart the app” , then timeout after 3000ms.

And secondly, how can I get for example degree Celsius (symbol: °C) when making my own app and creating different values that will show temperature.

---

<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 10, 2022, 9:44pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/980 "2022-12-10T21:44:25Z")

</div>

> [@Tirrazo](#):
>
> “Restart the app” , then timeout after 3000ms

Try to disable the app and enable it again?

> [@Tirrazo](#):
>
> creating different values that will show temperature.

Not sure what you mean here, but have a look at the developer page, it has a lot of info on how to handle Celcius.

---

<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:** [December 10, 2022, 11:19pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/981 "2022-12-10T23:19:34Z")

</div>

I mean this, how do you write that dot before C:

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

---

<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:** [December 11, 2022, 9:07am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/982 "2022-12-11T09:07:21Z")

</div>

I made it work though:

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

🙂

---

<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:** [December 11, 2022, 9:51am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/983 "2022-12-11T09:51:52Z")

</div>

I have reinstalled the app.

It is possible to activate/deactive it. This seems to have no effect on the change of imported icon in format .svg.

Tried to restar the app, still getting timed out and I haven’t created or edited anything yet.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 15, 2022, 12:14pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/984 "2022-12-15T12:14:21Z")

</div>

What is the difference between the Athom-API and the Homey-API?

---

<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:** [December 15, 2022, 2:47pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/985 "2022-12-15T14:47:11Z")

</div>

> **[Home - Homey Web API](https://athombv.github.io/node-homey-api/)**

[https://www.npmjs.com/package/athom-api](https://www.npmjs.com/package/athom-api)

# DEPRECATED

Switch to [`node-homey-api`](https://github.com/athombv/node-homey-api) instead.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 15, 2022, 3:04pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/986 "2022-12-15T15:04:44Z")

</div>

Ok, so Homey-API is the new sheriff in town. 🙂  
All apps should convert to this? Or must? Required in SDK3?

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [December 15, 2022, 4:47pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/987 "2022-12-15T16:47:16Z")

</div>

There are only a handful of apps that make use of the _external_ Homey API (apps that need to read information from other apps for example (Heimdall), or in the case of device capabilities, change more then a regular app can), technically it wasn’t/isn’t really meant to be used in apps, but for web interfaces (like the web GUI and the mobile app), dashboards, etc.  
But as that is the only way to read out any information outside of your own app, some developers have no other option than to use it.  
Such apps will also ask for _permission_ when you install such app, as they technically can change (almost) everything in your Homey.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [December 15, 2022, 5:07pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/988 "2022-12-15T17:07:38Z")

</div>

> [@Caseda](#):
>
> _external_ Homey API

Ok, then I understand. Thanks for the info.

---

<div class="post-metadata">

**Author:** ![Fredrik\_SE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredrik_se/32/66668_2.png) [@Fredrik\_SE](https://community.homey.app/u/Fredrik_SE)\
**Post date:** [December 16, 2022, 4:26pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/989 "2022-12-16T16:26:22Z")

</div>

Hi I’m trying to import TEF or what they are called but It seems not working. When I’m trying to “update text” which should give me some code to run at the dev site to get the flows nothing happens. I’m I doing something 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:** [December 16, 2022, 4:34pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/990 "2022-12-16T16:34:16Z")

</div>

Here’s an import howto:  
[https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981)

You probably still need to clear the field in the dev site, and then paste (after “update text”, the needed code is already in the clipboard), and then hit the blue “Run” button.

---

<div class="post-metadata">

**Author:** ![Fredrik\_SE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredrik_se/32/66668_2.png) [@Fredrik\_SE](https://community.homey.app/u/Fredrik_SE)\
**Post date:** [December 16, 2022, 4:45pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/991 "2022-12-16T16:45:40Z")

</div>

I have been reading that howto a few times now.

After I hit “Update text” nothing happens. And I have nothing in clipboard so I can’t execute any code on the dev site cause I don’t get any code to run.

---

<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:** [December 17, 2022, 1:55am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/992 "2022-12-17T01:55:28Z")

</div>

TEF is just short for ‘the exchanger file’

OK Fredrik, I copied the howto and made some adjustments. I hope it is a bit easier to follow now.

1. Copy the TEF of the flow you want to import.

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/3):
>
> 1. Paste it into the textfield above the “Read Flows” button
> 2. Press that button, and it will show all found Devices, App(tokens), Users and Variables, that are in the flow you are importing.  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89f046fd52042c63ee689931a05e0a8324ac0760.png)
> 
> Next to all those items, you have the option to replace, the User Arie J. Godschalk f.i. from the original flow, with a user of your own, or change a variable.  
> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/397d15d12b2e2ef94b8bbdd1e77046f29e990456.png)
> 
> 1. Now you can press “Update Text” button;  
> Then, a flow-creation-script will be placed in the textbox.
> 2. Copy it (just in case) and open the link “[Homey API Playground](https://tools.developer.homey.app/tools/api-playground)” above it.
> 3. A new browser tab or screen should pop up now.  
> -Clear the code screen;  
> -Paste the text;  
> -Execute the script by pressing the blue “Run” button.
> 
> Now the flow(s) will be created, but it will replace all references to Devices, Tags, Apps, Users and Variables with your own! (this is allready changed in the script)

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

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