Page 1 of 1

Script FAHClient on macOS

Posted: Tue Sep 02, 2025 6:00 am
by earthsaver
I was previously using lufah to script FAHClient to pause or resume folding around processor intensive operations like backups. It looks like a recent release deprecated this functionality and I see mention of a built-in fahctl command instead. However, I haven't been able to get this to work on my Mac.

Is there some additional setup I need to do for this level of shell scripting? If I run the command <fahctl pause>, I get this error:

Connection to remote host was lost.: ws://127.0.0.1:7396/api/websocket

Re: Script FAHClient on macOS

Posted: Tue Sep 02, 2025 7:21 am
by calxalot
The only thing deliberately removed from lufah was support for resource groups with fah 8.1.

If you’re running a bleeding edge build of fah, you temporarily need to remove fah-web-control if present. Or whatever is pointed to by option web-root.

Re: Script FAHClient on macOS

Posted: Tue Sep 02, 2025 7:24 am
by calxalot
fahctl only requires python 3.6+ and module websocket-client