Hi all,
I know there are many dew-point ventilation projects out there, but I had another and more sophisticated approach:
- motorize a window for passive ventilation
- standalone operation, with decisions on device. This makes the operation more robust, as it is working also with interrupted WiFi
- various modes, so we can change the logic, without rewriting the code
- on-device monitoring with a display
- on-device parameter update, if required
So, I built this ESPHome Project:
Flo-R1der/ESPHome_window-opener: Automated ESPHome window controller for temperature and humidity management with absolute humidity comparison, scheduled/manual modes, and standalone local control via OLED and rotary encoder.
Features
Automatically controls a motorized window based on indoor and outdoor climate conditions.- Uses separate indoor
and outdoor
sensors for temperature
and humidity
.
Calculates absolute humidity to determine if ventilation actually helps to improve the air condition.
Supported operating modes: Humidity, Temperature, Scheduled, and Manual.
Displays the current measurement values, operating mode and evaluation directly on the display.
Configurable target values and hysteresis for both temperature and humidity.
Local control and configuration using a rotary encoder and OLED display.
Standalone operation and configuration, without any Wi-Fi connection supported.
Can be fully integrated into Home Assistant through ESPHome.
Example Video
Results
I let it run for over a week now and it’s doing it’s job quite well:

= inside values /
= outside values
Possible Improvements
- Add physical position feedback or end switches to improve the accuracy and reliability of the window position.
- Add a rain sensor to prevent the window from opening during rain.
- Add a wind sensor or wind protection logic for storm conditions.
- Add additional safety mechanisms for detecting unexpected motor behavior or mechanical obstruction (e.g. monitor the motor current).
- Support multiple motorized windows with coordinated control.
- Add support for an additional fan, if the indoor/outdoor deviation is high
I would really appreciate any feedback or improvements on the feedback.
Best Regards, Florian
Like My Work?
Part My Smart Home Stuff.
