Journal

Smart Medication Management: Intelligent Pill Scheduling and Reminder Systems for Elderly at Home

Smart Medication Management: ระบบจัดการยาอัจฉริยะสำหรับผู้สูงอายุที่บ้าน

May 13, 2026 · 1 min read
Smart Medication Management: Intelligent Pill Scheduling and Reminder Systems for Elderly at Home

Medication Non-Adherence in the Elderly: Concerning Numbers

WHO statistics: 50% of elderly patients with chronic diseases do not take medication as prescribed. In Thailand, where elderly often live alone or with non-medical caregivers, this problem is compounded.

Consequences of missed medication:

  • Hypertension: missed antihypertensive → stroke risk
  • Diabetes: irregular intake → blood sugar swings → complications
  • Cardiac: missed blood thinner → clot risk

Smart Pill Dispenser: The Core of the System

Recommended devices:

MedMinder Maya (imported, ~8,000-12,000 THB):

  • 28 compartments for 4 doses x 7 days
  • Wi-Fi connection + mobile app
  • Audible and flashing light alerts
  • Family notification if pill not taken within 30 minutes
  • Weekly adherence report via email

Pria by Black+Decker (~6,000-9,000 THB):

  • Voice reminder with spoken prompts
  • Locks medication until scheduled time
  • Built-in video calling with family

DIY Option with HA + ESPHome: For those with DIY skills: ESP32 + Servo Motor + RGB LED builds a pill dispenser for 1,500-2,500 THB, connected to HA via MQTT — 70% cheaper than commercial units.

Medication Reminder Automation with Home Assistant

Multi-layer reminder system running in parallel:

Layer 1: Smart Speaker Audio Reminder

yaml
alias: "Medication Reminder Morning"
trigger:
  - platform: time
    at: "08:00:00"
action:
  - service: tts.speak
    target:
      entity_id: media_player.living_room_speaker
    data:
      message: "Time for your morning medication"
      language: "en"

Layer 2: Smart Bulb Flash At medication time: living room light flashes yellow 3 times to draw attention without repeated verbal prompting.

Layer 3: LINE Notification to Family If 30 minutes pass after reminder with no pill dispenser interaction → LINE alert sent to family members.

Layer 4: Escalation Call If 60 minutes pass without any response → HA places a VoIP call to the caregiver’s phone.

Medication Adherence Dashboard

HA dashboard for tracking medication adherence:

  • Calendar View: days taken (green), missed (red), taken late (yellow)
  • Streak Counter: consecutive days of adherence — small gamification element that supports motivation
  • Weekly Report: summary sent via LINE to family every Monday morning
  • Medication History Export: PDF for physician review at next appointment

Managing Multiple Medications

Elderly with multiple chronic conditions may take 5-15 medications daily. The system must handle:

  • Multi-medication schedule: morning, noon, evening, bedtime doses
  • PRN medication (as-needed): such as pain relief — log the exact time taken
  • Refill reminder: alert 7 days before any medication runs out
  • Drug interaction alert: connect to medication database to flag potential interactions when caregivers add new medications

Summary: Technology Supports but Does Not Replace Caregiving

Smart medication management does not replace human caregivers — it extends their capability, allowing effective oversight even when not physically present. Accurate adherence data also enables physicians to adjust prescriptions more precisely at each appointment.

Questions & answers

How much does a smart pill dispenser cost and where to buy in Thailand?
Imported units like MedMinder cost 8,000-12,000 THB, available through Amazon or local importers. The DIY ESPHome build costs 1,500-2,500 THB. A simpler option: use a manual pill organizer with Smart Reminders in HA.
Can elderly who are not tech-savvy use this system?
Yes — the system is designed for minimal elderly interaction. Opening the dispenser compartment or pressing a simple button is all that is required. All the technology sits on the caregiver and family side.
Which pill dispenser brands can connect to Home Assistant?
HA connects directly to pill dispensers supporting Zigbee, Z-Wave, or Wi-Fi (Tuya). DIY ESPHome builds integrate fully. For API-enabled units like MedMinder, a REST Sensor can pull adherence data into HA dashboards.

Related reading