A distributed sensor network for waste water management plant protection