I have a simular problem and not sure how to solve it.
I want to start a flow using: One of these variables changed
I type in (for test) my logica values: gordijn_keuken_open, gordijn_terras_open
And in THEN i do something, tried send push and log etc
It simply does not work, also tried to select the tag cards but this also does not work.
When i test the flow then the flow works, but when the value changes nothing happens.
The logica values are all true/false logica values
Without BL you can’t use “If one of these values has changed” card
With Homey logics you have to build 3 flows for every “If a variable has changed” trigger…
Just tested this with variable1, variable2, variable3
No problem at all.
Make sure u type the names and don’t use tags like the tooltip says.
Variable1,(space)variable2,(space)variable3
Although Roco mentions a divider should be [comma][space], a comma only as a divider works as well, as I just tested (but it looks awfull in the card…)
Hi Hervé
I hope this helps you a bit.
In the BL “text contains” card, you can select the variable at the (…). The text field, where you had selected the variable, should only hold the text which you expect to be stored in the variable
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?