Bathroom humidity controller

blockly.parallax.com/blockly/projectlink?id=60669&key=b3c7c1df-7866-4d00-b3fb-f7be386dd98f

Ongoing project. This works in Blocky, but I'm unable to load this in to Solo. I figure they will get there, not worried, and I think it is unable to load due to using user code block to calculate dew point.

When dew point is within threshold, fan turns on. Added with this version, adding time to light timer if dew point is within the threshold. The idea is to ensure the light is not turned off when in the shower. That happened to my spouse.... oops. This uses the temperature/humidity, PIR, and light sensors. Light sensor is for future use.

Comments

  • Good work and cool project!
  • Great Project! With some hardware shots, this could go in the Customer Projects thread
  • Thank you. I keep tweeking the code. Before we got a dehumidifier I had to adjust the threshold value summer vs winter. Summer naturally gets dehumidified by the air conditioning. Winter ran closer to the dew point so the fan would run most of the time if using summer setting. I tried using a sudden ramp in humidity to start the fan but I disabled it due to running a lot. I would like to make it learn what is the best setting, but I haven’t figured that out. Other directions are replacing sensor with air quality to add VOC to also turn on fan and see if I can run two bathrooms off one prop.
  • CapdiamontCapdiamont Posts: 204
    edited 2019-12-15 - 22:33:41
    Wrong post
  • Great progress!
  • This is Sort of funny, and it illustrates a point: engineers think totally differently from everyone else.

    I saw @Capdiamont post and went “hey! Neat! I should build one!”. To which my wife replied “you see that yellow flippie-thingie on the wall? We call that a ‘switch’ and it controls the light and the fan just fine!!!”

    Spoil-sport... :)
  • @JRoark true the normal switches work very well as long as the person works them well. Our family tends to leave the fans off, leave them on for too long or to prevent them from being on too long, turn them off too soon. This solves that. Humidity is a bad thing in the house.
  • @Capdiamont I totally agree about needing some humidity control. We are in Deep South Texas here. 100F at 95% RH is a pretty typical summer day for us. Brutal! Which is why I was very intrigued by your idea. But SWMBO (She Who Must Be Obeyed) ... was not so much. :)
  • JRoark wrote: »
    This is Sort of funny, and it illustrates a point: engineers think totally differently from everyone else.

    I saw @Capdiamont post and went “hey! Neat! I should build one!”. To which my wife replied “you see that yellow flippie-thingie on the wall? We call that a ‘switch’ and it controls the light and the fan just fine!!!”

    Spoil-sport... :)

    That kind of thinking is soooo 20th century, jeez!
  • CapdiamontCapdiamont Posts: 204
    edited 2020-01-17 - 01:49:22
    The program can now be uploaded to blockly solo.
  • Decided to add buttons and use the built in WX LEDS. Got tired of turning it off to prevent the fan from running till I reprogrammed it. Fan can now be turned off by the same button. There is two threshold settings, Summer and Winter. Winter has more humidity so a narrower threshold is used, 0.5F between the dew point and current temperature. 2.0 is used for summer. If fan was auto activated, and button was pushed to turn fan will turn off and threshold is set to narrower setting. Now have button and LED for mode for auto on and manual for fan. This allows for times neither threshold is correct such as window open. Other new button and corresponding LED is to change between threshold settings. Now to see how the changes affect things.
  • Jim EwaldJim Ewald Posts: 696
    edited 2020-05-18 - 15:41:25
    Thanks for reporting the error in Solo. Your hunch is correct. The custom code block is not loading correctly and that throws off the rest of the project. I will open an issue to get this resolved.

Sign In or Register to comment.