Hey guys,

its me again with medication assistant :D For anyone who never heard of MedAssist, it is selfhosted web application that tracks medication usage. It’s main feature is to send e-mail remainder when it’s time to reorder medication. I have received a great feedback and you all guys made me even more excited to spend time on this project. Honestly, I can’t believe how many people even visited github page, thank you a lot! Some of you broke demo page which helped me find weak spots, so thx about that as well <3. I received some feature requests and bug issues via reddit, lemmy and github. I spent some time working on them and now I want to announce an update (still develop branch):

  • Possible to have Usage = 0
  • Filtered invalid characters on inputs
  • Reduced CPU/Memory usage by improving backend (hopefully no more crashes)
  • Rebuilt Upcoming Schedules (more simple and lightweight)
  • Added more styling to e-mail notifications

Demo is up and running again, feel free to try it or brake it. Fingers crossed there are not many bugs left. If it turns out it’s stable enough, I’ll merge develop to main branch and create latest release. Planning to add few more features in the next release. BREAKING CHANGE: Make sure you backup your database file (medication.db) and modify docker-compose Database path was changed (to achieve uniform path no matter what installation method was chosen), so make sure to update docker-compose with: volumes: - /path/to/database/directory:/app/medassist

Change to: volumes: - /path/to/database/directory:/app/database

Also change version tag to develop or v0.15.0.develop if you are using docker. Link directly to develop branch with new update: https://github.com/njic/medassist/tree/develop All suggestions are welcome and feel free to star the project on github <3 R—

  • RxBrad@infosec.pub
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    21 days ago

    Pharmacist here, struggling to find a way to keep my dad on schedule with his Parkinson’s meds.

    Adding an option for webhooks at scheduled dispense times would open up some cool opportunities for nerds like us to create automated dispensing units.

    • rambos@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      21 days ago

      I was thinking about building device as well. I wouldn’t mind adding webhooks, or maybe even home assistant integration. I would need to know more about device itself to find the way to do it tho.

      Do you have in mind ideal device and workflow? I’m interested also in 3D modeling and 3D printing, but I’m not sure what kind of device is best for that use case yet. I don’t know anything better than using phone alarm as reminder, but feels like dedicated device could fill that role perfectly. Phone alarm doesn’t require internet connection, its quite stable and you always have it with you, its hard to beat that lol.

      Btw, before device comes to life, this app might help already! At least you can check if your dad took meds, by counting how many left and comparing that with number in MedAssist.

      • RxBrad@infosec.pub
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        18 days ago

        I’m just thinking something as simple as the app triggering an event that unlatches a compartment that corresponds to that specific time. “It’s 12:00. Open the compartment with all the 12:00 meds.” You’d probably have to include multi-day support, too (I fill dad’s meds a month at a time in this - https://a.co/d/cRw0e93 )

        That same event could do things like trigger a visual or audio alarm, too.

        My goal would be to make it as hands-off as possible for him. He already finds ways to “cheat” the daily dispensers he has now.

        EDIT: Look up Pyxis or Omnicell Dispensers for examples of unlatching compartments. We use these pretty extensively in hospitals.

        EDIT 2: Here’s a good example (starting around 2:00) showing how the individual compartments unlatch: https://youtu.be/bPJSbexZNC4?t=120

        • rambos@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 days ago

          Thanks, such a great info. I have 0 experience with these, Ill check them out. Hopefuly Ill figure how to design a perfect one 😉

      • tenchiken@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        21 days ago

        I’d absolutely love this to have a home assistant hook, or even be able to run it as an add-on. Being able to issue triggers, notably Android notifications, would be perfect for my home.

        Additionally, being able to track “taken” as well as record the time/date the dose was marked as such would be great!

        • rambos@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 days ago

          If you need something right now, check my other github project - its home assistant version of MedAssist. Its not well documented, but you can find automations that trigger on schedule, dashboard page with preview and config page to update quantity, sending email reorder reminder, sending android critical notifictions or setting android alarms every morning for that day. I abandonded that basically as soon as MedAssist came to life, but It was working great for quite a long time. Anyway, Im quite confident this project will be able to talk to homeassistant at some point.

          About tracking “taken”, I need to figure how to track reliably enough to make it worth, but Ill deffo keep looking