Help- device to prevent sleeping while driving?

My father used to have one that was worn behind the ear similar to a hearing aid. If your head nodded down or back it would beep to wake the driver. Sorry, don’t know the name of it.