I constantly forget to take showers due to depression. I know I’m not the only one 😂 summer is early here in Texas and I don’t want to be the stinky dude

Uses the humidity readings of my bathroom to determine whether I was in the shower:

  • A running 1 hour average of the bathroom humidity is measured.
  • If the current humidity is 8% above the average, it is triggered as “wet”.
  • Then it marks down the last time, and then converts that to “days & hours since” last shower.

I have a badge at the top of my main dashboard that will let me know how long it’s been. It’s already been useful. If I see anything over 2 days I know it’s past time for a shower

I got a false positive from washing my hands when it was set to trigger by 5% increases, so I changed it to 8%.

Happy to share my code if anyone wants to do the same!

Edit: code in a comment below!

  • early_riser@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Hay I did this exact thing, too. Not with so much code, I just have a derivative sensor based on humidity, and look for spikes indicating rapid changes in humidity to tell when I showered.

    I hope you feel better. Depression stinks. I know from experience.

    I had a similar thing with more involved code that told me when the last time I peed was. This is due to a weird psychological quirk I have. If I wake up and look at the exact time, I won’t go back to sleep because my brain says I only have X hours left. So I have to find creative ways of knowing the approximate time, or time relative to some event (last time getting up to use the bathroom in this case).