You need:
$values[0] || $values[1]=='enumvalue'
So, a double ||
You need:
$values[0] || $values[1]=='enumvalue'
So, a double ||
Has something changed? in the past I recall being able to update existing virtual devices, now when i go into an existing device i need to re-create all the fields again (and the icons are also not available)
Which version are you on?
That seems to do the trick, many thanks.
2.14.9
I restarted the homey app a few times but that did not help, then i figured to restart the app on homey which seemed to have sorted the problem. iâll let you know if it happens again
That is a very nice new feature that should receive more attention!
Works great!
How to ensure the status will also show in the web app?
Yeah i see that that is not working.
@Emile might this be a bug (or not finished yet)?
When you select a string-capability as Status Indicator, it does show in the Homey App.
However, it is not shown in the Web App when you have the screen set to âsmallâ (or large also) tiles.
Here something additional seems not working:
âŚ
@Rrrr No, button 1 will be the main button, always.
What do you have now as button 1?
One of the eight properties (that follow in button 2-8) thatâs reflected in button 9. Iâm usually not successful replacing one field with another. It is a lot of work and Iâd hate to try.
Yeah, i have it on my list to build an option for this.
But right now, button1 is always the main app button.
Sorry
Just to share how to use AVDs to shorten your flows.
Use BLL expressions in combination with Devices/Properties in the AVD.
Like here.
BLL expressions in the THEN Set Text card of an AVD.
Like below:
{[time(âH:mm:ssâ,1000*Variable1)]}
{[Math.round(Variable2)]}
{[date(âdd-MMâ)]}
Hello,
I have created a AVD to show me the time of sunset and sunrise by using 2 text fields.
This works and it is updating with this flow:
No I have troubles finding out how I can change the time field on the device at a certain time.
Like: Change the status indicator on 12 AM to textfield 1 that provides the sunrise time. And at 12 PM change it to textfield 2 that provides the sunset time.
Can someone advise me how to realize this?
Is it possible for an AVD to have the settings âEnergy usage when Offâ and âEnergy usage when Onâ?
At the moment, when I configure the AVD as Device Class âlightâ or âWallplugâ with just an onoff button, I only see the âConstant energy usageâ, see below
Try restarting the app once?
(There is a bug in Homey that the default wnergy options are only reloaded when a device reload. Thus, you need to reatart the app).
Magic!
You cannot dynamically change which field is the status indicator.
This can only be set through the Homey Mobile App.
You could create an extra textfield, set that as status indicator, and change it value when you want the change what is displayed.
Hi,
Is it also possible to obtain the insights values from a BLL variable? With this app it is already possible to get it from a device. Or am I stupid and can it already be done with this app?
So I receive the number of milliseconds that a variable has changed.
@iBosvelt I think BLL itself has a flowcard for that.
Can you point me in the right direction? iâve looked at the flowcards, but canât find any which can do thatâŚ