Issue:
The toilet in our powder room sometimes runs on after flushing. The flush mechanism in the tank looks fine. A handle jiggle stops the running and the tank fills. Certainly, something is wrong with the float switch or the flapper that seals water in the tank. Upon inspection, it all looks perfect.
Solution:
My interim solution is to monitor the tank and receive a notification when the water is running on. The goal is to do better troubleshooting when the tank is not sealing - but it only happens maybe one in a hundred flushes.
Hardware:
I am using a HomeSeer HS-LS100+ G8 Z-Wave water leak sensor. The sensor is battery powered. The water pickup is 3 pins on the bottom of the sensor. The package includes a magnetic base that is wired to a tribal 2 pin pickup in a small plastic block.
I tie-wrapped the wired remote pickup to the vertical tube in the toilet tank at a level that when the tank is full of water, the pickup pins are submerged.
I included the sensor in Home Assistant and tested it. It works.
I created a notification automation to alert me when the toilet water has been running for 60 second, which suggests that the tank is not retaining water and the water is running on. I tested the automation and it works.
Software:
Then I nerded out a bit more. The following are not useful for knowing the water is running on, but they’re sort of fun, if not creepy.
- Created a notification automation when the toilet is flushed
- Created a Helper to create new state names (Full and Running)
- Created a Helper as a flush Counter
- Added the Flush Counter value to my Powder Room Toilet dashboard entity card
- Created an automation to reset the flush counter daily - at midnight
- Edited the notification automation for Toilet Flushed to included the current flush count for the day
If anyone is interested in the YAML for any of this, just ask.
Pics:



