Blynk,notify is a Legacy function that is not supported in Blynk IoT. It is replaced with Blynk.logEvent.
However, your current sketch will quickly exceed the 100 event per day limit unless you add-in some flag variable code. You should read this…
Pete.