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

<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:** [December 3, 2022, 12:22pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/911 "2022-12-03T12:22:38Z")

</div>

I can confirm this more or less. Checked with Safari and Firefox browser. But the last icon “other\_20” can still be selected. It may not be nice, but it works.

---

<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 4, 2022, 2:44am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/912 "2022-12-04T02:44:26Z")

</div>

Hey @Sharkys @fantross@Arie_J_Godschalk , I noticed the odd tick box a while ago as well, the tick box looks like that on linux desktop Firefox, and on the mobile Homey app Android10.  
It works fine though, but just the graphics is looking odd.

> [@Sharkys](#):
>
> ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4f4ac3585deee96c650fb568f1648ed8d33cb3ee.png)

No `i` or `mac` devices in the house.

---

<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 4, 2022, 6:54pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/913 "2022-12-04T18:54:06Z")

</div>

Ill have a look when i can.

---

<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 4, 2022, 10:46pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/914 "2022-12-04T22:46:14Z")

</div>

I have tried to make this flow working, but not successful:

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

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

How do I get this device with both target and room temp showing up?

I have 5 different physical thermostat devices that shows the setpoint, but not the actual temperature:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/0/803e312dedf11650d841caf0a5c9eceb28b03309.png)

Here is a link to that post:

> [@The Flow Exchange(r) (HCS edition) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-hcs-edition-exchange-your-flows-with-others/69556/3):
>
> Thermostat device: Display Target and Room temperatures Thermostat device tiles are nice, but they only show the target temperature. But, with this flow, you can alter the device name and show the room temperature as well! Look at the animated device: [20220928\_172206] Import: Make sure to replace tado° Thermostaat with your own thermostat device Replace Slapen by your own “everyone is asleep” device, or delete it from the flow afterwards. …

Will it be the same procedure as this procedure?

> [@Share Your Device! (HCS edition) - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-hcs-edition-advanced-virtual-devices-from-device-capabilities/69558/5):
>
> Dynamic Multi Person Presence Status Device tile Sometimes there’s just too much info, too many tiles. Now, you can show the household members’ presence with just one tile [Peek 2022-09-09 03-23] After creating a new Advanced Virtual Device for this go to ‘Repair’ (right click at device tile) go to ‘Open share your Device’ Copy the TEF (find it below) hit 'Read Device and hit ‘Save’ hit ‘Read Flows’ and, adjust the flowname(optional), and…

---

<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 5, 2022, 1:52am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/915 "2022-12-05T01:52:06Z")

</div>

Can you please add a link to the post with that flow?

---

<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 5, 2022, 6:38am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/916 "2022-12-05T06:38:33Z")

</div>

It’s shared in my original post now

---

<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:** [December 5, 2022, 8:39am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/917 "2022-12-05T08:39:46Z")

</div>

Hi @Arie_J_Godschalk,  
is it possible to reduce memory usage of the DC app?

 ![DC](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/1/1166c9352d38ac6468487baff9bd89c604006cd1.jpeg)

What does the use of the memory depend on? No. of devices? No. of fields?

---

<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 5, 2022, 6:42pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/918 "2022-12-05T18:42:27Z")

</div>

Hey Dirk,

I have tried to reduce it, as much as i can.

When using TFE’s, it grows in size, and it takes time te reduce or a Homey restart.  
Currently with me it is running on 25.8MB and i have a lot of (example) AVD’s with flows.  
But i havent used the TFE’s (or a few other flowcards) since the last Homey restart a few days/weeks ago (update to 8.1.0).

I don’t know a realistic way of reducing the memory usage for DC. The heavy memory consumtion happens within the athom-api. And i cannot find any way to clear that memory usages.

It’s the same for HomeyScript, it keeps growing.  
Sometimes it will schrink a bit, but overal, it keeps growing.  
And an app restart might reduce it’s memory usages, but it will not completly reset it’s usage to the amount of MB it was using after first start.  
Restart your Homey, and all apps, like HS or DC will use way less memory.  
I know of now way to dump/garbage-collect the unused memory buildup within the Athom-API.

I also tried to clear the complete AthomApi and initialize a new one. Clearing it reduces the MB directly, but not to the starting point. And when you then need info through the new Api, the total memory is higher than using a single API.

So, currently, DC uses a single API instance and whenever it needs data, that data is directly converted into simple non-referenced object, making sure the internal GarbageCollection that clears the items from the API, has no reference to DC.

But still, the Athom-API grows. Someone knows how to stop 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:** [December 5, 2022, 6:45pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/919 "2022-12-05T18:45:02Z")

</div>

But, can you send me a Diagnostic (without an App restart or anything)?

Perhaps there is something that makes the LOG very big for you specificly.  
(I asume the LOG is counted as Memory usage beloging to the APP, and since it’s text, it could potentionally be pretty big).

---

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

</div>

