Are you planning to put the hall sensor into the buckle to detect if the 'plug' part is in?
With the ability go to (almost) any length in your code, you can even detect - to some degree - cheaters: Defining a sequence of events on a state machine lets you detect any odd behavior and sound alarm...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Are you planning to put the hall sensor into the buckle to detect if the 'plug' part is in?
With the ability go to (almost) any length in your code, you can even detect - to some degree - cheaters: Defining a sequence of events on a state machine lets you detect any odd behavior and sound alarm...