this post was submitted on 01 Dec 2024
45 points (95.9% liked)

Selfhosted

40492 readers
701 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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---

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 3 days ago* (last edited 3 days ago) (1 children)

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.

[–] [email protected] 5 points 3 days ago (2 children)

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.

[–] [email protected] 6 points 3 days ago* (last edited 11 hours ago) (1 children)

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

[–] [email protected] 1 points 2 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 😉

[–] [email protected] 3 points 3 days ago (1 children)

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!

[–] [email protected] 2 points 1 day 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