The measurement of light can only be done from a vertical position with the light sensor exposed (refer to image below). moisture, temperature and salinity will still be recorded in a similar fashion but with the vertical orientation as a frame of reference. The recommended installation would be like shown in the picture below:
Y