You need quotes around the tags.
Ah thanks!
I also had to remove the $value part. The following works:
"Naam".substring(0, "Naam".indexOf(" "))
(Sorry for possible stypid Q ;-/ )
Which TimeZone to use for UTC (UTC±0 ) (i.e. not Day time save) for this card
Seems that w/o time zone device time zone used?
ā edit ----
Start using now Iceland time as UTC 0 and without DTS
Hello!
I updated my locale in settings to Swedish. Now all my variables are missing. I tried restarting both app and homey but list of variables in app configuration is completly empty
Will try to factory reset homey and restore from backup.
Hi,
I am having a number of flows to see if a washing machine is finished. I created this based on some flows made by ? some years ago.
For some unknown reasons it stopped working. I am not getting the notification any more.
I started debuging and saw that the variables created in better logic are not shown in the app.
The names are still in the flow. When typing the veriable in the better logic app i get a message like attached. Does any one know why the variable can not be shown?
Dit you restart the BetterLogic App?
Yes i did
App Switched ON?
App Re-installed from the App-Store? (without uninstalling)
Done a PTP (= pull the plug for 12 minutes)?
Hi Jan,
Thanks for the ptp tip.
This worked and it looks it is now back to its normal behavior.
Regards
Met vriendelijke groet,
Steef de Koning
@Arie_J_Godschalk I noticed I asked the same question last year too, and also then i couldāt find a solution. Would be really happy of you have some more insight!
@Arie_J_Godschalk
Hereās a challenge.
I am trying to list the status of 10 timers (running or not running) in a log without using a variable and a minimum of cards. I am hoping you have a creative solution with BLL.
I am looking for this:
The issue is that for each timer combination that is running/not running I need to create another log card.
So I thought of using your other app Advanced Triggers.
Like this:
The issue here is similar: I do not want to create many Return cards.
I also tried with BLL: It is ultimately the same issue.
I wish the Return card fields could contain BLL expressions, but even then I would not know how to calculate the answer for each Yes/No variable.
My problem is that I do not know how to calculate with an empty value (the missing link in the flow).
Any more magnificent ideas?
I wanted to solve it with BLL, but hereās the shortest way I managed to do this.
Tips for an easier solution using BLL are welcome.
Question:
Anybody knows where to find documentation on BLL logic AND/OR and syntax?
Hey, Iām going nuts here and have spent way too much time on something I thought should be quite simple. I have a sensor that returns a datetime string in this format: ā19.12.24, 15:33ā. Now, when I try to use the flowcard to format the date, it gives me āinvalid dateā. If I change the string (manually) to ā12.19.24, 15:33ā, it works just fine. So clearly the flowcard expects the date to be mm.dd.yy - is there any way I can tell it to expect the string in dd.mm.yy format? All the settings Iāve seen seem to affect the output formats, but not the input?
starting to think I have a different problem. Got the reported date to be an ISO text string - which works fine if I paste it into the date field on the flowcard, but if I read it from an attribute or a variable, it gives me the āinvalid dateā error:
I think the date variable that you are trying to format, needs to be the actual numeric date value, not a formatted string representation of the numeric value.
I am using one of the other BLL cards (set a variable) to format a numeric date value in a more friendly date string:
I assume this principle (of using a numeric date value as starting point) also applies to the card you use.
Can you show the value of the dare tag you are using?
Because ot does/should accept iso dates.
Itās 2024-12-19T14:27:55.000Z - which the date() function happily accepts if I put the variable in single quotes, so using that as a workaround now.
Thats kinda stranges, because the bll expression and flowcard use the exact same method for the dat function.
Ill have a check.
Thanks - itās really strange, since putting the string into the flowcard works, but putting in the variable that holds the string doesnāt (tried with and without quotes), while the flowcard that executes BLL functions happily accepts the variable with the string as a parameter. Also tried both internal Homey variables and BLL variables - no difference.
All,
I am complete lost and need some help with a very simple math expression in BLL. I have tried to seek information everywhere without success and I am new to Homey.
What I try to do is to find is a fraction based on how many minutes we are into the hour divided by 60. I will use this to estimate the power consumption for the current hour.
I use a BLL set variable to math.js expression.
The formula I try to use is #timenow#mm / 60. Homey is happy but the BLL variable hour_frac I have created is not updated with any value.
Can anyone give me a hint on how I can get the current minutes into hour and use it as a variable please.
With regards
Sigurd