refine driver
 - MagneticSwitch
 - passiveInfrared