Control of swimming pool waters