"compilation error: 'class BlynkWifi' has no member named 'notify'"

You’re getting this compilation error because Blynk.notify() is a Legacy command which is no longer supported in Blynk IoT.

Blynk IoT handles notifications as part of the Blynk.logEvent command. More information in the documentation and here…

In addition, your code has quite a few other problems…

  1. you should be using BlynkTimer instead of SimpleTimer.

  2. you have two Serial.begin() commands in your void setup.

  3. your void loop is very cluttered, and you’re using blocking delay() commands to regulate the frequency of your sensor readings. Instead, your void loop should just have the Blynk.run() and timer.run() commands in it, and the other code should be in a separate function which is called using a BlynkTimer. Read this for more information…

Pete.