Today I set up a goal to try to reduce the number of times I look at my phone.
The idea is to get IFTTT to record a data point whenever the phone is unlocked. IFTTT however, does not seem to let me directly use android intents. So my rather inelegant solution is to record the screen unlocking with Tasker.
I set up a Join action to trigger IFTTT following this page, except replacing their example on the IFTTT side with the beeminder datapoint adding.
Then it’s quite simple to set up tasker to call this join action whenever the phone is unlocked. in Tasker we create a new profile, and in the drop-down menu select “Event -> Display -> Display Unlocked”. Then when we add an action, we can see “Join Action” as one of the available actions, and when we click on it it suggests to us the action we just created.
The fact that this uses 3 apps irks me, but it is working well at least.