3 posts were merged into an existing topic: [APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator
Can elaborate on what you mean by insight trends
Its an app ![]()
Hello,
I created recently a new device as a ev charger.
i get my data from mqtt and use a flow card to fill the avd.
i use power, energy and max current.
all working as it should.
but when i look at the insights of this device it says 4?
it creates also âenergieverbruikâ and that value stays â0â, and power does what it has to do.
am i thinking wrong that power and energieverbruik are the same?
and if im thinking wrong how to get the power value in energieverbruik?
and what is and isnt working in the energytab?
am looking to find a way to get my kwh on the top left fill with the kwh data.
pls help.
Maybe an interesting alternative: With the MQTT Hub app you can create a virtual MQTT device, which doesnât need flows to read the selected MQTT topics and write those to preferred Homey capabilities.
@Arie_J_Godschalk , will you please have a look also on memory footprint, or can I do anything about that ?
Currently changing the Homey limits/checks to overcome it ![]()
Looks like that is also a possibility. The charger pops up in the energy tab.
So far so good.
Playing around now. And thinking about creating multiple capabilities to this device.
I now struggle how to create a selector
To use for different loading programs. Like for example off, smart,normal,solar etc.
Just like the thermostat but then with my custom names.
Do you know if this is possible. Couldnât really find my answer on the forum neither with google.
But thanks so far getting me in the right direction! ![]()
Do you mean DC app or MqttHub suggested by Peter?
For MqttHub, please use the app thread.
If you meant MqttHub:
[APP][Pro] MQTT Hub - Community version - #124 by RonnyW
When you mean a custom selector for an AVD: this canât be created by users, youâll have to request it here:
I found my way with the mqtt hub app.
Created there a device and got most important capabilities running. Thanks again for the ideas.
The big memory user is the homey-api (reflection). I hope the update yo the new version reduces memory usages.
Lets find out haha
Try the new testversion ![]()
Thank you Arie - installed, unfortunately the memory is from start quite high.
1 hour detail - running for few min.
âŚit went lower after few min so fingers crossed ![]()
Letâs see if it will even go up to ~150 MB with Homey limitations removed⌠below last 6 hours FYI :
Is this the first start? Because since its an update, there are extra resources used on startup, some reconfiguration, plus the new building of classes and capabilities etc.
So, im assuming that restarting the app might even lower the usage.
I was an 82mb just yet, restarted the app, and its now on 74mb.
And i have actually many AVDs, way more than 10
.
The issue with memory is the usage of any homey-api watcher.
Meaning, flowcard Watcher and any reflection.
The more devices you watch, the more resources are used.
I think you can have hundreds of AVDs if you wouldnât use reflection.
But build one AVD in which you reflect hundreds of devices, i think memory would be insane probably ![]()
First start after update, yes - tried another one, letâs see. You are right, havenât realized you made quite bigger changes under the hood ![]()
2nd restart
You mean this When card ? I actually use some of them indeed⌠like maybe 20-30 ? âŚnot sure.
Letâs see,after few hours ![]()
Good to know. I didnât know yet a device reflection is resource intensive as well.
Does the âlisteningâ cause the load, or the frequency of the reflected value?
Like, power changes every sec,
Humidity changes a few times an hour
lots of new capabilities and classes ![]()
Did notice a small quirk, in the classes there is a âboilerâ class and a âwaterheaterâ class, in dutch they are both called âboilerâ, a little confusing to see 2 of the same, even though Athom also calls them both boiler in their tranlation ![]()
Maybe you can do something like: Boiler (opslag) for âboilerâ and Boiler (directe verwarming) for âwaterheaterâ or something.
I actually included the homey-lib npm package; thats where the (new) classes and capabilities (now) come from. So the names are those that Athom uses, and it does it in there language (not just en, nl, de, no, but all language).
And i (currently) dont edit any of it. But i guess i could. But now its the same as everything else in Homey, so perhaps thats best?!
Edit, i just checked what you mean precisely, and yeah, this is confusing. Just like capabilities, iâll show the class(id) in parentheses behind the name/title in a coming update.
Ah, yes, that card also
i knew i forgot to mention one
.
I ment the above card:
But both are âheavyâ yeah, because they need a homey-api device capabilities change listener.
Yeah, basically listening is heavy. The amount of triggers doesnât really matter.
Internally, the AVDs are just device with no background activities, so they are really not heavy at all.
Its such a shame you cannot include HS anymore to create flows with device triggers to use instead of device reflection through the homey-api.
That would save a lott of resources ![]()






