I have built a simple water tank level notification project using 4 water float switches.
Also, when the level is low it turns off my water pump so the automatic watering stops and I can water manually whatever has the most needs.
My problem is that as the water is not still, the float switch sends open/close very frequently during the transition of the water level (you can see below).
I want to verify 3 readings of the same state with a 30" second delay between the readings and then send the reading to domoticz.
Is it possible?
Thank you!
2019-08-29 08:06:09 Off
2019-08-29 08:06:01 On
2019-08-29 08:05:37 Off
2019-08-29 08:05:27 Off
2019-08-29 08:05:27 On
2019-08-29 08:05:20 On
2019-08-29 08:05:01 Off
2019-08-29 08:04:46 On
2019-08-29 08:04:43 Off