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?
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)