Found it, and discovered that pumping the brake pedal half a dozen times made it work again! Been fine now since Sunday, so must of been a loose connection (famous last words!). If it fails permanently I may well get Fraud to fit it, though I expect they'll charge the earth...