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.

  • ka1ikasan@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day 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.

  • snrkl@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 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.

  • Kane@femboys.biz
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 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?

  • r0hm1@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    7 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.

    • vrek@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      7 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.

  • HolidayGreed@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 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

    • null_dot@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 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.

  • Cochise@lemmy.eco.br
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 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
        arrow-up
        2
        ·
        7 days ago

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

        • dpflug@kbin.earth
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

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

  • shaserlark@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 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.

  • caoimhinr@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 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.

  • GreyEyedGhost@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 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.

  • Encrypt-Keeper@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 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.

  • traches@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 days ago

    If you want to self-host, I recommend a used business thin client, docker + docker-compose, and Tailscale for access away from home if needed. Don’t forget to dump & back up nightly.


    Edit: thin client because it beats a pi in every respect and doesn’t run on an SD card. Tailscale because you don’t have to open ports in your firewall and point a public domain at your house.


    Or you could use hosted services, neon.tech and turso both offer really generous free tiers for SQL databases.

    Or you could use a notebook and pen. Sometimes simplicity is king.