Oh thanks Peter, I understand now ! I did not know that I had to define some BL variables first, si I could not add such a NaamVenDag variable
I have 2 more questions for you, Peter :
For this BL card, Is it possible to use Homeyâs variables instead of BL variables ? I guess not but maybe thereâs a solution for this âŠ
Iâm trying tu use the Maths.js card but I do not undertsand how to write this. It seems my formula is wrong (the Description variables are from different apps even if they have the same names) :
FYI, when using a BL âone of these variables has changedâ card, youâll have to type in the variable names, seperated by a comma. But only variables you created in BL can be used, not the variables provided by an app. Then Homeyâs Logics is needed.
See
Okay, about the goal you want to reach. Iâm guessing you try to catch a changed weather description here?
I use Openweathermap, and trigger the flow with âThe weather has changedâ.
Then, at the AND section, I add a Homey Logic card of the type âtext containsâ.
Now select the local variable âweather descriptionâ (=weersbeschrijving in Dutch), which is provided by the trigger card. In the web app it can be found under âThis Flowâ in the selection box.
Now enter f.i. âclear skyâ as text.
You can add 2 more logics cards, with a different weather description of your choice. Make sure to drag the cards down, so âORâ appears between them.
In my example, the notification gets sent when the weather type is âclear skyâ or âfew cloudsâ or âwhatever weatherâ.
As you can see in the Timeline notification card, Homey provides for a weather description too (âBeschrijvingâ), but I canât find a way to monitor it for changes.
The BL math.js card can be used to calculate with numeric variables
The equivalent Homey logics card is called âcalculate a valueâ
Examples:
Is there a way to combine this with text, for example 5to6? And write the whole string to a BL text var.? And then you use the var. In, letâs say, a push notification?
@Uranday Patrick, Iâve donated most of the apps i use. But iâve forgotten one of the basic âNeed to havesâ . Do you have paypal so i buy you a beer ?
Hi, great app thank you. I need to understand better what is exactly âVariable is setâ. Does it mean that the value of the variable is True? When does this flow trigger then? Thanks for explanation.
FYI i have two variables Hot and Cold. But if I put two flows one âVariable is set Hotâ second with âVariable is set Coldâ (and in other flow it could be only either Cold or Hot listening to themperature) it seem the change of variable stutuses for both between True/False triggers both initial flows âVariable is set Hotâ and âVariable is set Coldâ. So I dont get it why it triggers them both if I have value âHot is truâ and âCold is falseâ.
The Better Logic triggercard works with Better logic variables, which names should be entered by hand.
And the Homey Logics card âa variable has changedâ, works with Homey Logics variables. The Homey weather, or any apps tags are available. Hence the workaround I showed.
(The workaround can be created with BL as well, but I donâs see a reason why)