macs-fan-control icon indicating copy to clipboard operation
macs-fan-control copied to clipboard

Automate switching fan presets

Open kleuter opened this issue 5 years ago • 7 comments

Automate switching profiles in Macs Fan Control, e.g. a CLI, TCP socket, or Automator etc

kleuter avatar Jul 26 '20 15:07 kleuter

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.

robbyt avatar Jul 26 '20 20:07 robbyt

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

kleuter avatar Oct 02 '20 09:10 kleuter

AppleScript would be amazing. Thanks!

zecanard avatar Oct 02 '20 16:10 zecanard

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.

ApopheniaPays avatar Oct 31 '20 23:10 ApopheniaPays

Time-based presets switching could also be implemented by scripting support, if not built-in.

zecanard avatar Dec 30 '20 20:12 zecanard

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.)

jeffbargmann avatar Mar 03 '21 23:03 jeffbargmann

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.

jeremychone avatar Oct 04 '21 21:10 jeremychone