Advanced medication reminder

you can add a weekday condition : Conditions - Home Assistant

Sorry. I wasn’t clear in what I was asking. Is there a way to change it from being marked as skipped if you don’t respond to just have it automatically repeat if you don’t say remind later?

edit: I updated the blueprint to handle timeout on notification, and ask again

Very nice blueprint! I’m using iOS and I only receive a “simple” notification (no selections for Taken, Ask Later, or Skip). Is there something I need to change?

Thanks!

1 Like

It’s weird because I use a simple action like https://companion.home-assistant.io/docs/notifications/actionable-notifications#building-actionable-notifications
Do you an other blueprint where it works ?

Sorry for not following up earlier. This was a dumb mistake on my part for not realizing that I needed to long-press the notification to see the actions. All the tutorials I had viewed showed the actions appearing on their own - apparently this changed in a recent iOS update.

2 Likes

No problem :smile:

Shouldn’t the input_boolean be reset to off at some time before the next reminder is sent?

It’s the first action, when the automation is started, no need to turn it off as we stay in the loop

I updated the blueprint to fix duplicate notification

Button added to add the blueprint directly from my github repo

Merci beaucoup, moi qui prends beaucoup de medoc et ton blueprints est bien pratique. Thank you very much, I take a lot of medoc and your blueprints are very practical

1 Like

Hi! I love what you did. Thank you!

But I would need help to make it like the image you uploaded. how do you make the card?

views:
  - title: Médicaments
    path: medicaments
    icon: mdi:pill
    badges: []
    cards:
      - type: entities
        entities:
          - entity: automation.sante_rappel_prise_de_medicament_midi
            icon: hass:head
            name: Rappel midi
          - entity: input_datetime.sante_rappel_prise_de_medicament_midi
            name: Heure rappel midi
          - entity: automation.sante_rappel_prise_de_medicament_soir
            icon: hass:head
            name: Rappel soir
          - entity: input_datetime.sante_rappel_prise_de_medicament_soir
            name: Heure rappel soir
        title: Prise de médicament
      - type: logbook
        entities:
          - input_boolean.sante_medicaments
        hours_to_show: 2400
        title: Historique
2 Likes

Thanks for your help just one more thing, I got the chart and wanted to do the top part.

I know it’s an “input_datetime” but how can I integrate it into the automation you created?

image

In the reminder_time input, you can put a input_datetime entity, see here : Input Datetime - Home Assistant

I can’t do that on blueprint. On blueprint I can only enter time.

Where in blueprint I can put input_datetime entity?

oh yes, I don’t know if I can do anything to allow you to use an inout_datetime from UI :thinking:

otherwise, you can edit the automations.yaml file and replace the time by the input_datetime entity.

exemple of my blueprint yaml use:

- id: medication_reminder_midi
  alias: Santé - Rappel prise de médicament midi
  use_blueprint:
    path: medication_reminder.yaml
    input:
      reminder_time: input_datetime.sante_rappel_prise_de_medicament_midi
      notify_device: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      input_boolean: input_boolean.sante_medicaments
      optional_action:
        - service: script.notify_enceintes
          data:
            message: "Rappel de prise de médicaments pour

I manualy edit automations.yaml and is working now, thanks.

It will bi nice to have an option in blueprint set input_datetime entity instead time in future releases:)

Now I have another question when I get notify on my phone I don thave options taken, ask later, and skip. And I have no hystory.

I have enabled mobile_app in my HA, and HA app instaled on my phone.

I must configure something else?

1 Like

maybe this : Advanced medication reminder - #17 by Sock