Canadiangeek.net How do you know you can't do something if you haven't tried

Water Leak Monitoring

Fed up with playing a perpetual game of water whack-a-mole due to pesky leaks in my home, I decided to take matters into my own hands and become the DIY superhero of plumbing mishaps. Armed with determination and a soldering iron, I concocted a water sensing circuit paired with a shutoff valve, dubbing it my "Aqua Avenger" creation. Now, when a leak dares to rear its soggy head, my trusty circuit detects it faster than a cat spotting a laser pointer, swiftly shutting off the water flow and saving the day. Who needs a plumber when you've got a bit of ingenuity and a pinch of humor?

Features

  1. MQTT control, valve can be open/closed/locked open/locked closed by sending it MQTT messages via a broker.
  2. MQTT status updates for valve position, sensors missing, button presses, sensor status, and connection issues
  3. Configurable open/close durations (not all valves close in 10 seconds)
  4. Easy Wifi setup, unit powers up in a wifi station mode with a randomly generated password for each device, this password is output via serial when the device is first powered on and printed on a sticker on each device.
  5. Dynamic or static IP configuration, once again setup during the initial process, or can be modified from the web UI
  6. Stored log events, the device stores a log of the last 20 events in memory along with their timestamps, this includes, errors, warnings and status updates for valve operations.
  7. Manual and web-based valve control, buttons on the physical device, manual pin for controlling without power as well as web based and MQTT control for controlling the device remotely.
  8. Ability to lock the valve even if sensors are triggering. Once a problem has been resolved the water sensors can take time to dry out. The web interface provides controls for locking a valve in an open state regardless of sensor values
  9. Support for multiple valves on one network, currently an unlimited number of valves are supported with 25 water sensors per valve, each sensor module can support up to 10 sensor channels, each channel can have a maximum of 18 feet of water sensing wire.
  10. Web-based firmware updater for both the valves as well as the sensors. Valves have the ability to push firmware automatically to each sensor during the registration process.
  11. Supports user/password login with token-based authentication. Unfortunately still using HTTP, HTTPs is not supported at this time.
  12. Sensor whitelists to provide notifications when sensors are missing for more then a configurable number of seconds
  13. Single web interface that allows access to all individual sensors and their settings using token-based authentication between devices