Even though my bike is made of obese steel and various other heavy alloys, I've just smacked a 10x25mm cylindrical magnet on the sump bolt and never missed a set of lights before.