I have a swimming pool at home, which I need to refill with water every few days due to evaporation. I’d like to know when the water level is below a threshold, but I haven’t found any Tuya sensor to monitor water level.
So I have installed this Zigbee water leakage sensor (https://s.click.aliexpress.com/e/_9jMpzn) in the swimming pool, and I am using it in an unexpected way – I don’t want to detect water but lack of it.
This sensor has two states: normal and water detected. In normal situation, the sensor is covered by water and it only goes into normal state when water level has decreased a few centimeters.
So I have created a condition that goes TRUE when sensor turns into normal state (no water detected).
Condition only goes TRUE if it has been TRUE for 2 hours. Reason is that, due to the natural water movement (or wind), sometimes sensor switches states every few seconds. Two hours is enough to make sure that water level is well below the threshold.
The logicblock which is triggered by this condition sends a notification to my mobile using an HTTP request to my favorite notification service, Vybit