So background, my kid has seizures often. He is currently on 5 different medications to try to control it(plus 1 for sleeping and 1 for his liver enzymes) plus severe non verbal autism so he can’t tell us if he already had his meds. Currently when it’s medication time, it’s always “did you give him his meds yet?” and we have no way of tracking how many seizures he actually has besides “alot more recently” or “it’s gone down recently”. Yes he had multiple doctors and this is NOT a post looking for health advice.

I am creating an app for phones(c# Maui) which will send json objects to a api to store/retrieve data in a database(when he last had medication x, when he has a seizure etc). It will probably only be used with in my family, maybe 20 entries a day on a really bad day(7 medications twice daily + 6 seizures to give a round number) but should be less then 10 transactions(most medications given at same time).

What’s the cheapest/easiest was I can host something like this? I do not have a static ip. Yes it’s health information but I’m only storing first names and tracking time of events, not too worried about hippa like security.

  • caoimhinr
    link
    fedilink
    English
    215 days ago

    A VPS on Hetzner with 2 shared vCPUs, 4GB ram and 40GB storage costs me less than €5 per month. I use it for services that are more “critical” compared to what runs on my home server.

  • @r0hm1@lemmy.world
    link
    fedilink
    English
    1315 days ago

    Why not Home Assistant? You can log seizures via buttons on the UI (web or mobile app), or via an NFC tag, have counters and stats. Counters can also be used for medication tracking. More advanced solution exist via custom integrations, e.g this.

  • Encrypt-Keeper
    link
    fedilink
    English
    115 days ago

    You can get a VPS on Vultr for $5 a month that’ll be plenty for your use case. For security look into mTLS. Web servers like Caddy support it pretty easy. You put a certificate on you and your wife’s phones and only you will be able to connect to your endpoint.

  • @GreyEyedGhost@lemmy.ca
    link
    fedilink
    English
    114 days ago

    I’m not sure of the availability guarantees, but Oracle and other cloud services have free tiers for low CPU/RAM/storage needs. If the availability guarantees are there, this could be an option. It works fine for FoundryVTT and hasn’t cost me anything for the last couple years, and I don’t imagine your projected needs would outstrip Foundry’s.

  • @Cochise@lemmy.eco.br
    link
    fedilink
    English
    515 days ago

    If you don’t have strong privacy concerns, you can use the free tier vps from oracle cloud or Google cloud. They are small, but are more than enough for this load.

      • @peregus@lemmy.world
        link
        fedilink
        English
        215 days ago

        I’ve read very bad experiences about Oracle free tier VPS, like VPS disappeared for good with all the data.

        • dpflug
          link
          fedilink
          115 days ago

          They wouldn’t even accept my card for mysterious reasons. Only time I’ve had that problem.

  • Kane
    link
    fedilink
    English
    112 days ago

    Something like DigitalOcean or Hetzner will set you back a max of 10 euros a month. But that does require some technical know how with a terminal.

    Would that suffice, or are you looking for something more ‘UI Based’ that will manage it for you?

    • @vrek@programming.devOP
      link
      fedilink
      English
      115 days ago

      Yes but for example for seizures I want a simple form, not having to type in entries. Especially for siezures, it’s normally a busy event of caring for him, having to add a seizure taking more than a minute means it probably won’t be used.

  • @ka1ikasan@lemmy.zip
    link
    fedilink
    English
    29 days ago

    I have a very similar situation: a cat with a severe kidney disability, meds 5 times a day with at least 2h between each. We’ve been using a whiteboard but I am currently setting a smarter solution. My WIP setup is a raspberry pi with a static IP on my local network and a FastAPI app. This way I can also do a household to-do lists (did anybody watered plants recently?) and add connection to local smart lights (effects if meds could not be given with 2h interval before our usual go-to-bed time), etc.

    It would only work for us since it is a household only solution. Our cats do not travel anywhere and I do not currently need to check for these todos when not at home. It may be different for you. Good luck OP, hope you will find something that suits you.

  • Onno (VK6FLAB)
    link
    fedilink
    English
    1015 days ago

    Google Sheets will be a simple solution you can do for free.

    The app “Track & Graph” is another.

    I have been logging all my medical events using Tasker and a Google Calendar. Analysis is manual using graphviz.

      • Onno (VK6FLAB)
        link
        fedilink
        English
        215 days ago

        The boundary of where to host what, is not fixed. You cannot host the internet at home. Where people sit on the spectrum varies depending on skill, resources and need.

        I highlighted several options that provide a solution for someone with limited skills and resources.

        You could host a CALDAV server or a next cloud at home and use the suggestions I provided, or you could use those hosted by someone else.

        My answer was to provide ideas, not a how-to guide, answering, in my opinion, exactly what OP was looking for.

        That it doesn’t match your idea about solving the problem tells you that there are many ways to solve software problems. My suggestions had a low barrier to entry.

        What’s your recommendation for OP?

  • snrkl
    link
    fedilink
    English
    112 days ago

    I’ve used airtable for these sorts of “personal use” use cases (eg: home built rocketry flight log) and I was even able to use their iPhone / Android app to enter data.

    I haven’t paid a cent for it yet as I’m well under their data caps.

  • @shaserlark@sh.itjust.works
    link
    fedilink
    English
    214 days ago

    You can drploy a Cloudflare worker that exposes an APi endpoint with an SQLite DB completely for free and without doing any maintenance. I don’t think the DB is encrypted , so it wouldn’t be my first choice if privacy is a concern. There’s a bit of a learning curve with all the UI bloat but once you figured it out it’s a very hassle free solution.

  • Do you need a web app, or would a mobile app do? There are a number of medication trackers and one specifically for tracking stuff like this called Track & Graph. The DB export is a SQLite DB, which can be SyncThing’ed to a computer and worked with with whatever rolls you like.

    • @null_dot@lemmy.dbzer0.com
      link
      fedilink
      English
      215 days ago

      This is what I was thinking.

      Syncthing will be the quickest to set up.

      There’s a potential for collisions but that would likely be manageable.

  • @HolidayGreed@sh.itjust.works
    link
    fedilink
    English
    515 days ago

    I’m using a free web host plan from freehostia (chocolate plan), an SQLite database and a single php file from the github repo below to provide me api access to my database tables. I previously used the web hosts MySQL database.

    Create some QR codes or NFC tags for specific medication/seizure events to make logging easy. For visibility you can create some reports and you’ve got yourself a solution.

    I use this setup to manage and log my backup tape rotations at work.

    https://github.com/mevdschee/php-crud-api

  • @jubilationtcornpone@sh.itjust.works
    link
    fedilink
    English
    215 days ago

    Since you’re already working in C#, an ASP.Net Core backed, with whatever database you prefer, will do what you want.

    You could self host it, but I wouldn’t call that easy. There are plenty of cloud providers that can integrate with your preferred git repo and really streamline the build and deployment process. I run a few applications as “Apps” on Digital Ocean. Once you get it configured properly, deployments are quick and easy.