Yep, an in-line presure switch is the way I went. I would suggest maybe putting it close to the master cylinder before the pressure valve so it gets good fluid pressure.