Ditto on the water sensors. I have a Samrtthings hub and the no-name Zwave water sensors from Lowes placed behind all the toilets, along with a Zwave valve on the main supply line. Works great. Had a toilet tank break a few years ago; came home to water pouring from the ceiling.