Give yourself a shock with Pavlok 3
Sooo Pavlok is pretty controversial. After bombing pretty hard on Shark Tank, they went on to crush it on Indigogo.
Now they're onto version 3. The basic concept is that you give yourself a small electric shock when you do / think about a behaviour you don't want to do e.g. smoking. You can also set it up to do things like "beep loudly if I walk into McDonalds".
There's also a wake up function, that monitors your sleep and wakes you up when you're in your lightest stage of sleep.
Pavlok seems to have a cult following so it's worth a look if you're trying to break some bad habits and get a better night's sleep.