Expert’s answer: Ultrasonic troubleshooting
Ugh, ultrasonic troubleshooting… I hate to tell you this, but you may have picked the wrong device for your measurement. Ultrasonic level devices have limits when it comes to foam, heavy vapors, and such! Why? Because the sound waves created by the piezoelectric transducer will reflect on the foam rather than the surface, giving you the wrong level measurement.
Not to worry, though. You can swap out your ultrasonic level device for fairly cheap! The market has radar devices for simple applications which will perform better than your ultrasonic.
However, if you do decide to go for a radar, then your product should have a minimum dielectric constant. Fortunately, you can find apps on Android and Apple devices with databases of products and their dielectric constants.
Radars with good cost benefits on the market:
Other resources that might interest you
What you need to know about choosing the right ultrasonic water flow meter
What types of ultrasonic water flow meters exists on the market?
Hybrid level measurement
What types of applications do you need for a hybrid level measurement?
Do you need a radar for boiler level measurement?
Is a radar a better alternative for boiler level measurement than a pressure transmitter?