Indicating or regulating the moisture content of the layer