Ok, work sent me home because I'm too sick and my scratched eye hurts so much I can't even open it, and it's making my runny nose more like a waterfall.
So I opened up one of those ebrakes to find out the wiring diagram for it, since it is red yellow and green, and I'd guess that red is +V and green is ground and yellow is signal, but who knows?
Here is what a "linear" ebrake looks like inside:
First the lever taken off, and the retainer ring for the brake sensor removed:
Brake sensor out of unit (pulls out where lever is normally)
Cover removed from sensor, showing spring with little neo magnet loosely sticking to it. I managed to keep this in whatever polarity it is supposed to be in the whole time I was working on it, right up until I started to snap the case back together. Then my eye acted up and I droped it, and so with a 50/50 chance of getting it right it's probably wrong now.
I also broke the little clips that snap over the sides of the white part, so Ill be super-gluing this back together, or melting the corners together with a soldering iron.
The hall sensor is visible at the bottom of the end view of the sensor, paralell to the path the magnet takes when moved by the red plunger
Retainer andf guide removed, hall sticking out
Couple of shots trying to read the label:
And a closeup shot of the sensor's "labelling":
my eye started hurting again so i haven't gone back to test if it works as a throttle or not. Couldn't find any hall with a variation of the above marking in a limited google search, whcih is all i can handle at the moment. (i'm actually touch typing this because it is less painful if i close both eyes, since the eyelid doesn't tense up on the right eye and push on the scratch, then just checking to see if i tgot it mostly right).