Precise IoT filling level sensor for rough conditions