2 reed switches 1 magnet. One for the tail light and the other is for turning on the relays to connect the batteries.

(click to close)