Meds tracker - is it possible?

Hi there,
I will describe what i want to achieve, since i am not sure what i need to accomplish it.
I want to make some sort of meds tracker, because my little one often needs weird combo of meds. So i basically need to add a list of meds (like todo list) and when checking one of those items to save the time when it was last checked, so i will be able to quickly see when was the last time she took something and what it was.
Ideally this list would need to be ‘reset’ at some point, depending on the prescription.
Has someone done something similar or at least have an idea of what components to start researching?

1 Like

Have you thought about an automatic pill dispenser? There are many available that work with your smart phone. From there you can start looking into an API connection to HA or NODE RED.

My little one doesn’t need an extensive list, but he does get tylenol, benedryl, and some other children’s stuff from time to time when needed.

In order to keep track of dosing, I made a couple of scripts that literally do nothing (just to track the last time they were “ran”), and then used Mushroom Entity Cards on the dashboard since they allow you to display last-changed as secondary info. So this will give you a pretty good idea of when the last time he got a dose was. I reversed the buttons so that a tap will show you more-info, which gives you the detailed time, and you have to long-press it to “run the script”, which just updates the last-changed field.

If your little one needs dozens of different meds, all dosed at different times, this might become a bit of a pain, but if they are all at the same time, it could certainly be a workable solution.

Here’s the code from the Tylenol button:

  - type: custom:mushroom-entity-card
    entity: script.son_tylenol
    tap_action:
      action: more-info
    primary_info: name
    name: Son Tylenol
    icon: mdi:pill
    secondary_info: last-changed
    hold_action:
      action: call-service
      service: script.son_tylenol
      target: {}
1 Like

Fortunately she doesn’t need anything on regular basis, but she started kindergarten and she gets sick a lot, so occasionally she gets a new prescription with new stuff, but this scripts idea is quite neat. Yes, I will have to change the names from time to time, but this will definitely help me with what I need. Thinking about it, since I would last triggered attribute I can do something with the scheduler also to ping us if we missed something. Thanks again!

1 Like