Integrated Automation Control of Plumbing Systems