A method for operating a multi-family/commercial plumbing system includes sensing
an event and recording for each sensed event at least one parameter selected from
the group consisting of date, day of the week, start time, duration of the event,
water flow, water temperature, and humidity. The parameters are analyzed to determine
a pattern and thereafter water flow, circulation, water temperature, and water
use are controlled in accordance with the determined pattern.