using a magnet to trigger a traffic light
Probably any magnets do not help at all. The vehicle detection by induction loop relies on variations of inductance by large metal (ferromagnetic) object standing over the loop. The inductance is measured on AC, DC magnetic field from any permanent magnet just falls out of detection.

Briefly, you need a ferromagnetic object of a car size to trig the detector.