You shouldn’t be using a timeout timer in this way. You probably need to use a timeout timer in a lambda function.
Also,you need to learn about variable scope, as variables like this…
Is local to the BLYNK_WRITE(V2) function, and it can’t be used outside of that function.
Pete.