First off: This is fine and works fine, however, let me explain the fields a bit and it’s logic.
I want to create a good manual for the DC App when i have the time, but for now, let me explain the Reflect Calculation and BLL fields.
When you enter multiple Reflect devices, the Calculation field becomes mandatory.
You can pick a default Calculation, or pick BLL, which makes the Calculation BLL Expression field available.
During/within the Calculation fields, you only have access to the Array $values, which contains all the reflected values.
After the calculations (BLL or default), the $value variable becomes available, generated by the calculation.
In you example, the $value wil contain the first reflected value because of the Calculation BLL Expression you have $values[0].
So in you example, in the BLL Expression field (which is for this example a bit redundent), you can just write $value*100 if you wanted.
The field BLL Expression becomes mandatory when you have Reflect-properties which are not of the same type as the Field itself. But since you use calculation (which is also mandatory), i need to adjust the logic so that BLL Expression is not mandatory when a Calculation is entered.
Because technicly, you could just write $values[0]*100 in the Calculation BLL Expression field, and that should be enough.
But since, right now, the BLL Expression field is still mandatory because of the Turned on (boolean) property, you would then need to write $value in the BLL Expression field.
So no need to change how you did it, just a clarification on how it all works
This is not working for numberfields with predefined sensory “show as” values - for example [humidity (sensor)] - right? Those fields for example always stay above of non defined textfields no matter what.
Not as far as i know, afaik, fields are shown based one when the are created as capabilities on the device. And whenever you change the ShowAs, icon of CreateFlowcards, the field is recreated as another capability, placing it as the most below field.
I made an exception for Button1 (so it will always be the device-tile-button): whenever Button1 is changed, all other yes/no and button fields are recreated.
Question 1:
Is that a known bug (Homey or app), or did I do sthg wrong ?
Question 2:
Also, I do understand a bit of dutch, but it’s hard to follow the conversation, since the nomenclature of the AVDs/related cards is obviously different in all languages .
What’s the difference in this text field card, between "is changed" and “is set” ?
Yeah, i have kind off build this wrong.
I am still thinking about deprecating the current flowcard and building a new one, which would be kinda the same, but have the “Execute flowcards” set to true by default.
Don’t be too hard on yourself
Yes, for a new user like me, having the « execute the when flowcards » to true as a default is likely more intuitive.
But once you understood it, it’s not a big deal.
Just consider changing it, if questions such as mine are too frequent, in view also of the large user base you already have with the current mechanism.
Well, creating multiple flowcards, even if old once get deprecated, will still increase memory usage and complexity.
When you do not select a value for the "nothing else/ execute flowcards, it already defaults to do nothing.
This i cannot change, because it would break current flows from running as the are build.
However
I just realized i can enter a default value for the argument, so that when users add the flowcard to a flow, a value will be pre-selected.
And i just filled the fields with the Execute Flowcards (When) as the default value when adding the flowcard to a flow
So, from 2.14.6, when you add this card, the Execute Flowcards will be auto-selected, just like most users would want, without breaking current flows
If the icon in the top right is an SVG, as long as it doesn’t explicitly specify the fill/stroke color, it will automatically adapt to your theme colors.
If it’s an SVG, but it has the color specified, you can try the little “SVG stripper” tool I threw together:
Hi @Arie_J_Godschalk , I really love all we can do with this app and all other apps you have created.
Learning every day again.
there is only one thing I miss and that is the option to sortorder the items. When we have added devices and later on we add an item extra it is at the bottom of the AVD with no way of placing it further up or down if needed.
Further I like to have the option we can reflect to (Start) flows and apps items like for example Hue scenes from the Hue app if possible off course.
Sure, now we have three options, devices, BLL and Chronograph.
If possible , Start flows and Apps could be added to this list. For me it would be handy to have apps so I can add Hue scenes to my AVD’s and for flows it can start a flow off course.
Everything was working great! I’ve got some advanced virtual devices with buttons (to better logic) with a boolean for yes and no. (And of corse some advances flows behind it)
But now, all my buttons are not working. After some search, pushing the button is not changing the better logic value. Any idea what I do wrong?
(it was working, so there must be changed something?)