I’m new to Homey. I try to modify the delay before an action but the delay should be based on a calculation. What is the way to do that (apparently, i can’t use math in the delay field)? Thank you for your help ti the newbie that i am
I think the easiest way to do this would be to use a dedicated timer app such as Chronograph App for Homey | Homey
You will use a then card to create a timer then a separate when card to trigger the rest of the flow once the timer expires. You can use a tag in the duration of the then card that creates the timer so you can base it on a calculation.
EDIT: if you’re not already using advanced flows, this will be far easier that way. Also, you’ll need a homey pro for this to work
Seems interesting but i don’t know how to make calculation in a field. For example, let say that in the duration field of the chronograph card i would like to multiplies one of my temperature sensor by 40. How do i dot that?
This is a way to do calculations
But, it could result in numbers with digits, which are invalid as duration value.
This can be avoided by rounding the calculation to zero digits, like this:
Thanks a lot, that will help me.