A wireless temperature sensor network to prevent the legionella-bacterium in water pipelines