Control a Humidifier with a Raspberry Pi

Wirelessly control a humidifier based on time and humidity

Similar projects worth following
I purchased a warm mist humidifier to keep my bedroom at a comfortable humidity level in the winter. However, the humidifier had no built in method to power itself off at a certain time or when the desired level of humidity was reached. I aim to add this ability using a raspberry pi.

Potential Modifications and Improvements

I know not everybody will have a WeMo switch sitting around (or might not want to shell out $50 for one). Another option would be to use this method to hack a $10 remote control outlet:

If you don't mind having your Raspberry Pi wired to your humidifier, it may be possible to wire your raspi directly to the on/off switch on your humidifier. Of course, it would be smart to use a relay to isolate the circuit.

In either case, some slight modifications will be required to the script to make it operate without feedback from a WeMo switch.

In the future I'd like to add some options to the web interface to change the values in control.xml. However, I wouldn't be comfortable doing this without implementing some sort of authentication scheme to prevent malicious changes.

That's all for now. Feel free to ask any questions you may have. I'll try to check back periodically.

View all 11 components

  • Done!

    FiZiX03/03/2015 at 20:06 0 comments

    Great news! This project is completed. I may add features down the road but all of the primary functionality has been implemented and I believe I've worked out most of the bugs. I'll keep checking on the project so feel free to ask any questions you may have.

  • Work In Progress

    FiZiX02/02/2015 at 13:59 0 comments

    Please keep in mind that this is still a work in progress but it's nearing completion.

View all 2 project logs

  • 1
    Step 1

    Trim three jumper wires to 3 inches each. Use different colors if possible.

  • 2
    Step 2

    Strip the ends of the wires

  • 3
    Step 3

    Solder the wires to pins 1, 2, and 4 of the AM2302

View all 25 instructions

Enjoy this project?



deʃhipu wrote 02/29/2016 at 23:35 point

Is it just me, or does that humidifier look like Mr Fusion?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates