Doing an action between 8am and 10am, and discarding everything else.

I want to be able to make Beeminder forcing me to scan the NFC tag outside my house between 8am and 10am.
Setting a deadline at 10am is not good enough because I often end up with a buffer because I scan my tag later in the day (e.g. at 3pm) and it counts that same as if I did it at 9am the day after.

Is there a way to restrict the start and end hours of a Beeminder goal?
I’m currently using a meta goal called morning_walk, that’s linked to my mh_walks goal.

The alternative is ratcheting manually before going to sleep, which is what I’m doing right now, but I’d like something a bit more automated. I’ve thought about writing a script as well.

4 Likes

I’m no kind of expert, but nobody else has responded so I will. As far as I know, what you want is not possible because Beeminder isn’t designed for time-specific limitations like that. If you go walk outside of hours, why scan the tag at all? If it’s counting for multiple goals, can you get multiple tags? Then you wouldn’t scan this one unless it’s during the hours you want. Otherwise, you might be able to do something with IFTTT. Otherwise, writing a script is probably your best option.

3 Likes

Thanks for answering, I appreciate it a lot!

I’ve been thinking about this in the past few days, and the best seem to have a separate morning_walk and an evening_walk goal instead of doing metaminding shenanigans. And have multiple tags like you proposed.

1 Like

I have an apple shortcuts script which updates “brush-teeth-am” or “brush-teeth-pm” depending on time of day. (I can share if useful, not sure what platform you are on). You could adopt a similar approach to have a QR-code triggered shortcut selectively update beeminder (or update different goals) based on time of day.

4 Likes

If you’re on Android, Tasker or Android Automate may be able to do what you want.

3 Likes