Text this: M2M system for efficient water consumption in sanitary services, based on intelligent environment