problem is he does not write temperature in the table
This where the Idea is coming
it has to record the temperature all day long and make a report of the highest and the lowest outside temperature around 7 pm.
i have a lot of running on better logic,
I will try it on the logic of homey.
I also adjusted the time to that it is not allowed between 19.00 and 19.30 because then he writes the log and resets it for the next day.
In ur flow u check a variable “Koudste dag temp” against the actual outside temp (balkon temp).
This flow does: When variable is less then the outside temp then set variable.
Think u need the other way around.
When outside temp is less then variable temp then wright variable.
So maybe invert (omkeren) the card in the AND colom.
This has nothing to do with Better Logic vs build-in Logic.
As this has also nothing to do with this topic anymore i would suggest u search the forum for similar topics or open a new topic for it.
I see you quoted my script, but I’m not sure if you got it working. You need to use the script in a flow like this one:
In this flow you do not need better logic and you also do not need to trigger on each temperature change. All you need to do, is to create 2 variables in which you store the output of the script. For your case, just trigger it at 7PM and you are good to go.
I’ve tested the flow and it works when the time period is reversed.
And of course it has nothing to do with Better Logic App, I didn’t write that either. I just wrote that using the Better Logic App is not necessary.
But, with the build-in logic it looks much more understandable.