Heeft zich vanzelf opgelost!
Improved: Target/measure temperature adjustments:
- Min (-100 min, 50 max, 0.1 step)
- Max (0 min, 200 max, 0.1 step)
- Step (0 min, 5 max, 0.1 step)
- Decimals (0 min, 5 max, 0.1 step)
Need some help here
I use the App “Virtual device” and have made two devices that now show my Gas a Electricity consumption:
This is the advanced flow that updates the two devices:
I also have the App “Advanced Capabilities” installed. That would possible allow me to delete the first App and use this more sophisticated (and complex) App to update my two devices. I am stuck on how to do this. Any suggestions?
I think you mean Device Capabilities with the Advanced Virtual Devices.
Hang on one sec.
Here you go. 2 AVDs.
Create a new AVD and paste this TEF (it’s without flows).
Then create another AVD and paste this TEF, and at the end, create the flow (follow the steps and complete the script in the Playground, you’ll see).
You can alter the AVD device icons in the App Settings (restart the DC App after change to take effect).
You can change you icons for capabilities also of you want, but that would mean you need to change a few things. Let me know if you want that.
If you put it like this, you can have a custom icon in the sensor tab aswell:
Or round the decimals to 0 or not.
(dont forget to set the field as Status Indicator in the Homey App.)
I just recently saw this Device Capabilities app and I must say I love it so far but it also seems a little complicated. I have been playing around with it and the first steps are made but also running into some difficulties.
I have created multiple “Control 2 dimmable lights as one” devices for rooms with only two lights and they are all working just fine. It seems to work faster than when I used those lights in the groups app.
I have also rooms with more than two lights so I added for one of those rooms another “Control 2 dimmable lights as one” device and added the other lights manually. The manually added lights are not visible in the flow that are created with this device and when I try to adjust the flows with the manually added lights, options are not available.
Is there a way to get the code for all manually added lights as well to use in the Homey Api playground?
Or if this is not possible, how do I add those manually added lights to the flow with the options that are available for the automatically added lights?
Since this question has nothing to do with the Virtual Device App, and is all about the Device Capabilitities and more specific the Advanced Virtual Device, do you mind reposting your question here [APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator - Apps - Homey Community Forum so we can continue there, and other people can make use of it in the right topic?
Thanks in advance!
in the meanwhile, i’ll work on the answer
Still need some help Arie…
I got the AVD’s created a flow to put values in the AVD’s:
What I don’t get is the flow. Does the import create a flow too? I ran the script, but don’t see a flow anywhere.
Or, put differently, what does running the script do?
Create the flow/flows in the Root of your flow-folders.
The edited messages, there are some timeouts to wait for the AVD to be created, before i can create the fields.
But the default timeout is 10 seconds, so i guess it timeout sometimes.
I will have a look at it next week, ill create a waiting screen (“indefinite” time to wait till homey creates the AVD).
Can you create a ticket for it?
Edit, i just see its the VD topic, let’s continue at [APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator - Apps - Homey Community Forum.
What is the ‘trick’ to select all the code to import?
If I put my cursor in the field ald use ‘copy all’ not all code is selected.
Click three times.
Double click selects the whole word/part.
Three clicks, selects the whole codeblock.
Recently i created a VD - Sensor with Motion capability, I tried created a flow to inject the result from a Door sensor but it isn’t working, see below test error - Invalid capability: [Null]
What does it mean ?
In the first top field,
you’ll have to enter the capability,
alarm_motion, do not pick a tag.
In the second field,
the allowed values are
true/false, or a boolean variable/tag like your [Motion alarm]
But there’s a bug with the latter when you use the mobile flow editor (see below the screenshot)
@Arie_J_Godschalk When I use a bool variable instead of entering ‘false’, it errors.
It seems to read
true / false as words (string) instead of boolean.
Nevermind, This error below does not occur in the web app flow editor
It is a Homey issue, not your app
Additional space after the tag? It looks like the error says "false " not “false”.
Ah, sharp! That would be indeed the “additional added trailing space” bug in variables, in the mobile app flow editor…
Check, in the web app flow editor this works without errors:
Only after saving the flow in the web app, it works in the mobile app:
I just created a ticket @ Athom for this bug.
“alarm_motion false” is working for me, thank you!
Any luck to request an attribute on the sensor device that says “amount” or something? I want to have a virtual device to display a cost since midnight, e.g. 5 without any unit sign on the icon, or even better to be able to choose currency from a lot of countries