Thanks Rich,
ok understood - I just tried to keep it easier for you.
The rule is here
what I try to achieve is to make use of that part of my rule that generates the payload to be sent to a python script.
It needs to be calculated twice to send stop command after fSeconds if the command is a value between 1 and 99