Advanced medication reminder

BTW, have anyone researched for a solution to notify if medicine was not actually taken today? Please do not propose to sort out onto 7 containers weekly… this also can be forgotten ))

1 Like

With a check on the last updated time of the input_boolean you can do it

You can call a script in the optional_action

Does that mean the boolean flips when the user chooses “taken”?

Yes and reset to off when the blueprint starts

wait sorry for the confusion, so I should send a notification based of when it switches to off?

It becomes a complex action: A person should not only take the med but select and press it is taken… no no, not good. there would be technical solution to detect the med was not taken and send a notification. My only idea is to use some “smart scale” which reports weight of meds left within some period of time: if one table was taken the weight should be 1 gramm less by 09:00AM. But I could not find such scale yet…

Maybe there is some other solution.

The cheap weighing sensors from ebay or ali are good enough for this. :slight_smile: They measure relatively exact values, and this use case isn’t critical for the values to be very exact. :slight_smile:

Have you tried such a sensor in combination with an ESP?

of course you can check with a scale or something else, but this is no more related to this blueprint :sweat_smile:

the most accurate load cell offers 0 - 100g range… it is not enough for this case. that is the issue

Yes, sure. Just thought it is close topic and still take attention of very tiny group of people.

True, I’ll just leave a short answer and get back to topic. :slight_smile:

But you won’t need to weigh the tablets themself, you just have to weigh the difference. The sensors are exact enough, to mark differences, no matter how much weight this is in total. I tried with one of mine, and it can detect differences that are quite small, where it is def. not working to measure an exact weight (2.5kg off).

If this interests you (and maybe others), open a new thread, could be an interesting discussion. If you do so, please mention me with @paddy0174. :slight_smile:

here

1 Like

Hello,

I use this blueprint but i dont receive any message on my phone ?
I dont understand why is not working
All is ok in my configuration


Can you help me please ?
Thanks in advance

You’ll need to show the automation config and/or the step details of the notification action. MIght also upload the trace (the down arrow button near the top)

Hi @Mati24

I’ve been using this for a bit, and have set up 4 instances for various meds i take (and one for my dog). However, when I mark one as taken it marks others as taken too. Right now, I only selected one, and 3 of the 4 booleans are now ‘true’…all the morning ones. The evening one is still false. Attached are traces of two of them (Flonase is the one i responded to)
Traces:
Flonase trace
Meds automation

Hopefully you can help me figure out what’s going on.

Thanks in advance :slight_smile:

If you change the tag: "medication-reminder" to something unique for each automation, is it better ?

Thanks for the quick response. How would i do that? I see ‘tag’ in the blueprint, but not in the automation config. Would i duplicate it and use the duplicate for one of them (temporarily)?

Or can it be added to the config somehow?

Can you try this tag: "medication-reminder-{{ !input input_boolean }}" instead of tag: "medication-reminder" (two occurences) ?

I made the change and the automations are disabled, Config check says it’s valid though, Did I do it right?

data:
        actions:
        - title: !input 'notification_action_taken'
          action: taken
        - title: !input 'notification_action_later'
          action: later
        - title: !input 'notification_action_skip'
          action: skip
        tag: medication-reminder-{{ !input input_boolean }}
        data:
          tag: medication-reminder-{{ !input input_boolean }}

yes, but try this instead:
tag: !input input_boolean
it should work