As someone who’s always tinkering with home automation projects, I thought I’d share my latest endeavor—a DIY smart humidifier controller built using ESPHome. This project has been a fantastic learning experience, and I’m excited to walk through the journey in case it inspires anyone else to dive into some DIY electronics!
The Problem
I’ve been struggling with my Honeywell Digital Humidistat for quite some time. It’s just not accurate enough for my liking, and I couldn’t control it via my Ecobee thermostat because of limited conductors in the thermostat cable. I wanted something more precise and integrated into my smart home setup.
The Solution
I decided to go the DIY route with ESPHome. Here’s what I used:
- ESP32 Development Board (Adafruit Feather ESP32 v2)
- Relay Module for controlling the humidifier
- SHT45 Humidity Sensor for accurate readings
- Weather API Integration to predict window pane temperature
The goal was to create a system that prevents condensation by adjusting the target humidity based on real-time weather data. Here’s how it works:
- Weather Forecast Integration - I pull weather data via an API to predict the temperature of the indoor window pane.
- Dew Point Calculation - Using the predicted temperature, I calculate the dew point and set the target humidity a few percentage points below this value to prevent condensation.
- Relay Control - The relay switches on and off based on the target humidity, with a bit of hysteresis to avoid rapid cycling.
Challenges and Learning
One of the biggest challenges was ensuring the system remains functional even when the internet goes down. I’m still working on a fail-safe mode, but for now, it’s been surprisingly reliable!
Why ESPHome?
ESPHome has been a game-changer for me. It’s incredibly flexible, and the community support is fantastic. I love how I can define everything in YAML files and have it compile everything automatically. Plus, the ability to integrate with Home Assistant seamlessly is a huge plus.
Tips for DIY Enthusiasts
If you’re thinking about diving into ESPHome or any DIY project, here’s some advice:
- Start Small - Don’t overwhelm yourself with complex projects right away. Start with something simple and gradually build up your skills.
- Leverage the Community - The ESPHome and Home Assistant communities are incredible. Don’t hesitate to ask for help when you’re stuck.
- Documentation is Key - Keep thorough notes as you work. It’ll save you countless hours in the future.
Looking Ahead
I’m already brainstorming my next project—maybe an automated plant watering system or something with facial recognition for personalized lighting. The possibilities are endless!
If anyone has questions about this project or suggestions for improvement, please reach out. I’d love to hear your thoughts and learn from your experiences too!
Happy tinkering! ![]()