[APP][Pro] Device Capabilities - Enhance the capabilities of devices

Just for info: On iOS/iPhone (XS Max and 12 Pro Max) it works like charm! So it’s Android (?) related.

1 Like

Strange, I have it even on developers interface ? …

1 Like

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.

1 Like

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.

No i or mac devices in the house.

3 Likes

Ill have a look when i can.

3 Likes

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

image

image

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:

Here is a link to that post:

Will it be the same procedure as this procedure?

1 Like

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

1 Like

It’s shared in my original post now

1 Like

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

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

2 Likes

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?

1 Like

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).

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 :slight_smile: Will provide log, but I just rebooted today…

1 Like

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.

Yes they both change the device name.

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

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

1 Like

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

1 Like

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.

1 Like

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.

3 Likes

Thank you!

I forgot to do that :frowning:

Followed the link, pressing Allow:

image

But the page stands still here:

image

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

Refreshing the site once, getting this code:
image

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?

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

1 Like

This is not mine! :smiley:

This is from an official YouTube video made by Athom :slight_smile:

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

1 Like