Button acts as push instead of switch

Two things:

  1. your button widget in the app needs to be set to Switch not Push
  2. your BLYNK_WRITE(V1) command has no if statement to make it perform different actions when the button is turned on and off. Look at the “Bring it all together” section of this post to see how to do that:

Pete.