Mit funktionen ist das kein Problem neuerdings. Es gibt ja
@timedCall name timeoutMS function_name
Calls function_name after timeoutMS milliseconds. It does not repeat. The name can be used to stop the timer with @deletedTimedCall. If you need an interval, you need to call the function with @timedCall at the end of the function. In that case make sure it is never started twice, or you end up with increasing amount of calls until you have no time left for printing! Best is to always have some exit conditions in the called function like when you wait for a temperature to be reached, but disabling heater would stop loop as well.
@deleteTimedCall Name
Deletes all active monitors with the name Name.Also den ifttt call in eine Funktion setzen die in x ms aufgerufen wird. Das gute ist der restliche code wird erst mal weiter verarbeitet also job beenden etc, und wenn die Zeit um ist wird die Funktion aufgerufen. Mit function ist
@func shutXYDown
....
@endfunc
gemeint. Einfach vor dem code reinschreiben reicht.