*Compilation error: 'class BlynkWifi' has no member named 'notify'*

In that case you are missing the thee lines of firmware configuration copied from the device info screen of the web console, and you should delete this line…

and you should change this…

to this…
Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);

You also need to sort-out your void loop to remove the clutter, and the delays.read this for more info…

As far as your compilation errors are concerned, Blynk.notify is a Legacy command and is replaced in Blynk IoT with Events.
However, you are limited to logging a maximum of 100 events per 24 hours, and your code will keep logging events all the time that an alert situation exists. You need to use a flag variable to overcome this. Read this tutorial for more info on Events, Notificatiins and flag variables…

Pete.

1 Like