I actually have a working'ish prototype of this project laying on my table right now.
It's a 120mm noctua fan being controlled by pwm i relation to the temperature. It also has an oled screen to show temp and fan speed. All controlled trough home assistant via esphome.
I say working'ish because the temp sensor i'm using (dht11) is unreliable and is messing up half the time, so i'm looking into buying a DS18B20 instead.
I'd be happy to share schematics and code if you'd like it.
You're pretty rad, y'know that?
If you want to do this as an ESP project anyway, you don't need the extra controller.
Fans take a simple PWM signal, which your ESP (or even one of the smallest Arduinos) can create easily.
Good point, I found this: Tutorial - How to control a PWM fan with an ESP32 and Home Assistant ( https://www.youtube.com/watch?v=9-AZF6udg-Q ) I'm just going to do that but with more fans
I think pretty much any mosfet / h-bridge / motor control board with pwm should do.
If you have those 4-wire fans with a pwm input that accepts 3V3 logic, you might even be able to attach them directly to the ESP:
But that's not all fans, I had some mixed results with that.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!