macs-fan-control
macs-fan-control copied to clipboard
Automate switching fan presets
Automate switching profiles in Macs Fan Control, e.g. a CLI, TCP socket, or Automator etc
Just a bit more info on this, I recently picked up an Elgato Stream Deck, and I would like to program some buttons to switch between fan profiles on my MacPro.
Some more ideas from users:
- command line utility that can accept the preset name as an argument
- adding a Scripting Bridge dictionary to the app so that AppleScript can tell Macs Fan Control to do things, like change the active preset
- adding a custom URI handler, such as macsfancontrol://setactivepreset/PresetName/
- keyboard shortcut
AppleScript would be amazing. Thanks!
Upvote, I could really use some sort of scripted control. I'm writing a script that starts recording from my webcam and slows the fan so it doesn't interfere with my video, and I have all the pieces in place except being able to slow the fan from my script. Maybe you could make this a Pro feature.
Time-based presets switching could also be implemented by scripting support, if not built-in.
Given the audience MFC targets, this would also seem to provide some affordance as well to folks who want keyboard shortcuts. https://github.com/crystalidea/macs-fan-control/issues/348 (Having "both" features is nice yeah, but in mean time, most of us wouldn't have a issue wiring up Alfred/etc.)
Yes, a command line interface to set the preset would be greatly appreciated. Right now, I did an Automator script that clicks on the app menu, but cumbersome and distracting. A command line --set-preset full would be great.