I would like to be more aware of my stress levels throughout the day and help reduce it. One of the best ways to reduce it is by running. I would like to go running every time my stress levels are above a certain threshold. I would like to use the Beeminder API to ratchet my goal down to one hour left before a deadline. Is that currently possible, or is there any workaround to make that possible?
You can ratchet goals via the API:
You can use that to ratchet away your safety buffer down to zero days. Beeminder currently doesn’t really try to model commitments on a level more fine-grained than days.
That said, I think you can use the goal update API to change the goal’s deadline, though that’s undocumented:
If that works, it would be by passing an integer number of seconds from midnight in the deadline field.
Unfortunately, for autodata goals I believe it is not allowed:
deadline: [‘must be a time between 07:00am (earlybird) and 06:00am (nightowl)’,
‘changes are not allowed for this type of goal’]
I found a workaround, which is a bit complicated but essentially, I set a timer for an hour and send a negative data count to my goal, causing it to derail, if I don’t run within that hour. I have a write up here in case interested: https://blog.mydevin.com/I-Built-a-System-That-Charges-Me-If-I-Don’t-Run-When-Stressed