Shielding or protection of sensors from environmental influences