Hey everyone, I wanted to share my experience with setting up an automated bathroom fan system using ESPHome. I’ve been using Sonoff switches and DHT sensors to control the fans based on humidity levels, which works perfectly during the day. However, I noticed that the fans would occasionally turn on in the middle of the night, which was quite annoying.
I decided to tackle this by adding a time condition to my automation. The goal was to ensure the fans only activate between 7 AM and 10 PM. After some research and trial and error, I managed to implement this using ESPHome’s automation rules. It was a bit challenging at first, but seeing the system work seamlessly now is really satisfying.
If anyone else is looking to add time-based conditions to their ESPHome automations, I’d be happy to share my setup or help troubleshoot any issues. It’s amazing how customizable these systems can be with a little bit of tinkering!