This paper presents a solution that utilises ultrasonic technology to allow monitoring snow layer thickness or water level based on measurement from air. It describes the principle of operation of a measurement device using three methods of compensating for changing external factors affecting appliance’s precision. Block diagram of the device is also provided. In order to verify the proposed solutions, the research team tested the device in laboratory and operating conditions. The results obtained this way make it possible to select a configuration of device operation depending on the required measurement precision and limitations associated with installing the system for actual operation.