[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator

I did that, and at first it worked.
Until I tried to rename and redirected a few in the same pairs.
As I would like to have the living room to show up first.

Off course if I start over from scratch, there’s a big chance that it works.
But I try to understand how the pairing is done, also when a field is changed.
So the next time I know how to add/change a thermostat and keep the pairs.

I will need to check that. It is indeed based on grouping 2 fields together, but when you change properties/icon/etc, they should stay grouped (target and measure).

Let me know if I need to test or send anything. Happy to help reproducing some situations.

Amazed with great freestyle options AVD seems to give…

One advice needed for newbee: what would be better option for numberfield showing minutes, when needs to be adjustable by user (rarely) and value shown (i.e. very similar to “Temperature (Target)” I am using now (but mixing users). E.g. now using line in below: min limit 15min, max 300min, 15min steps) (would be happy even just without temp-mark):
image

(these minutes are adjustable oper. limits ad part of AVD to ensure all created as one when template used to replicate)

Tried Dim etc., which are close to OK, but on those value not shown in any.

I’d use both the target temp as ‘minutes adjuster’, and just a numeric sensor type field which shows the number of minutes?
Or use the measured temp as minutes indicator?

These numbers are are practically constant minute values, when device will be tuned to correct environment.

On home screen and Trends “min” already seen:
image

image

So not a big issue, but would be nice to have to avoid user confusion…

I’ve noticed lately that there’s a feature that doesn’t quite work anymore. See images. When I ask via google to dim a lamp, it is noted manually in the flow. But that doesn’t work anymore because it doesn’t serve the “client” anymore. Can you see what is going wrong?

V2.15.4
Homey 2023 10.2.0
3e0e2dd3-258a-475d-8908-172535a8cdf2

Hi, I noticed that if I create a AVD with the motion sensor capability, it does not inlcude this in the Homey’s activity zone list. See screen shots. The activity list does not show the ‘Woonkamer’ whilst there is a (AVD) Sensor configured with motion capability. I have not exclude it from any zone’s.

Any idea?

IMG_8823

IMG_8824

Did you set the “device class” to sensor?
Homey’s Zone activity will not recognize your AVD as sensor otherwise.

1 Like

Check! Was set to “Other”

Thanks!

2 Likes

I’m trying to do an API call for an onoff field, but I cannot find the field name, I can confirm the below does not work…

Does anyone know?

await dcApp.apiPost(‘setvalue’, {device: name, field:‘onoff1’, value: “on”});
await dcApp.apiPost(‘setvalue’, {device: name, field:‘yesno1’, value: “on”});

@Techniman Try button1 and as value true or false, without doubleqoutes?

Be careful with the fancy (double) quotes. Only use the ‘straight’ ones.

This works for the 1st button of my AVD:

let dcApp = await Homey.apps.getApp({id:'nl.qluster-it.DeviceCapabilities'});
await dcApp.apiPost('setvalue', {
  device:'My AVD device', field:'button1', value:true
  });



The examples are present at post #1:

Thanks, i saw the examples in the 1st post but onoff was not one of them, hence the question

1 Like

Thanks @Arie_J_Godschalk but that also did not work, I did however set the type to “sensor” could that be the reason why it’s not changeable?

I’d like to set the status through HS and be able to report on it through insights

@Techniman Sorry, this field is the boolean1 field, not a button.

Altho you should also be able to use the Name value Verwarmen

Hey @Arie_J_Godschalk

As you know I am using AVDs a lot.
One consistent issue I face is that sometimes I need to change a field name. And somehow, somewhere under the hood the old name continues to have a life, for example when I use Insights, I see the old field name again. Are you aware? Is there a way for me to fix it without redoing the AVD?

Hi Arie,
I was wondering, had you looked into the problem below?

Hi, i think here’s the right place for following question: iwant to calculate the following: load power minus PV Strom-Erzeugung and show it on the tile:

Is there a chance to do so?

Brgds

Sorry, i missed this. Just use the live version, that one doesnt have the issue.