I observe the same (DC memory utilisation grows during time) ,just thought it’s caused by the complexity of the DC itself, as it’s doing miracles 🙂 Will provide log, but I just rebooted today…

 ![SmartSelect_20221205_213134_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15e505abb4f60df96fd8a1419dd3e38244a308e1.jpeg)

---

<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 5, 2022, 10:40pm UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/921 "2022-12-05T22:40:37Z")

</div>

I have to say it shrinks by itself as well.  
Homey Uptime is 3 days now.  
37 active AVD’s at the moment.

But I was thinking 40 to 50MB is reasonable for this mega-cool app. For instance MQTT hub is using over 40MB’s continuously.

 ![Screenshot 2022-12-05 at 23-36-16 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/dfe99118770e4b71a1ea1938b31aeb7fe06a78fd.png)

---

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

</div>

> [@Tirrazo](#):
>
> Will it be the same procedure as this procedure?

Yes they both change the device name.

Did you configure H.o.o.p. in advance?

> ![Screenshot from 2022-12-06 00-24-56](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87b5c4758a32b5e70367c96480a14e8ada786430.png)

Otherwise the device name will not get changed when you run the flow(s)…

---

<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 6, 2022, 6:28am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/924 "2022-12-06T06:28:44Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> When using TFE’s, it grows in size, and it takes time te reduce or a Homey restart.

Maybe you should break out TEF to its own app?  
The DC app is doing many different things, becoming a Zwiss tool. 🙂

---

<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 6, 2022, 7:04am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/925 "2022-12-06T07:04:02Z")

</div>

That would not help enough: the DC uses the same stuff also for some flowcards.  
And importing an AVD would not be possible through another app, i wouldn’t be able to import and create it.

It might be an option to put a option to load TFE stuff on a specific button or something: right now it loads when you go into app settings or create an avd.

---

<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 6, 2022, 7:29am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/926 "2022-12-06T07:29:54Z")

</div>

Please also do note, that all default icons, during App install/update, are extracted from a single compressed file, into the userdata folder.  
And the userdata folder is shown as memory usage.  
Extracted it is about 3,5MB (on my local disk it uses 7MB diskspace).

Perhaps (one day) i could create a addendum to Better Logic Library: Icons.  
That way, the icons would be placed in the addendum app, and would not need to be compressed.  
But im not sure that it will save memory in total, i’ll have a look some day.

---

<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 6, 2022, 9:56am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/927 "2022-12-06T09:56:51Z")

</div>

Thank you!

I forgot to do that ☹

Followed the link, pressing Allow:

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

But the page stands still here:

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

Where am I supposed to get redirected?

[https://api.athom.com/oauth2/authorise?client\_id=5bd33e9b9c99fc4f8d0bc231&redirect\_uri=https%3A%2F%2Fcli.athom.com&response\_type=code](https://api.athom.com/oauth2/authorise?client_id=5bd33e9b9c99fc4f8d0bc231&redirect_uri=https%3A%2F%2Fcli.athom.com&response_type=code)

Refreshing the site once, getting this code:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/3/732b625c595de2ec800dc94d6e8774ddfaee4477.png)

Shall this client ID be replaced with an ID of my own?

And do I have to start creating an app and download node js as Athom does in this video?

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

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [December 6, 2022, 11:15am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/928 "2022-12-06T11:15:35Z")

</div>

Uhh, you are sharing your ClientID and Secret (auth code). Luckily this code is only valid for a short time 😉  
You should better delete the screenshot.

---

<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 6, 2022, 11:28am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/929 "2022-12-06T11:28:14Z")

</div>

This is not mine! 😃

This is from an official YouTube video made by Athom 🙂

But I still need help to get this started on my own.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [December 6, 2022, 11:35am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/930 "2022-12-06T11:35:55Z")

</div>

Haha, haven’t seen that. Nice that Athom is sharing their HoemyID.

You can open the url in your browser (firefox/chrome) and open the developer console (STRG+Shift+K in Firefox).  
Open “Network analyse” tab.  
Login  
Then there should appear the call with the code in the console where you can copy the code.  
Paste it into the app settings. But be fast as the code is only valid vor some seconds (~20 or 30).

---

<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 6, 2022, 11:56am UTC](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287/932 "2022-12-06T11:56:03Z")

</div>

> [@Share Your Device! (HCS edition) - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-hcs-edition-advanced-virtual-devices-from-device-capabilities/69558/5):
>
> Dynamic Multi Person Presence Status Device tile Sometimes there’s just too much info, too many tiles. Now, you can show the household members’ presence with just one tile [Peek 2022-09-09 03-23] After creating a new Advanced Virtual Device for this go to ‘Repair’ (right click at device tile) go to ‘Open share your Device’ Copy the TEF (find it below) hit 'Read Device and hit ‘Save’ hit ‘Read Flows’ and, adjust the flowname(optional), and…

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

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

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

After doing the steps in the post for this AVD, the tile is not changing 😮

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

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