I want to connect my static exercise bike to my Raspberry Pi.
Currently it has a basic computer which connects via a mono 3.5mm jack to the base of the bike. I'm assuming it's a reed switch.
Measuring between shield(black probe) and tip(red probe), I read -2.8V when off. 0V when the pedals are in a specific position.
So I'm assuming the shield is tied to B+ in the bike computer, and the tip is the input pin to the microcontroller (which must be pulled down).
Or, the tip is B- and the shield must be the input to the microcontroller (which must be pulled up).
Now my thought is, I can sniff off the signal using a splitter cable, but just want to confirm if my thoughts are correct.
I don't want to open up the bike computer if it's not necessary, and I think all I will need to do is add a Schottky inline with the GPIO pin, and I should be fine no matter what the condition.
I've drawn four diagrams to explain my thinking.
The top two are the options that the bike reed switch could be set up. As the bike isn't grounded, I believe it will work no matter which setup the bike has.

The bottom two are more of a thought experiment if I stupidly swap leads going in to Pi for whatever reason. Again, I believe no harm would be done.
I think in all cases, the Schottky stops any issue with the GPIO pin being changed to an output.
Does anyone see a flaw in my plan?