Since the analog input supports voltage,
You can connect an accessory that supports voltage ,only you need to calibrate the voltage levels to differentiate between wet and dry paper.
On the server side, you can interprets high and low voltage thresholds and within these ranges, the software portal will show the status of the connected accessory