Hacker News new | ask | show | jobs
by kelvie 842 days ago
I've been using an esp32-based fan controller with esphome and inlined C++ for my waterloop for a while, with a custom (but super simple) temp control algorithm as well:

https://github.com/kelvie/esphome-config/blob/master/pc-fan-...

The main reason for doing this was so that I didn't have to connect the controller to my main PC via USB to program it (I can change the target points via MQTT/wifi).

Playing around with this stuff on my laptop I've also noticed that you have to be careful what calls you make when querying system status on a loop, some things (like weirdly, `powerprofilectl get`) even when called every 5 seconds drains a surprising amount of battery, so in a sense, your tool may start to affect the "idle" power consumption somewhat, and you need to test that.

1 comments

This looks so promising! The only issue is that many MB don't have drivers available in the Linux kernel, makes reading temp control not possible yet.