I'm looking into a BBS02 and gear sensor.
I noticed 2 companies selling gear sensors with their kits.
Lectric Cycles with their customised eRad system
And Dillenger.
I asked Dillenger how the gear sensor connected and I got this response..
https://s3.amazonaws.com/elevio-article-assets/55ce631f2c80a/55f74381ba000_gearsensorcom-manual-v10.pdf
Taken from that....
General description
This unique patent pending system developed and made in Czech Republic is based on intelligent GearSensor fixed on the shifting cable, which cuts off the motor drive when the rider activates gear shifting. This brand new technical solution eliminates user-unfriendly and noisy rear derailleur shifting which is caused by chain over straining. GearSensor in combination with the front derailleur allows smooth shifting even if the e-bike is equipped by double/triple chain wheel mid-motor. In addition GearSensor in combination with the internal gear hubs allows perfect shifting performance.
Programmable processors enable individual time setting for shifting gears up and down and adjust micro movement sensitivity of the inner cable to avoid the motor cutting out caused by cable vibration during riding the e-bike.
GearSensor models
The GearSensor is divided into these different models:
1) Model GS-D is a universal model for both derailleurs (front and rear). On this model restarting of the motor depends on the FINISH of the shifting cable movement. This is because system has to wait until the movement of the chain is finished to choose a sprocket or a chainring. MODEL GS-D IS MARKED ON THE CABLE WITH A WHITE STICKER (samples marking).
2) Model GS-I is the model for INTERNAL GEAR HUBS. On this model restarting of the motor depends on the START of the shifting cable movement, plus defined time period. This is because system does not need to wait until the end of the movement of the chain to choose a sprocket or a chainring. MODEL GS-I IS MARKED ON THE CABLE WITH A RED STICKER (samples marking).
And
Bafang BBS01 and BBS02 systems:
Every Bafang BBS motor is equipped with two connectors for brake sensors (HIGO, yellow 3-pin). GearSensors which are compatible with BBS motors are also supplied with the same HIGO connectors. First option is to connect the GearSensor directly to one of these connectors for brakes. Please note that if you do connect GearSensor into this connector, then the restart of the motor could possibly be longer than it should be, because this connector was programmed for brake sensors. The other option is to order directly from Bafang BBS motors with a connector especially programmed for GearSensor, so the restart of the motor will be very fast. For further details please contact us by e-mail and we will help you with the specification of this order.
The end of that paragraph was very interesting.