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!

  • 4lan@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    i dont have a way to see if the fan is on currently. but it gets around natural humidity swings by comparing it to the 1hour average.
    that means if it creeps up to 70% humidity, it wont think im in the shower until it hits 78%. It has to be a sudden change because of this logic