Dragino LSN50 connection to eTape water level sensor

Hello all,

I have connected the eTape to the LSN50 sensor node like so: https://idealink.net/learn/liquid-level-sensor. However I am trying to figure out how the payload decoder code will work since the eTape water level sensor uses voltage to measure the level. At this point in my project, I am working on setting up multiple LSN50 sensor nodes on a school site to measure the water level using the eTape.

The eTape is a sensor which measures the water level using the voltage difference in different levels of the sensor: eTape technical sheet.

Therefore, directly connecting the eTape to the LSN50 without some kind of code to process the water level measurement from the voltage won’t work. Does anyone have any suggestions on how I would be able to code the payload decoder in TTN to obtain necessary data from the eTape?