Skip to content

v1.1.0

Choose a tag to compare

@MichelleFindlay MichelleFindlay released this 10 Oct 17:36
· 31 commits to main since this release
6ae02c5

A big update. There are two new tabs, Care and Mind, and you can now share your Pillbox with a carer or partner. Pillbox can also send email and phone notifications, connect to fitness trackers, and update itself.

New: Care tab

Routines, check-ups and renewals for everyday health, in categories you choose in your health profile:

  • Dental, eyes, sleep, activity and rehab, feet, hearing, skin and wound care, mobility
  • Respiratory, diabetes and monitoring, blood tests, women's health
  • Emergency and first aid, sharps, screening, vaccinations, prescriptions and payments

Routines

  • Ready-made or custom routines at set times, on chosen weekdays or every few days, with amounts (reps or minutes).
  • Ticked off on Today, with streaks and a 7-day catch-up grid.

Checks and renewals

Each one is tracked in the way that suits it:

  • Due every so often: eye and hearing tests, night guard checks, CPAP and spacer parts.
  • Expiry date: including "use within 28 days of opening" for eye drops and similar.
  • Stock, fill level or kit contents.

Anything due soon shows under Coming up on Today and in your calendar feed.

Blood tests

  • Ready-made suggestions for routine and specific tests, grouped and with tips on preparing. They include:
    • FBC, U&Es, LFTs, HbA1c, cholesterol and thyroid tests
    • iron, B12 and vitamin D
    • INR and lithium levels, and PSA
    • the NHS Health Check
  • A results log for each test, linked to the medicine it's for.

Screening and vaccinations

  • NHS England screening (cervical, breast, bowel, AAA) worked out from your date of birth and sex, with an "Other" option to tick the programmes that apply.
  • Flu each autumn, COVID, tetanus and travel jabs.

Women's health

  • Cycle tracking with predictions, plus contraception and review reminders.

Prescriptions and payments

  • Prepayment and exemption certificates (PPC, HRT PPC, MedEx, MatEx, HC2) with renewal reminders.
  • A cost log and a calculator that shows whether a PPC would save you money.
  • Medicines can be marked as a private prescription or bought without a prescription, with a price. These are logged when you record a new supply and kept out of the PPC sums.

Care summary

  • A printable summary of everything in Care.

New: Mind tab

An optional space for mental health:

  • Check-ins: mood, energy, motivation and anxiety, with tags, triggers, notes and trends.
  • Help now: one tap from every page. It has UK crisis lines you can edit, your own contacts and a safety plan. Help now is never locked.
  • Tools:
    • a coping toolkit, box breathing and 5-4-3-2-1 grounding
    • PHQ-9 and GAD-7 questionnaires
    • a journal with prompts, and CBT thought records
  • Looking after yourself:
    • therapy and care, mental health medicine notes, symptoms, self-care
    • planning activities, habits, wins and connections
    • a staying-well plan and an advance statement
  • Summary: a printable summary for appointments.
  • Lock: an optional PIN, which can be unlocked with a passkey (fingerprint, face or device PIN).

Sharing with a carer or partner

  • Give someone with an account on the same Pillbox access to chosen parts of yours.
  • For each part you choose:
    • no access or see
    • for medicines, log doses or change medicines
  • You can also:
    • keep chosen Care categories private
    • include or leave out the Mind journal
    • set an end date
  • Quick choices are included, such as "See everything except Mind" and "Help with medicines".
  • Every change they make is listed under their name, and you can stop sharing at any time.
  • They can never see or change your account settings, sign-in details, data export or Mind PIN.

Reminders: email and push notifications

  • Email, using PHP mail() or SMTP:
    • a daily summary at an hour you choose
    • appointment reminders, with your questions to ask
    • a new-version notice for admins
  • Push notifications on phones and computers:
    • dose reminders, Care reminders, appointment reminders and the Mind check-in
    • an option to hide the details on the lock screen
    • uses standard Web Push, so no third-party service is needed. On iPhone, Pillbox must be added to the Home Screen (iOS 16.4 or later).
  • Mind content is never included in emails or notifications.

Connect apps and devices

  • WHOOP, Fitbit, Withings and Oura connect directly and sync about once an hour. Depending on the service, they bring in:
    • resting heart rate, heart rate variability, oxygen level
    • sleep, breathing rate, steps, weight
    • blood pressure and temperature (Withings)
  • MyFitnessPal and Google Fit: import their export files (weight, calories eaten, steps).
  • Android Health Connect apps can post to your private sync link, like the iPhone sync.
  • Readings are labelled with where they came from, and importing them again never creates duplicates.
  • New measurements: heart rate variability and calories eaten.

Medicines

  • An optional expiry date for each medicine, flagged on Today and updated when you record a new supply.
  • Dose changes only apply from now on. Past doses and history keep the old dose, and a change starts tomorrow if today's doses are already logged.
  • Dose changes under each medicine are hidden unless you tick Show dose changes.

Getting started and admin

  • First-login setup: walks new people through what they want to use, then takes them to Today. Admins also set the site name, address, email, scheduled tasks and demo mode, which are saved to config/settings.php.
  • Built-in updater:
    • installs new releases from the Admin page
    • backs up the current files first, and can restore them
    • never touches config/config.php or storage/
  • Import data: restore a "Download all my data" file into an account, for example to move to another Pillbox.
  • Demo mode: a sample account for each visitor, deleted when they sign out.
  • Tidy addresses: with mod_rewrite, pages lose the ".php" (for example /medications). Old addresses redirect.
  • The update check now uses GitHub releases.
  • A new logo: a tablet in your theme's colours, with new app icons.

Upgrading from v1.0.0

  1. Update with git pull, or upload the new files. config/config.php and storage/ are kept.
  2. Open Pillbox once. The database updates itself, and existing accounts skip the first-login setup.
  3. Set up the scheduled tasks, which email, push notifications and app syncing all need. Run them every 5 minutes. Or set cron.token and have a web cron service call cron.php?token=….
  4. Make sure storage/ is writable. It now also holds the push and encryption keys and the update backups.
  5. Optional:
  • Make config/ writable so admins can change site settings from the Admin page.
  • To offer WHOOP, Fitbit, Withings or Oura, register an app with each service and enter its keys under Admin → Site settings → Connected services.
  1. Future updates show in the footer only once a GitHub release is published for them.

Good to know

  • Garmin only shares data with approved businesses, so connect it through Apple Health or Health Connect instead.
  • The WHOOP, Fitbit, Withings and Oura connections are new. If a sync fails, the Connections page shows the error.