Ping Multi without any connection

This test for the water level isn’t very sensible. It requires the water level to be EXACTLY 10cm, not 10.00001 or 9.9999999 but EXACTLY 10.
In reality you could easily miss taking a reading which returns exactly 10, so it’s better to make this <=10

As @John93 said, you also need to include a flag variable which sends just one event/alert for each low water level situation, and to reset this flag when the water level is significantly greater than 10 (so that you don’t get false resets of the water level status when the readings are fluctuating around the 10cm level).

More info here…

Also, this…

Is the legacy way of getting the time from the Blynk server. You should read the official documentation on the correct IoT method.


1 Like