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.
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!
That would be amazing thanks, I've barely worked with Arduino but I just ordered a starter kit to play around with and learn.
I made a git repo with the schematic and yaml file for you, if you have any questions feel free to ask.
I may not know the answer, but i'll do my best to help.
You're pretty rad, y'know that?
Thanks. 😀
I had to use 4 different sources to make my project work.
It wouldn't be nice to force others to go trough the same amount of trouble when i already have the files.
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
Yeah - most mcu’s can do this without home assistant. However if your coding skills are worse than your eps-home skills then using HomeAssistant with an esp is a solid solution.
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.