if (sensorState == 1 && lastState == 0) {
Serial.println(“needs water, send notification”);
Blynk.notify(“Water your plants”);
lastState = 1;
delay(1000);
//send notification
can you please explain how to slove this
if (sensorState == 1 && lastState == 0) {
Serial.println(“needs water, send notification”);
Blynk.notify(“Water your plants”);
lastState = 1;
delay(1000);
//send notification
can you please explain how to slove this
Blynk.notify(); is a legacy function, no longer supported. You need to use Automations for Alerts and Events - https://docs.blynk.io/en/blynk.console/templates/events/custom-events/events--how-to-log-events
You need to post your entire code, properly formatted in line with the instructions at the top of the forum
Use three backticks ``` before and after your code
billd