You want to monitor the amount of caffeine you consume daily.
Have a small “stick” that when you insert the tip into your drink, tells you how much caffeine is in it.
When you’re on a balcony and would like to extend where your camera is when taking a panoramic picture, or you want a panoramic selfie from a little distance.
Have a mechanism that at a push of a button both starts the panoramic photo exposure on the camera and also start rotating the camera from one end of the scene to the other.
Making you prize and punishment (and the “what for”) public (even if you stay anonymous) might help you abide by it. Because it’s public, people can and will react and encourage you.
A site where you publish you goal, your carrot, and your stick. As time goes by you update your post with your progress, when you deserve your carrot, when your stick, and whether you actually received them. People can comment, encouraging you or criticizing you when appropriate, to help you achieve your goal.