Research on intelligent management of water flow using flow-mon in smart home systems