All you need is an ESP32 board and some tinkering with ESPHome.
If you're a homeowner, you've almost certainly dealt with your fair share of maintenance issues and emergencies. However, there are few things as alarming as plumbing problems, such as leaks, floods ...