Rss

Medication

Medication can be great, it helps you get better and can help you cope with pain.  The trouble is, almost all medication has side effects.  It can colour your urine, make you constipated, induce seizures, get you stoned and if it’s not yours it can even kill you.

Some medication must be taken at certain times of the day.  I have one tablet at midday, and again at midnight.  I have some tablets which need to be taken around 9pm, while others are taken as and when needed.  The trouble is, all of my tablets have side effects, some of them quite severe so I’ve found a solution.  No longer can I forget to take my meds.  No longer can I wonder if I’ve taken them and take them twice.  While the solution is a little over the top, it’s a solution, and one that works well for me.

For this, you’ll need:

Dropbox
First of all, create a folder and a text file in Dropbox.  It doesn’t really matter what they’re called, but I’ve kept mine as \Reminders\Meds.txt as I use the Reminders folder for various things.  Once the text file is created, go to the Dropbox app and favourite it.  The file should then have a purple circle with a white star at the bottom right.  This is done so that the file is available when there is no network connection.

File Manager
Use your file manager to go to SD Card (internal if available) \Android\data\com.dropbox.android\files\scratch\Reminders you should see Meds.txt (or your variation if you’ve changed the names).

Tasker
Once confirmed, you can load Tasker.  I always have Tasker’s Beginner Mode unticked to ensure all of the options are available (Menu, Preferences, UI).

  1. I started by creating a variable called Meds (Vars, +).
  2. Then created a Profile called Meds Day which was time based, from 12:00 to 12:01,
  3. and created a Task called Medication.  The Task has the phone say “It’s time for your medication” – Misc, Say, using the Alarm stream so that it’s independent of the Ringer/Notification volume.  This is also pushed to my watch using an app called Pebble Notifier (amongst other things, the Pebble saves me stopping the wheelchair in order to get my phone out).  Using Task, Wait, the phone waits three seconds before Variable Set changes the variable Meds to 0.  I later arranged to have the buttons on my watch display the options ‘Meds Taken’, ‘Dismiss’, and ‘Meds Taken’, courtesy of PebbleTasker.  (I needed to add the Task ‘Meds Taken’ before I could do this).

You can also create the Profile Meds Night (for example) and link that to the Task Medication. By selecting set times you can create as many of these as you’d like.  If you wanted specific medication mentioned, simply repeat the steps two and three and name them appropriately.

Next, I created a new Task, named ‘Meds Taken’.  Using Variable Set the variable %Meds is changed to the value ‘1’. PebbleTasker then changes to the default options and a message is flashed on the screen (Alert, Flash) acknowledging ‘Meds Taken’.  The date and time are updated in the file (File, Write File) Android/Data/com.dropbox.android/files/scratch/Reminders/Meds.txt with Append and New Line ticked.
By doing this I am able to keep check of when I’ve taken my tablets and the file is automatically synced with Dropbox on my other devices.  In the bottom right corner I’ve also added an icon resembling a tablet, this was necessary for me to create a shortcut from the phone’s home screen.  It’s so much easier tapping an icon on the phone than going to Tasker just to change a single variable.

Meds Taken

Of course, life gets in the way sometimes.  It’s not always convenient to take tablets exactly at the intended time.  With this in mind (learned the hard way), I created a nag system:

The creation of a Profile and Task, each called Meds became my nag system.  The Profile is set every twenty minutes throughout the day, starting at 00:10 to ensure I had time to take my meds before it started nagging me, but sufficiently apart so I didn’t become annoyed with it, especially if I was somewhere that I couldn’t take my meds. The Task simply says “Have you taken your medication yet?” (Misc, Say) and has PebbleTasker open the options for ‘Meds Taken’, ‘Dismiss’, and ‘Meds Taken’ again.

Meds Taken

[Note, the other band on my wrist is an NFC tag which, when scanned, shows my name, NHS number etc.]

The whole process has evolved over time to include and exclude various aspects.  If in future any changes are made to it, I’ll post in the comments.  Of course, because Tasker is a one-off payment, hopefully it won’t incur any further costs.

Leave a Reply